[sane-devel] PLUSTEK OpticPro 12000T do not work under Kernel 2.6.4-52

Andreas info@linuxmaker.de
Tue, 15 Jun 2004 21:41:10 +0200


Hello,

I need your help. I have upgraded my system from SuSE 8.2 to 9.1. Now I need 
for my Plustek parallelport-scanner the package 
sane-backends-2004-06-14.tar.gz. I have installed it correctly, so I mean. 
But my scanner can't be dectected. xsane shows errors and scanimage -L tells 
me "No scanners were identified".

Shortly after the installation of the package and after making ./MakeModule.sh 
tells me dmesg

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
...
pt_drv: no version for "struct_module" found: kernel tainted.
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.43-3
....
MiscGetModelName - id = 15
pt_drv0: 9636T/12000T found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 30 seconds.
pt_drv0: Lamp untouched on driver unload.
Lamp-Timer started!
pt_drv : init done, 1 device(s) found

And the lamp at my scanner shutdown after 180s
But I can't use the scanner which xsane or scanimage -L.

After a reboot dmesg tells me only

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected

And lsmod shows me, pt_drv0 is no loaded. If I make now modprobe pt_drv
I can see:
Module                  Size  Used by
pt_drv              115796  0
...
parport_pc         35264  3
ppa                    11656  0
parport               37704  4 pt_drv,lp,parport_pc,ppa

And the lamp of the scanner is burning for 180s. But xsane and scanimage -L 
aren't possible.

Can somebody tell, what I have to do, so pt_drv is correctly loaded at the 
booting and the scanner can use the devices?
Perhaps I have forgotten something in the config-files. So, you can see the 
content of
/etc/sane.d/plustek_pp.conf:
...
#[direct]
#device 0x378

#
# leave the default values as specified in /etc/modules.conf
#
#option warmup    -1
#option lOffOnEnd -1
#option lampOff   -1

# model override switch, mostly for cosmetic changes, if the autodetection
# does not work or could not work correctly
#option mov 7

#
# example for accessing the scanner via libieee1284
#
#[direct]
#device parport0

#
# example for accessing the scanner via the kernel module
#
[kernel]
device /dev/pt_drv

option warmup    -1
option lOffOnEnd -1
option lampOff   -1
.... 

/etc/sane.d/dll.conf:
...
pint
plustek
plustek_pp
#pnm
...

and /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=0 mov=0 slowIO=1

I hope somebody can help me at the solution of that problem.

Thank you!

Andreas