kopia lustrzana https://gitlab.com/sane-project/backends
* doc/plustek/Plustek-PARPORT.changes: Update.
* backend/plustek_pp.c: Bumped build number. * backend/plustek-pp_ptdrv.c backend/plustek-pp_detec.c: Fixed bug, that prevents backend from working, when the device is another parport than parport0 - spotted by Christoph Steinbruchel.merge-requests/1/head
rodzic
938a9719ce
commit
13babf9dab
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,11 @@
|
|||
2006-02-16 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
|
||||
* doc/plustek/Plustek-PARPORT.changes: Update.
|
||||
* backend/plustek_pp.c: Bumped build number.
|
||||
* backend/plustek-pp_ptdrv.c backend/plustek-pp_detec.c:
|
||||
Fixed bug, that prevents backend from working, when the device
|
||||
is another parport than parport0 - spotted by Christoph Steinbruchel.
|
||||
|
||||
2006-02-14 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
|
||||
* doc/u12/U12.changes: Update.
|
||||
|
@ -5,8 +13,6 @@
|
|||
* backend/u12-hw.c: SoftwareReset is now disabled in
|
||||
cancelSequence when the device is a Genius scanner.
|
||||
|
||||
Fixed CanoScan N1220U settings.
|
||||
|
||||
2006-02-13 Stéphane Voltz <stefdev@modulonet.fr>
|
||||
|
||||
* backend/genesys_gl646.c: disabled power saving for gl646.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* based on sources acquired from Plustek Inc.
|
||||
* Copyright (C) 1998 Plustek Inc.
|
||||
* Copyright (C) 2000-2004 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
* Copyright (C) 2000-2006 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
* also based on the work done by Rick Bronson
|
||||
*
|
||||
* History:
|
||||
|
@ -23,7 +23,7 @@
|
|||
* - 0.40 - no changes
|
||||
* - 0.41 - no changes
|
||||
* - 0.42 - changed include names
|
||||
* - 0.43 - no changes
|
||||
* - 0.43 - cleanup
|
||||
* .
|
||||
* <hr>
|
||||
* This file is part of the SANE package.
|
||||
|
@ -155,13 +155,13 @@ static int detectScannerConnection( pScanData ps )
|
|||
data, status, ps->IO.portBase );
|
||||
|
||||
if( data != status ) {
|
||||
|
||||
_ASSERT( ps->ReadWriteTest );
|
||||
|
||||
/*
|
||||
* here we try to detect the operation speed of our
|
||||
* parallel port
|
||||
* if we have tested all the stuff and had no success, retval
|
||||
* will contain the error-code
|
||||
* here we try to detect the operation speed of our parallel
|
||||
* port if we have tested all the stuff and had no success,
|
||||
* retval will contain the error-code
|
||||
*/
|
||||
for( ps->IO.delay = 0; ps->IO.delay < 5; ps->IO.delay++ ) {
|
||||
|
||||
|
@ -175,9 +175,7 @@ static int detectScannerConnection( pScanData ps )
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* work on the result
|
||||
*/
|
||||
/* work on the result */
|
||||
if ( _OK == retval ) {
|
||||
#ifdef __KERNEL__
|
||||
ps->sCaps.wIOBase = ps->IO.pbSppDataPort;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* based on sources acquired from Plustek Inc.
|
||||
* Copyright (C) 1998 Plustek Inc.
|
||||
* Copyright (C) 2000-2004 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
* Copyright (C) 2000-2006 Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
* also based on the work done by Rick Bronson
|
||||
*
|
||||
* History:
|
||||
|
@ -694,6 +694,8 @@ static int ptdrvOpenDevice( pScanData ps )
|
|||
struct pardevice *pd;
|
||||
struct parport *pp;
|
||||
ProcDirDef procDir;
|
||||
#else
|
||||
int pd;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -701,10 +703,10 @@ static int ptdrvOpenDevice( pScanData ps )
|
|||
*/
|
||||
#ifdef __KERNEL__
|
||||
flags = ps->flags;
|
||||
pd = ps->pardev;
|
||||
pp = ps->pp;
|
||||
procDir = ps->procDir;
|
||||
#endif
|
||||
pd = ps->pardev;
|
||||
iobase = ps->sCaps.wIOBase;
|
||||
asic = ps->sCaps.AsicID;
|
||||
lastStat = ps->bLastLampStatus;
|
||||
|
@ -722,10 +724,10 @@ static int ptdrvOpenDevice( pScanData ps )
|
|||
*/
|
||||
#ifdef __KERNEL__
|
||||
ps->flags = flags;
|
||||
ps->pardev = pd;
|
||||
ps->pp = pp;
|
||||
ps->procDir = procDir;
|
||||
#endif
|
||||
ps->pardev = pd;
|
||||
ps->bLastLampStatus = lastStat;
|
||||
ps->IO.lastPortMode = lastMode;
|
||||
ps->devno = devno;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Original code taken from sane-0.71<br>
|
||||
* Copyright (C) 1997 Hypercore Software Design, Ltd.<br>
|
||||
* Also based on the work done by Rick Bronson<br>
|
||||
* Copyright (C) 2000-2005 Gerhard Jaeger <gerhard@gjaeger.de><br>
|
||||
* Copyright (C) 2000-2006 Gerhard Jaeger <gerhard@gjaeger.de><br>
|
||||
*
|
||||
* History:
|
||||
* - 0.01 - initial version, imported from the kernel-module 0.42-11
|
||||
|
@ -83,7 +83,7 @@
|
|||
#include "../include/sane/sanei.h"
|
||||
#include "../include/sane/saneopts.h"
|
||||
|
||||
#define BACKEND_VERSION "0.43-9"
|
||||
#define BACKEND_VERSION "0.43-10"
|
||||
#define BACKEND_NAME plustek_pp
|
||||
#include "../include/sane/sanei_backend.h"
|
||||
#include "../include/sane/sanei_config.h"
|
||||
|
|
|
@ -155,3 +155,8 @@ Version 0.43-8 08/10/2005
|
|||
Version 0.43-9 11/14/2005
|
||||
1.0 Fixed sizeof(long) issue for 64bit platforms, see
|
||||
bug #302195
|
||||
|
||||
Version 0.43-10 02/16/2006
|
||||
1.0 Fixed bug, that prevents backend from working, when the
|
||||
device is connected to parport1 or higher, parport0 works.
|
||||
Bug spotted by Christoph Steinbruchel.
|
||||
|
|
Ładowanie…
Reference in New Issue