plustek@linuxhacker.org
plustek@linuxhacker.org
On Sat, 1 Mar 2003 04:31 pm, Jaeger, Gerhard wrote:
>Hi,
>at least the port settings should be changed in BIOS,
>try plain SPP nothing else or EPP without any ECP stuff...
>If there's any printer device attached to the scanner - remove it
>if lp.o is loaded - unload it
>Hope this helps - greetins to the land "down-under" ;-)
> Gerhard
I've set my BIOS to EPP now. It turns out my scanner cable wasn't
up to snuff, so I've borrowed one, and have gotten a bit further.
Now 'make load' works, and all indications (eg. lsmod) are that the
pt drv has loaded, but "scanimage -L" is saying that no scanners were
identified (nor does sane-find-scanners, but I understand it doesn't
find parallel scanners anyway). : (
I inserted the lines that the INSTALL file advised me to into
modules.conf:
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=0
slowIO=1
lp.o was loaded and I "rmmod"ed it, but it doesn't seem to have made
a difference.
I'm at a loss as to what do next. As far as I can tell, everything
is working - I think I just need to tell Linux where the scanner is,
but I'm not sure how to do that.
Any advice?
Thanx.
>On Donnerstag, 27. Februar 2003 23:26, Revenant wrote:
>> G'day all.
>>
>> Can anyone please help? I'm trying to get a Plustek 9630P scanner
>> working under Mandrake 9.0. I've downloaded and installed the
>> Plustek backend. I was able to "make all" and "make install" okay
>>
>> However, when I try to "make load", I get the following error:
>>
>> /sbin/modprobe pt drv || exit 1
>> /lib/modules/2.4.19-16mdk/misc/pt drv.o: init module: Success
>> Hint: insmod errors can be caused by incorrect module parameters,
>> including
>> invalid IO or IRQ parameters.
>> You may find more information in syslog or the output from
>> dmesg modprobe: insmod /lib/modules/2.4.19-16mdk/misc/pt drv.o
>> failed modprobe: insmod pt drv failed
>> make: *** [load] Error 1
>>
>> Using dmesg nets me the following info:
>>
>> pt drv: init module()
>> pt drv : driver version 0.42-10
>> ProcFsInitialize()
>> ptdrvInit(0)
>> Init settings done
>> ScanData = 0xd1b80000
>> Using fast I/O
>> Requested port at 0x378
>> 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()
>> MotorInitialize()
>> Dataport = 0x0378
>> Ctrlport = 0x037a
>> Test 0x55
>> Test 0xAA
>> Compare data=0x78 and status=0x78, port=0x378
>> detectScannerConnection() returns -9021.
>> ************* ASIC9800x *************
>> IOInitialize()
>> ASIC = 0x77
>> Unknown ASIC-ID
>> *** DETECTION DONE, result: -9020 ***
>> ptdrvClose()
>> MiscRestorePort()
>> 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)
>> ---------------------------------------------
>> *********************************************
>> pt drv: init module()
>> devfs mk dir(scanner): using old entry in dir: c14295c0 ""
>> pt drv : driver version 0.42-10
>> ProcFsInitialize()
>> ptdrvInit(0)
>> Init settings done
>> ScanData = 0xd1b80000
>> Using fast I/O
>> Requested port at 0x378
>> 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()
>> MotorInitialize()
>> Dataport = 0x0378
>> Ctrlport = 0x037a
>> Test 0x55
>> Test 0xAA
>> Compare data=0x78 and status=0x78, port=0x378
>> detectScannerConnection() returns -9021.
>> ************* ASIC9800x *************
>> IOInitialize()
>> ASIC = 0x77
>> Unknown ASIC-ID
>> *** DETECTION DONE, result: -9020 ***
>> ptdrvClose()
>> MiscRestorePort()
>> 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)
>> ---------------------------------------------
>>
>> If anyone can help it would be greatly appreciated!
>>
>> Thanx.
--
--------------- Revenant [revenant@bigpond.net.au] ------------------
The reasonable man adapts himself to the world; the
unreasonable man persists in trying to adapt the world to
himself. Therefore all progress depends on the unreasonable
man. -- George Bernard Shaw
plustek@linuxhacker.org