plustek: Possibly strange Plustek model not working with sane-1.0.7 beta1


Previous by date: 23 Jan 2002 17:32:26 -0000 Re: OP4800P Color Problem, Timo Kabsch
Next by date: 23 Jan 2002 17:32:26 -0000 Re: sane -plustek backend usb, Jaeger, Gerhard
Previous in thread:
Next in thread: 23 Jan 2002 17:32:26 -0000 Re: Possibly strange Plustek model not working with sane-1.0.7 beta1, Jaeger, Gerhard

Subject: Possibly strange Plustek model not working with sane-1.0.7 beta1
From: Aleksander Adamowski ####@####.####
Date: 23 Jan 2002 17:32:26 -0000
Message-Id: <3C4EF2EC.2020008@altkom.com.pl>

Hi,
I think I've got something that might be interesting/relevant to the 
cause of creating robust Plustek USB drivers:
I've got a Plustek OpticPro UT12 (at least that's what the label 
says...), but it seems to be different from the models that Kev Green 
has put his hands on...


First of all, my model has a product id==0x0013, not 0x0017 ! See 
attached file, "proc_bus_usb_devices" to verify that (It's a cat of my 
/proc/bus/usb/devices).

Scanner's serial number (printed on the label at the back, below the 
barcode) is 52F707043539, it has been bought in Poland. Another sticker 
at the side has "PL20-08-2202" printed on it.

I've corrected the prod id in my plustek.conf (see attached file, 
plustek.conf_excerpt) and in options to the scanner.o kernel module (by 
adding "options scanner vendor=0x7b3 product=0x13" to /etc/modules.conf).


Second, it seems that with drivers included in sane 1.0.7 beta1 the 
scanner doesn't work properly.

sane_find_scanner found the scanner correctly, but scanimage (and kooka, 
and other sane clients) have a problem:

They succeed in connecting to the scanner, the lamp turns on, but motors 
stay still. The scanning process freezes, and after a while I start 
getting messages about USB timeouts:
usb_control/bulk_msg: timeout

Scanimage then has to be terminated. After sending a TERM signal to it, 
I must wait a significant amount of time before the scanimage program 
exits. Sometimes I even have to use KILL signal.

After this, there's something wrong with USB, cat /proc/bus/usb/devices 
shows only devices that precede PLUSTEK on the list, then cat freezes 
and I start getting USB timeout messages again and have to kill cat.

Usually, physically plugging the USB scanner out then back in restores 
proper operation (that is, I can cat whole /proc/bus/usb to the end).

I'm attaching a few files (I hope attachments are acceptable on this 
list...) that will give additional info about my problem:

plustek.conf_excerpt        - my plustek.conf file, stripped of comments.
proc_bus_usb_devices     - output from "cat /proc/bus/usb/devices" 
before it gets jammed with scanimage
scanimage_-T.bz2 - bzipped output from "scanimage -T > scanimage_-T 
2>&1". I've set SANE_DEBUG_PLUSTEK=12  and SANE_DEBUG_DLL=12 as Kev 
Green advised in the Plustek-USB.txt document.
strace_scanimage_-T.bz2    - bzipped output from "scanimage -T > 
strace_scanimage_-T".
var_log_messages        - messages from my /var/log/messages that I 
think are related to the problem.

-- 
Pozdrawiam,
    Olo
        GG#: 274614
        ICQ UIN: 19780575 
	http://olo.office.altkom.com.pl


[parport]
device /dev/pt_drv

warmup    -1
lOffOnEnd -1
lampOff   -1

[usb] 0x07B3 0x0013

option lampOff 240

option warmup 15

option lOffOnEnd 1

device /dev/usb/scanner0

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 11/900 us ( 1%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=07b3 ProdID=0013 Rev= 1.00
S:  Manufacturer=PLUSTEK INC
S:  Product=USB SCANNER
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbscanner
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl= 16ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl= 10ms

[Content type application/octet-stream not shown. Download]

[Content type application/octet-stream not shown. Download]

Jan 23 17:18:18 tuxia kernel: usb_control/bulk_msg: timeout
Jan 23 17:18:18 tuxia kernel: scanner.c: write_scanner: NAK received.
Jan 23 17:18:18 tuxia kernel: usb_control/bulk_msg: timeout
Jan 23 17:18:31 tuxia last message repeated 3 times
Jan 23 17:19:29 tuxia kernel: usb.c: USB disconnect on device 4
Jan 23 17:19:29 tuxia /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug HOSTNAME=tuxia DEVICE=/proc/bus/usb/001/004 INTERFACE=255/0/255 ACTION=remove DEBUG=kernel MACHTYPE=i586-mandrake-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb TYPE=0/0/0 SHLVL=1 SHELL=/bin/bash HOSTTYPE=i586 OSTYPE=linux-gnu HOME=/ TERM=dumb PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=7b3/13/100 _=/usr/bin/env)
Jan 23 17:19:29 tuxia /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Jan 23 17:20:01 tuxia kernel: hub.c: USB new device connect on bus1/1, assigned device number 5
Jan 23 17:20:01 tuxia kernel: Manufacturer: PLUSTEK INC
Jan 23 17:20:01 tuxia kernel: Product: USB SCANNER
Jan 23 17:20:01 tuxia kernel: scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 7b3:13
Jan 23 17:20:01 tuxia /sbin/hotplug: arguments (usb) env (PWD=/etc/hotplug HOSTNAME=tuxia DEVICE=/proc/bus/usb/001/005 INTERFACE=255/0/255 ACTION=add DEBUG=kernel MACHTYPE=i586-mandrake-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb TYPE=0/0/0 SHLVL=1 SHELL=/bin/bash HOSTTYPE=i586 OSTYPE=linux-gnu HOME=/ TERM=dumb PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=7b3/13/100 _=/usr/bin/env)
Jan 23 17:20:01 tuxia /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Jan 23 17:20:02 tuxia /etc/hotplug/usb.agent: Modprobe and setup scanner for USB product 7b3/13/100

Previous by date: 23 Jan 2002 17:32:26 -0000 Re: OP4800P Color Problem, Timo Kabsch
Next by date: 23 Jan 2002 17:32:26 -0000 Re: sane -plustek backend usb, Jaeger, Gerhard
Previous in thread:
Next in thread: 23 Jan 2002 17:32:26 -0000 Re: Possibly strange Plustek model not working with sane-1.0.7 beta1, Jaeger, Gerhard


Powered by ezmlm-browse 0.20.