[sane-devel] plustek [I GIVE UP!]

David McGlone dmcglone at ameritech.net
Sun Dec 23 19:31:19 GMT 2001


I give up, obviously sane does not work like it is supposed to.

I load the driver with make load, and scanner light comes on, I unload it 
with make unload, I get this:

[root at buddy plustek_driver]# make unload
/sbin/modprobe -r pt_drv || exit 1
rm -f /dev/pt_drv*

looks fine, no problem. Now I load it with make load and I get this:

[root at buddy plustek_driver]# make load
/sbin/modprobe pt_drv || exit 1
/lib/modules/2.4.7-10/misc/pt_drv.o: init_module: Success
Hint: insmod errors can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters
/lib/modules/2.4.7-10/misc/pt_drv.o: insmod 
/lib/modules/2.4.7-10/misc/pt_drv.o failed
/lib/modules/2.4.7-10/misc/pt_drv.o: insmod pt_drv failed
make: *** [load] Error 1

ok, it says on the 2nd line "Success" but appearantly NOT! 
and if the IO or IRQ's are wrong, how am I supposed to check after all the 
system doesn't reconized the scanner? 

now I make unload again and do "insmod pt_drv" and I get this:

[root at buddy plustek_driver]# insmod pt_drv
Using /lib/modules/2.4.7-10/misc/pt_drv.o
/lib/modules/2.4.7-10/misc/pt_drv.o: init_module: Success
Hint: insmod errors can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters

looks like a success! but I do rmmod pt_drv and I get this:

[root at buddy plustek_driver]# rmmod pt_drv
rmmod: module pt_drv is not loaded

after all this loading and unloading, the scanner light is STILL ON no matter 
if the driver is loaded or not!

here is my /etc/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=1 mov=4 slowIO=0 
forceMode=2

here is my /usr/local/etc/sane.d/dll.conf:

# enable the next line if you want to allow access through the network:
net
plustek

here is my /usr/local/etc/sane.d/plustek.conf:

# Plustek-SANE Backend configuration file
#
#
#
# for multiple devices use
# /dev/pt_drv0
# /dev/pt_drv1
# /dev/pt_drv2
#
# usb 0x07B3-0x0017
# /dev/usbscanner
#
parport
/dev/pt_drv

even rmmod parport come up as this:

[root at buddy sane.d]# rmmod parport
parport: Device or resource busy

this is crazy, can anyone convince me not to give up? if it's supposed to 
work, why then isn't it?

David M.
AIM: dmcglone27


On Sunday 23 December 2001 10:50 am, you wrote:
 David McGlone, Sonntag, 23. Dezember 2001 16:11:
> ...
>
> > now scanner seems to be working, except xsane does not find it!
> > so I resort to "sane-find-scanner" and still nothing. so I try scanimage
> > -L and still nothing.
> >
> > can I please get some help here, I have installed and uninstalled and
> > manually removed sane from all dirrectories and installed even more on
> > both SuSE 7.1 and RH 7.2 with SuSE running the newest 2.4.16 kernel and
> > RH running the 2.4.7-10 kernel.
> >
> > overall problem, I can get the scanner light on, but nothing else.
>
> ...
> Did you enable the plustek backend in /usr/local/etc/sane.d/dll.conf, i.e.
> is there a line
>
> plustek
>
> in this file?
>
> Michael
>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel



More information about the sane-devel mailing list