plustek: Don't know how to build te module


Previous by date: 25 Apr 2005 19:56:10 +0100 Re: Don't know how to build te module, Gerhard Jaeger
Next by date: 25 Apr 2005 19:56:10 +0100 building the module... again..., Maciej Brosz
Previous in thread: 25 Apr 2005 19:56:10 +0100 Re: Don't know how to build te module, Gerhard Jaeger
Next in thread:

Subject: Re: Don't know how to build te module
From: Georg E Schneider ####@####.####
Date: 25 Apr 2005 19:56:10 +0100
Message-Id: <426D2CB5.6080602@georgs.org>

Gerhard Jaeger schrieb:

> ...
>
># define _INL	inline
>by
># define _INL
>
>And try again, tell us please the result!
>Thanx
>Gerhard
>
>  
>
So done compiles clean, but  see the demsg:

snip
--
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
pt_drv : driver version 0.43-5
pt_drv : no device(s) detected, (-9020)
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-5
ProcFsInitialize()
ptdrvInit(0)
Init settings done
ScanData = 0xde198000
Using slow I/O
Requested port at 0x378
misc_attach
Requested port (0x378) found
Port mode reported: (0x0043)
Port for device 0 registered
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 mode.
Port is set to PS2 bidirectional mode.
Starting Scanner-Autodetection
************ DETECTP48xx ************
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
P48xxInitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
* using readfunction >fnBiDirRead<
MotorInitialize()
Dataport = 0x0378
Ctrlport = 0x037a
ResetPort()
Test 0x55
Test 0xAA
Compare data=0x78 and status=0x8, port=0x378
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
detectScannerConnection() returns -9020.
************* ASIC9800x *************
ResetPort()
IOInitialize()
* using readfunction >fnBiDirRead<
ASIC = 0xF0
Unknown ASIC-ID
*** DETECTION DONE, result: -9020 ***
ptdrvClose()
MiscRestorePort()
Releasing parport
ptdrvShutdown()
cleanup device 0
Port unregistered
misc_detach
ProcFsShutdown()
pt_drv: proc del 'info' root='pt_drv'
pt_drv: proc del 'pt_drv' root='/proc'
pt_drv : no device(s) detected, (-9020)
---------------------------------------------
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-5
ProcFsInitialize()
ptdrvInit(0)
Init settings done
ScanData = 0xde830000
Using slow I/O
Requested port at 0x378
misc_attach
Requested port (0x378) found
Port mode reported: (0x0043)
Port for device 0 registered
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 mode.
Port is set to PS2 bidirectional mode.
Starting Scanner-Autodetection
************ DETECTP48xx ************
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
P48xxInitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
* using readfunction >fnBiDirRead<
MotorInitialize()
Dataport = 0x0378
Ctrlport = 0x037a
ResetPort()
Test 0x55
Test 0xAA
Compare data=0x78 and status=0x8, port=0x378
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
p48xxReadWriteTest()
Found a 96001 ASIC at Reg 0x13
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
p48xxCheck4800Memory()
Error in memory test at pos 256 (0 != 255)
detectScannerConnection() returns -9020.
************* ASIC9800x *************
ResetPort()
IOInitialize()
* using readfunction >fnBiDirRead<
ASIC = 0xF0
Unknown ASIC-ID
*** DETECTION DONE, result: -9020 ***
ptdrvClose()
MiscRestorePort()
Releasing parport
ptdrvShutdown()
cleanup device 0
Port unregistered
misc_detach
ProcFsShutdown()
pt_drv: proc del 'info' root='pt_drv'
pt_drv: proc del 'pt_drv' root='/proc'
pt_drv : no device(s) detected, (-9020)
---------------------------------------------

end of debug

pt_drv exists:
ls -al /dev/pt_drv
crw-r--r--  1 root root 40, 0 25. Apr 2005  /dev/pt_drv

I tried with different pp-bios-modi it was always the same.
Scanner is a primax 4800 direct (only parallel-port)

if you want to know more about the scanner see at the picture:
http://www.georgs.org/00029.jpg

-- 

pub  1024D/7A47E091 2005-02-16 Georg E Schneider ####@####.####
Schl.-Fingerabdruck = 2C44 D66F B122 D141 1A35  96E7 2FF3 CBA8 7A47 E091




Previous by date: 25 Apr 2005 19:56:10 +0100 Re: Don't know how to build te module, Gerhard Jaeger
Next by date: 25 Apr 2005 19:56:10 +0100 building the module... again..., Maciej Brosz
Previous in thread: 25 Apr 2005 19:56:10 +0100 Re: Don't know how to build te module, Gerhard Jaeger
Next in thread:


Powered by ezmlm-browse 0.20.