[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Problems load module w. SuSE7.3 @ Kernel 2.4.16
From: ####@####.#### (Christof Bodner) Date: 18 Apr 2002 20:21:03 -0000 Message-Id: <16yI2g-0qiRJQC@fwd05.sul.t-online.com> Hello! I own a Plustek OpticPro4800P and scanned with my elder SuSE system (7.2, IIRC) Now I want to plug it at my newer system, SuSE7.3 with Kernel 2.4.16-4GB (the one upgraded from the SuSE homepage) Compilation of the driver 0.41-6 gave warnings concerning deprecated linux/malloc.h. As the loading of the module failed, I changed the end of h/plustek_sysdep.h to #if LINUX_VERSION_CODE < VERSION_CODE(2,4,16) # include "linux/malloc.h" # define _GET_TIME get_fast_time #else # include "linux/slab.h" # define _GET_TIME do_gettimeofday #endif Afterwards, the compilation gave no warnings, but modprobe failed, too. The ouput of 'insmod -vs pt_drv.o' is ---snip--- pt_drv: init_module() pt_drv : driver version 0.41-6 ProcFsInitialize() ptdrvInit(0) Init settings done ScanData = 0xc69e4000 Using fast I/O Requested port at 0x378 Requested port (0x378) found Port mode reported: (0x0047) Port for device 0 registered ptdrvOpen(port=0x378) Try to claim the parport parport-modi: SPP PS/2 EPP EPP(ECP) PS/2(ECP) Using EPP-mode Starting Scanner-Autodetection ************ DETECTP48xx ************ ModelSet4800() modelInitPageSettings() A4 set ModelSet4800() done. P48xxInitAsic() DacInitialize() ImageInitialize() IOFuncInitialize() IOInitialize() MotorInitialize() Dataport = 0x0378 Ctrlport = 0x037a Test 0x55 Test 0xAA Compare data=0x7f and status=0xf, port=0x378 p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... p48xxReadWriteTest() Found a 96003 ASIC at Reg 0x13 ModelSet4830() modelInitPageSettings() A4 set ModelSet4830() done. p48xxDoTest() Bank 0 overwritten found 0 bytes of memory No memory ! No scanner... detectScannerConnection() returns -9020. ************* ASIC9800x ************* IOInitialize() ASIC = 0xF0 Unknown ASIC-ID *** DETECTION DONE, result: -9020 *** ptdrvClose() MiscRestorePort() - no need to restore portmode ! Releasing parport ptdrvShutdown() cleanup device 0 Port unregistered ProcFsShutdown() pt_drv: proc del 'info' root='pt_drv' pt_drv: proc del 'pt_drv' root='/proc' pt_drv : no device(s) detected, (-9020) --------------------------------------------- ---snip--- So what's wrong (I assumed that the driver does not recognize the scanner model, so I changed the options to mov=6)? Oh, my /etc/modules.conf ---snip--- alias char-major-40 pt_drv pre-install pt_drv modprobe -k parport options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=6 slowIO=0 forceMode=0 ---snip--- TIA,Ch. -- --------------------------------------------------------------------- Quote of the day: "The identical is equal to itself, since it is different." -- Franco Spisani --------------------------------------------------------------------- Christof Bodner ####@####.#### Linux - Life is too short for reboots --------------------------------------------------------------------- email: ####@####.#### Tel.: +43-676-7215383 SMS.: ####@####.#### ICQ: 22085157 --------------------------------------------------------------------- PLEASE USE PGP! Public Key ID 0x8A265334 available at http://pgp.mit.edu/ --------------------------------------------------------------------- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems load module w. SuSE7.3 @ Kernel 2.4.16
From: "Jaeger, Gerhard" ####@####.#### Date: 2 May 2002 06:06:40 -0000 Message-Id: <1739aq-22NccCC@fmrl07.sul.t-online.com> Hi Christof, the scanner (the ASIC of it) has been detected correctly! The problem is the memory test, that checks the data-transfers in EPP mode. This does not work! You may paly around with the BIOS settings for the parport (set it to SPP or EPP) and/or play around with slowIO=1 parameter... Hope this helps Gerhard On Thursday, 18. April 2002 21:52, Christof Bodner wrote: [SNIP] > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory > No memory ! No scanner... > p48xxReadWriteTest() > Found a 96003 ASIC at Reg 0x13 > ModelSet4830() > modelInitPageSettings() > A4 set > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory > No memory ! No scanner... > p48xxReadWriteTest() > Found a 96003 ASIC at Reg 0x13 > ModelSet4830() > modelInitPageSettings() > A4 set > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory > No memory ! No scanner... > p48xxReadWriteTest() > Found a 96003 ASIC at Reg 0x13 > ModelSet4830() > modelInitPageSettings() > A4 set > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory > No memory ! No scanner... > p48xxReadWriteTest() > Found a 96003 ASIC at Reg 0x13 > ModelSet4830() > modelInitPageSettings() > A4 set > ModelSet4830() done. > p48xxDoTest() > Bank 0 overwritten > found 0 bytes of memory > No memory ! No scanner... > detectScannerConnection() returns -9020. [SNAP] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Problems load module w. SuSE7.3 @ Kernel 2.4.16
From: Alexander Gran ####@####.#### Date: 2 May 2002 16:18:47 -0000 Message-Id: <200205021816.08604@zodiac.zodiac.dnsalias.org> Am Donnerstag, 2. Mai 2002 07:57 schrieb Jaeger, Gerhard: > the scanner (the ASIC of it) has been detected correctly! > The problem is the memory test, that checks the data-transfers > in EPP mode. This does not work! You may paly around with the > BIOS settings for the parport (set it to SPP or EPP) and/or play around > with slowIO=1 parameter... Ich have the same Problem here. My parport [1] must be set to SPP mode (vie forceMode=1), or the memory won't be detected, sometimes the driver also detects an 600 (I have a 9630P). Nevertheless, ca. every 2. image is corrupted.. Alex [1] parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP] parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) parport0: cpp_daisy: aa5500ff(38) parport0: assign_addrs: aa5500ff(38) parport_pc: Via 686A parallel port: io=0x378 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |