plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Having trouble getting Plustek Opticpro 9630P scanner working under Mandrake 9.0
From: Revenant
Date: Mon, 3 Mar 2003 20:21:02 +0000

Okay, that got me a little bit further (or back to the same point - 
I'm not sure since I tried something new this time):

I did the following as root:

scanimage --device-name=plustek:/dev/pt drv -T

And I got the following reply:

scanimage: scanning image of size 248x150 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 744 bytes...   FAIL Error: Error 
during device I/O


"scanimage --device-name=plustek:/dev/scanner/pt drv0 -T" has the same 
effect.

The scanner made a noise too, so I seem to be at least reaching it 
now.  But it doesn't seem to be responding very well. : /

Still, one step closer, I guess.

Any thoughts?

Thank you.

On Sun, 2 Mar 2003 11:42 am, Craig Cooper wrote:
>Hi Rev,
>
>Another Aussie here. I have successfully gotten my Canoscan N670U up
> and running under RedHat 7.2, SuSE 8.0 Pro and Mandrake 9.0. I'm
> not saying it was very easy, but Gerhard certainly helped me. The
> trick is that installs by default do not replace existing files at
> all, so complete and utter removal is required (from /etc/sane.d
> and /usr/local/etc/sane.d etc etc. Below is a quick list of to-dos
> that may help in your success.
>
>Download latest sane-backends and plustek module.
>
>Do all steps as ROOT!
>
>Completely remove all previously installed versions of sane-backends
> and sane-frontends, xsane, scanimage etc.
>
>when re-compiling, use ./configure --prefix=/usr --sysconfdir=/etc
>
>remove any modules you will not be using, especially ones that might
>recognise your scanner. Also remove any reference to your scanner
> from dll.conf.
>
>when loading your scanner module, use insmod scanner vendor=XXXXX
>product=XXXXX format, inserting your particulars for your scanner
> where appropriate.
>
>If you do all of this as root, and do your scanimage -L, you should
> be up and running. If you get success, try xsane and if all that
> works, you should be up and running (as root anyways, as your
> general login user, it becomes murky, and I cannot be of much help
> there being a fairly newbie anyways).
>
>The important things are being root user, configuring with set
> parameters for prefix and sysconfdir, removing possibly conflicting
> modules and .conf files (this will speed up your scanner search
> too). The most important item is loading the module with vendor and
> product info. This is the key that brings it all together.
>
>Hope this gets you going, it certainly helped me with my USB
> scanner. Don't forget to edit your plustek.conf file to reflect
> your scanners settings etc. Somone should be able to supply you
> with a working plustek.conf file via the mailing list, so use this
> option if you are absolutely stuck.
>
>Good luck friend!
>
>Craig Cooper
>
>
>----- Original Message -----
From: "Revenant" <revenant@bigpond.net.au>
>To: <plustek@linuxhacker.org>
>Sent: Monday, March 03, 2003 8:05 AM
>Subject: Re: Having trouble getting Plustek Opticpro 9630P scanner
> working under Mandrake 9.0
>
>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