[sane-devel] Scanner not working on Lenovo N581 laptop

Thorsten W. Schmidt thorsten at tws-home.de
Tue Jun 4 11:27:29 UTC 2013


Hi!

It is not possible to use my USB scanner on my new laptop anymore. I have a Lenovo N581 and tried all USB 2.0 and USB 3.0 ports with different USB cables. I also put the device on the laptop-mode blacklist so, that no powersave mode is used for the scanner.

In YaST2 (openSUSE) I tried to setup the scanner. The detection sais that plustek does not recognize a scanner. The second detected entry is the driver "not configured" which shows my scanner. I can then configure it and it sais that the plustek
driver is configured for usage. But in the end no scanning is possible with any scan program.

Reproducible: Always

Steps to Reproduce:
1. Plug USB Canon CanoScanLiDE 20 to the laptop
2. Configure scanner using YaST
3. Start scanimage, xsane or any other scan program
Actual Results:  
Every tool says that there is no scanner

Expected Results:  
Scanning should work as before.

Every information was collected as root

uname -a
=========
Linux tuvok.tws-home.de 3.7.10-1.4-desktop #1 SMP PREEMPT Fri Apr 19 12:06:34
UTC 2013 (8ef74f8) x86_64 x86_64 x86_64 GNU/Linux

lsusb
=====
Bus 001 Device 005: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 019: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card
Reader Controller
Bus 002 Device 003: ID 04f2:b2e2 Chicony Electronics Co., Ltd 

hwinfo --scanner
================
19: USB 00.0: 10c00 Scanner                                     
  [Created at usb.122]
  Unique ID: CiZ2.7cEn5TM7z0A
  Parent ID: uIhY.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0
  SysFS BusID: 3-3:1.0
  Hardware Class: scanner
  Model: "Canon CanoScan N670U/N676U/LiDE 20"
  Hotplug: USB
  Vendor: usb 0x04a9 "Canon"
  Device: usb 0x220d "CanoScan N670U/N676U/LiDE 20"
  Revision: "1.00"
  Speed: 12 Mbps
  Module Alias: "usb:v04A9p220Dd0100dcFFdsc00dpFFicFFisc00ipFFin00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #18 (Hub)

sane-find-scanner
=================

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan]) at
libusb:003:019
found USB scanner (vendor=0x0bda [Generic], product=0x0129 [USB2.0-CRW]) at
libusb:001:007
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

scanimage -L (called for the fist time after connecting the scanner)
====================================================================
device `plustek:libusb:003:020' is a Canon CanoScan N670U/N676U/LiDE20 flatbed
scanner
(then it takes about 2 minutes until the program returns to the command line)

scanimage -L (called for the second+ time after connecting the scanner)
=======================================================================
(it takes about 40 seconds until an output is written to the console)
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

/var/log/messages
=================
2013-05-11T20:03:43.285338+02:00 tuvok kernel: [158418.735384] usb 3-2: USB
disconnect, device number 21
2013-05-11T20:03:46.298343+02:00 tuvok kernel: [158421.741961] usb 3-2: new
full-speed USB device number 22 using xhci_hcd
2013-05-11T20:03:46.310346+02:00 tuvok kernel: [158421.754069] usb 3-2: New USB
device found, idVendor=04a9, idProduct=220d
2013-05-11T20:03:46.310363+02:00 tuvok kernel: [158421.754073] usb 3-2: New USB
device strings: Mfr=1, Product=2, SerialNumber=0
2013-05-11T20:03:46.310365+02:00 tuvok kernel: [158421.754076] usb 3-2:
Product: CanoScan
2013-05-11T20:03:46.310366+02:00 tuvok kernel: [158421.754078] usb 3-2:
Manufacturer: Canon
2013-05-11T20:03:46.372186+02:00 tuvok laptop-mode: Laptop mode
2013-05-11T20:03:46.373634+02:00 tuvok laptop-mode: enabled, not active
2013-05-11T20:03:46.396935+02:00 tuvok laptop-mode: Laptop mode
2013-05-11T20:03:46.398593+02:00 tuvok laptop-mode: enabled, not active

scanimage output
================
Another information I have is this:
1. Plug in the USB scanner
2. Start 'scanimage -vvvvvv -x 100 -y 100 > out.pnm
This gives the error output:
> scanimage: value for --x is: 100 
> scanimage: value for --y is: 100 
> scanimage: sane_start: Error during device I/O
> Closing device
> Calling sane_exit
> scanimage: finished


debug output for a newer build compiled from the git source
============================================================
I built the latest git version (1.0.24, from 20130514) with libusb 0.1 and disabled libusb 1.0. ldd showed that the lib libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 is being used. I also used libust 1.0 but this changed anything (logfile entries are identical).

I get this
thorsten at tuvok:/sys/bus/usb/devices/3-2> dir
insgesamt 0
drwxr-xr-x 6 root root     0 14. Mai 20:48 3-2:1.0
-rw-r--r-- 1 root root  4096 14. Mai 20:48 authorized
-rw-r--r-- 1 root root  4096 14. Mai 20:48 avoid_reset_quirk
-r--r--r-- 1 root root  4096 14. Mai 20:48 bcdDevice
-rw-r--r-- 1 root root  4096 14. Mai 20:48 bConfigurationValue
-r--r--r-- 1 root root  4096 14. Mai 20:48 bDeviceClass
-r--r--r-- 1 root root  4096 14. Mai 20:48 bDeviceProtocol
-r--r--r-- 1 root root  4096 14. Mai 20:48 bDeviceSubClass
-r--r--r-- 1 root root  4096 14. Mai 20:48 bmAttributes
-r--r--r-- 1 root root  4096 14. Mai 20:48 bMaxPacketSize0
-r--r--r-- 1 root root  4096 14. Mai 20:48 bMaxPower
-r--r--r-- 1 root root  4096 14. Mai 20:48 bNumConfigurations
-r--r--r-- 1 root root  4096 14. Mai 20:48 bNumInterfaces
-r--r--r-- 1 root root  4096 14. Mai 20:48 busnum
-r--r--r-- 1 root root  4096 14. Mai 20:48 configuration
-r--r--r-- 1 root root 65553 14. Mai 20:48 descriptors
-r--r--r-- 1 root root  4096 14. Mai 20:48 dev
-r--r--r-- 1 root root  4096 14. Mai 20:48 devnum
-r--r--r-- 1 root root  4096 14. Mai 20:48 devpath
lrwxrwxrwx 1 root root     0 14. Mai 20:48 driver ->
../../../../../bus/usb/drivers/usb
drwxr-xr-x 3 root root     0 14. Mai 20:48 ep_00
-r--r--r-- 1 root root  4096 14. Mai 20:48 idProduct
-r--r--r-- 1 root root  4096 14. Mai 20:48 idVendor
-r--r--r-- 1 root root  4096 14. Mai 20:48 ltm_capable
-r--r--r-- 1 root root  4096 14. Mai 20:48 manufacturer
-r--r--r-- 1 root root  4096 14. Mai 20:48 maxchild
drwxr-xr-x 2 root root     0 14. Mai 20:48 power
-r--r--r-- 1 root root  4096 14. Mai 20:48 product
-r--r--r-- 1 root root  4096 14. Mai 20:48 quirks
-r--r--r-- 1 root root  4096 14. Mai 20:48 removable
--w------- 1 root root  4096 14. Mai 20:48 remove
-r--r--r-- 1 root root  4096 14. Mai 20:48 speed
lrwxrwxrwx 1 root root     0 14. Mai 20:48 subsystem -> ../../../../../bus/usb
-rw-r--r-- 1 root root  4096 14. Mai 20:48 uevent
-r--r--r-- 1 root root  4096 14. Mai 20:48 urbnum
-r--r--r-- 1 root root  4096 14. Mai 20:48 version

and this
thorsten at tuvok:/dev/bus/usb/003> dir 008 
crw-rw-r--+ 1 root lp 189, 263 14. Mai 20:48 008

So the device is being detected and udev sets the correct permission (group lp)
for the scanner.

The complete debug output for "export SANE_DEBUG_DLL=4
export SANE_DEBUG_PLUSTEK=128
export SANE_DEBUG_SANEI_USB=128
scanimage -d plustek -v 2>&1":

Debug output
============
[sanei_debug] Setting debug level of dll to 4.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24git
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/usr/local/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/usr/local/etc/sane.d/dll.d'
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `canon_dr'
[dll] add_backend: adding backend `cardscan'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan3'
[dll] add_backend: adding backend `dell1600n_net'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epjitsu'
[dll] add_backend: adding backend `epson2'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `genesys'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hp3900'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp3500'
[dll] add_backend: adding backend `hp4200'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `hp5590'
[dll] add_backend: adding backend `hpljm1005'
[dll] add_backend: adding backend `hs2p'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `kodak'
[dll] add_backend: adding backend `kodakaio'
[dll] add_backend: adding backend `kvs1025'
[dll] add_backend: adding backend `kvs20xx'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `lexmark'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `magicolor'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `mustek_usb2'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `niash'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pint'
[dll] add_backend: adding backend `pixma'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `rts8891'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `sm3840'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] add_backend: adding backend `xerox_mfp'
[dll] sane_open: trying to open `plustek'
[dll] load: searching backend `plustek' in `/usr/local/lib64/sane'
[dll] load: trying to load `/usr/local/lib64/sane/libsane-plustek.so.1'
[dll] load: dlopen()ing `/usr/local/lib64/sane/libsane-plustek.so.1'
[dll] init: initializing backend `plustek'
[sanei_debug] Setting debug level of plustek to 128.
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: Looking for libusb devices
[sanei_usb] sanei_usb_scan_devices: marking existing devices
[sanei_usb] libusb_scan_devices: Looking for libusb devices
[sanei_usb] libusb_scan_devices: device 0x8087/0x0024, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x8087/0x0024: no suitable interfaces
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] libusb_scan_devices: device 0x046d/0xc526, interface 0 doesn't look like a scanner (0/3)
[sanei_usb] libusb_scan_devices: device 0x046d/0xc526, interface 1 doesn't look like a scanner (0/3)
[sanei_usb] libusb_scan_devices: device 0x046d/0xc526: no suitable interfaces
[sanei_usb] libusb_scan_devices: found libusb device (0x0bda/0x0129) interface 0  at libusb:001:007
[sanei_usb] store_device: add dn 0 with libusb:001:007
[sanei_usb] libusb_scan_devices: device 0x8087/0x0024, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x8087/0x0024: no suitable interfaces
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] libusb_scan_devices: device 0x04f2/0xb2e2, interface 0 doesn't look like a scanner (239/14)
[sanei_usb] libusb_scan_devices: device 0x04f2/0xb2e2, interface 1 doesn't look like a scanner (239/14)
[sanei_usb] libusb_scan_devices: device 0x04f2/0xb2e2: no suitable interfaces
[sanei_usb] libusb_scan_devices: found libusb device (0x04a9/0x220d) interface 0  at libusb:003:005
[sanei_usb] store_device: add dn 1 with libusb:003:005
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0003, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] libusb_scan_devices: device 0x1d6b/0x0003: no suitable interfaces
[sanei_usb] sanei_usb_scan_devices: device 00 is libusb:001:007
[sanei_usb] sanei_usb_scan_devices: device 01 is libusb:003:005
[sanei_usb] sanei_usb_scan_devices: found 2 devices
[plustek] Plustek backend V0.52-11, part of sane-backends 1.0.24git
[plustek] Retrieving all supported and conntected devices
[plustek] Checking for 0x07b3-0x0010
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
[plustek] Checking for 0x07b3-0x0011
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
[plustek] Checking for 0x07b3-0x0013
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
[plustek] Checking for 0x07b3-0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[plustek] Checking for 0x07b3-0x0015
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
[plustek] Checking for 0x07b3-0x0015
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0015
[plustek] Checking for 0x07b3-0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[plustek] Checking for 0x07b3-0x0013
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0013
[plustek] Checking for 0x07b3-0x0011
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0011
[plustek] Checking for 0x07b3-0x0010
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0010
[plustek] Checking for 0x07b3-0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[plustek] Checking for 0x07b3-0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[plustek] Checking for 0x07b3-0x0016
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0016
[plustek] Checking for 0x07b3-0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[plustek] Checking for 0x07b3-0x0017
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0017
[plustek] Checking for 0x07b3-0x0007
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0007
[plustek] Checking for 0x07b3-0x000f
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
[plustek] Checking for 0x07b3-0x000f
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x000f
[plustek] Checking for 0x07b3-0x0005
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0005
[plustek] Checking for 0x07b3-0x0014
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0014
[plustek] Checking for 0x07b3-0x0012
[sanei_usb] sanei_usb_find_devices: vendor=0x07b3, product=0x0012
[plustek] Checking for 0x0400-0x1000
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1000
[plustek] Checking for 0x0400-0x1001
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1001
[plustek] Checking for 0x0400-0x1001
[sanei_usb] sanei_usb_find_devices: vendor=0x0400, product=0x1001
[plustek] Checking for 0x0458-0x2007
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2007
[plustek] Checking for 0x0458-0x2008
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2008
[plustek] Checking for 0x0458-0x2009
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2009
[plustek] Checking for 0x0458-0x2013
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2013
[plustek] Checking for 0x0458-0x2015
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2015
[plustek] Checking for 0x0458-0x2016
[sanei_usb] sanei_usb_find_devices: vendor=0x0458, product=0x2016
[plustek] Checking for 0x03f0-0x0505
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0505
[plustek] Checking for 0x03f0-0x0605
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0605
[plustek] Checking for 0x04b8-0x010f
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010f
[plustek] Checking for 0x04b8-0x011d
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011d
[plustek] Checking for 0x1606-0x0050
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0050
[plustek] Checking for 0x1606-0x0060
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0060
[plustek] Checking for 0x1606-0x0160
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0160
[plustek] Checking for 0x049f-0x001a
[sanei_usb] sanei_usb_find_devices: vendor=0x049f, product=0x001a
[plustek] Checking for 0x04a9-0x2206
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2206
[plustek] Checking for 0x04a9-0x2207
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2207
[plustek] Checking for 0x04a9-0x2208
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2208
[plustek] Checking for 0x04a9-0x220d
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220d
[plustek] Checking for 0x04a9-0x220e
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220e
[plustek] Checking for 0x04a9-0x2220
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2220
[plustek] Checking for 0x0a82-0x4600
[sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x4600
[plustek] Checking for 0x0a82-0x6620
[sanei_usb] sanei_usb_find_devices: vendor=0x0a82, product=0x6620
[plustek] Checking for 0x04a7-0x0427
[sanei_usb] sanei_usb_find_devices: vendor=0x04a7, product=0x0427
[plustek] Checking for 0x0a53-0x1000
[sanei_usb] sanei_usb_find_devices: vendor=0x0a53, product=0x1000
[plustek] Checking for 0x0a53-0x2000
[sanei_usb] sanei_usb_find_devices: vendor=0x0a53, product=0x2000
[plustek] Available and supported devices:
[plustek] Device: >libusb:003:005< - 0x04a9x0x220d
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ><
[plustek] ># each device needs at least two lines:<
[plustek] ># - [usb] vendor-ID and product-ID<
[plustek] ># - device devicename<
[plustek] ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device /dev/usbscanner<
[plustek] ># or<
[plustek] ># device libusb:bbb:ddd<
[plustek] ># where bbb is the busnumber and ddd the device number<
[plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
[plustek] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usbscanner<
[plustek] >#<
[plustek] ># or simply<
[plustek] ># [usb]<
[plustek] >#<
[plustek] ># or if you want a specific device but you have no idea about the<
[plustek] ># device node or you use libusb, simply set vendor- and product-ID<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device auto<
[plustek] >#<
[plustek] ># NOTE: autodetection is safe, as it uses the info it got<
[plustek] >#       from the USB subsystem. If you're not using the<
[plustek] >#       autodetection, you MUST have attached that device<
[plustek] >#       at your USB-port, that you have specified...<
[plustek] >#<
[plustek] ><
[plustek] >[usb]<
[plustek] next device uses autodetection
[plustek] ... next device
[plustek] ><
[plustek] >#<
[plustek] ># options for the previous USB entry<
[plustek] >#<
[plustek] ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] ># (can also be set via frontend)<
[plustek] >option lampOff 300<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ># warmup period in seconds, 0 means no warmup, -1 means auto-warmup<
[plustek] ># (can also be set via frontend)<
[plustek] >option warmup -1<
[plustek] Decoding option >warmup<
[plustek] ><
[plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
[plustek] ># on sane_close<
[plustek] ># (can also be set via frontend)<
[plustek] >option lOffOnEnd 1<
[plustek] Decoding option >lOffOnEnd<
[plustek] ><
[plustek] >#<
[plustek] ># options to tweak the image start-position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] >#<
[plustek] ># for the normal scan area<
[plustek] >#<
[plustek] >option posOffX 0<
[plustek] Decoding option >posOffX<
[plustek] >option posOffY 0<
[plustek] Decoding option >posOffY<
[plustek] ><
[plustek] ># for transparencies<
[plustek] >option tpaOffX 0<
[plustek] Decoding option >tpaOffX<
[plustek] >option tpaOffY 0<
[plustek] Decoding option >tpaOffY<
[plustek] ><
[plustek] ># for negatives<
[plustek] >option negOffX 0<
[plustek] Decoding option >negOffX<
[plustek] >option negOffY 0<
[plustek] Decoding option >negOffY<
[plustek] ><
[plustek] >#<
[plustek] ># for setting the calibration strip position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] ># -1 means use built in<
[plustek] ># (can also be set via frontend)<
[plustek] >option posShadingY -1<
[plustek] Decoding option >posShadingY<
[plustek] >option tpaShadingY -1<
[plustek] Decoding option >tpaShadingY<
[plustek] >option negShadingY -1<
[plustek] Decoding option >negShadingY<
[plustek] ><
[plustek] >#<
[plustek] ># to invert the negatives, 0 disables the feature<
[plustek] >#<
[plustek] >option invertNegatives 0<
[plustek] Decoding option >invertNegatives<
[plustek] ><
[plustek] >#<
[plustek] ># to disable the internal sensor speedup function,<
[plustek] ># 1 disables the feature<
[plustek] >#<
[plustek] >option disableSpeedup 0<
[plustek] Decoding option >disableSpeedup<
[plustek] ><
[plustek] >#<
[plustek] ># to save/restore coarse calibration data<
[plustek] ># (can also be set via frontend)<
[plustek] >option cacheCalData 0<
[plustek] Decoding option >cacheCalData<
[plustek] ><
[plustek] >#<
[plustek] ># use alternate calibration routines<
[plustek] >#<
[plustek] >option altCalibration 0<
[plustek] Decoding option >altCalibration<
[plustek] ><
[plustek] >#<
[plustek] ># for skipping whole calibration step<
[plustek] >#<
[plustek] >option skipCalibration 0<
[plustek] Decoding option >skipCalibration<
[plustek] ><
[plustek] >#<
[plustek] ># for skipping entire fine calibration step<
[plustek] ># coarse calibration is done<
[plustek] >#<
[plustek] >option skipFine 0<
[plustek] Decoding option >skipFine<
[plustek] ><
[plustek] >#<
[plustek] ># discard the result of the fine white calibration<
[plustek] >#<
[plustek] >option skipFineWhite 0<
[plustek] Decoding option >skipFineWhite<
[plustek] ><
[plustek] >#<
[plustek] ># some scanners have a dark calibration strip, in<
[plustek] ># general this one should be used for calibration.<
[plustek] ># As this could cause some trouble, this option<
[plustek] ># overrides that and the dark calibration will be<
[plustek] ># done by switching the lamp off<
[plustek] >#<
[plustek] >option skipDarkStrip 0<
[plustek] Decoding option >skipDarkStrip<
[plustek] ><
[plustek] ># for replacing the gain values found during coarse<
[plustek] ># calibration<
[plustek] ># (can also be set via frontend)<
[plustek] >option red_gain   -1<
[plustek] Decoding option >red_gain<
[plustek] >option green_gain -1<
[plustek] Decoding option >green_gain<
[plustek] >option blue_gain  -1<
[plustek] Decoding option >blue_gain<
[plustek] ><
[plustek] ># for replacing the offset values found during coarse<
[plustek] ># calibration<
[plustek] ># (can also be set via frontend)<
[plustek] >option red_offset   -1<
[plustek] Decoding option >red_offset<
[plustek] >option green_offset -1<
[plustek] Decoding option >green_offset<
[plustek] >option blue_offset  -1<
[plustek] Decoding option >blue_offset<
[plustek] ><
[plustek] >#<
[plustek] ># for replacing the default lampoff settings, this<
[plustek] ># works only for CIS devices like CanoScan LiDE20<
[plustek] ># (can also be set via frontend)<
[plustek] >option red_lampoff   -1<
[plustek] Decoding option >red_lampoff<
[plustek] >option green_lampoff -1<
[plustek] Decoding option >green_lampoff<
[plustek] >option blue_lampoff  -1<
[plustek] Decoding option >blue_lampoff<
[plustek] ><
[plustek] >#<
[plustek] ># for adjusting the default gamma values<
[plustek] ># (can also be set via frontend)<
[plustek] >option redGamma         1.0<
[plustek] Decoding option >redGamma<
[plustek] >option greenGamma       1.0<
[plustek] Decoding option >greenGamma<
[plustek] >option blueGamma        1.0<
[plustek] Decoding option >blueGamma<
[plustek] >option grayGamma        1.0<
[plustek] Decoding option >grayGamma<
[plustek] ><
[plustek] >#<
[plustek] ># to enable TPA (EPSON or UMAX, if autodetection fails)<
[plustek] ># 0 means default behaviour as specified in the internal tables<
[plustek] ># 1 means enable (needed for UMAX 3450)<
[plustek] >option enableTPA 0<
[plustek] Decoding option >enableTPA<
[plustek] ><
[plustek] >#<
[plustek] ># model override functionality, currently only available for<
[plustek] ># Mustek devices, using NSCs' vendor ID: 0x0400 and<
[plustek] ># also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)<
[plustek] >#<
[plustek] ># mov/PID    |    0x1000   |   0x1001<
[plustek] ># ---------------------------------------<
[plustek] ># 0 (default)| BearPaw1200 | BearPaw 2400<
[plustek] ># 1          |   ignored   | BearPaw 1200<
[plustek] >#<
[plustek] >option mov 0<
[plustek] Decoding option >mov<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usbscanner<
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb]<
[plustek] >#<
[plustek] attach (auto, 0x7fff3edf9e40, (nil))
[plustek] Device configuration:
[plustek] device name  : >auto<
[plustek] USB-ID       : ><
[plustek] model ovr.   : 0
[plustek] warmup       : -1s
[plustek] lampOff      : 300
[plustek] lampOffOnEnd : yes
[plustek] cacheCalData : no
[plustek] altCalibrate : no
[plustek] skipCalibr.  : no
[plustek] skipFine     : no
[plustek] skipFineWhite: no
[plustek] skipDarkStrip: no
[plustek] incDarkTarget: yes
[plustek] invertNegs.  : no
[plustek] dis.Speedup  : no
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] pos_shading_y: -1
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] tpa_shading_y: -1
[plustek] red gain     : -1
[plustek] green gain   : -1
[plustek] blue gain    : -1
[plustek] red offset   : -1
[plustek] green offset : -1
[plustek] blue offset  : -1
[plustek] red lampoff  : -1
[plustek] green lampoff: -1
[plustek] blue lampoff : -1
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] usbDev_open(auto,) - 0x1d40710
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:005'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 3 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03)
[sanei_usb] sanei_usb_open: opened usb device `libusb:003:005' (*dn=1)
[sanei_usb] sanei_usb_get_vendor_product: device 1: vendorID: 0x04a9, productID: 0x220d
[plustek] Vendor ID=0x04A9, Product ID=0x220D
[plustek] usbio_DetectLM983x
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 69 00 01                                     .i..            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 04                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[plustek] usbio_DetectLM983x: found LM9832/3
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 30                                              0               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[plustek]  * setting device to idle state!
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 07 00 01 00                                  .....           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[plustek] Detected vendor & product ID: 0x04A9-0x220D
[plustek] Device description for >0x04A9-0x220D< found.
[plustek] usb_initDev(41,0x04a9,-1)
[plustek] Device WAF  : 0x00004002
[plustek] Transferrate: 1000000 Bytes/s
[plustek] Device Flags: 0x00000000
[plustek] Vendor adjusted to: >Canon<
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 29 00 01                                     .)..            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 04                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[plustek] LAMP-STATUS: 0x00000000 (off)
[plustek] RESETTING REGISTERS(-1) - 0x80
[plustek] SETTING THE MISC I/Os
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 5B 00 01 91                                  .[...           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 59 00 01 66                                  .Y..f           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 5A 00 01 16                                  .Z...           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
libusb: 0.000000 warning [do_sync_bulk_transfer] unrecognised status code 1
[sanei_usb] sanei_usb_write_bulk: write failed: Numerical result out of range
libusb: 0.000189 error [op_clear_halt] clear_halt failed error -1 errno 71
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] Scanner not ready!!!
[plustek] Calibration file-names set to:
[plustek] >/root/.sane/Canon_CanoScan_N670U_N676U_LiDE20-coarse.cal<
[plustek] >/root/.sane/Canon_CanoScan_N670U_N676U_LiDE20-fine.cal<
[plustek] usb_SetScanParameters()
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] Scanner not ready!!!
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 58 00 01 04                                  .X...           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 02 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] UIO error
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 02 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] UIO error
[plustek] usbDev_getCaps()
[plustek] Scanner information:
[plustek] Vendor : Canon
[plustek] Model  : CanoScan N670U/N676U/LiDE20
[plustek] Flags  : 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan()
[plustek] usbDev_ScanEnd(), start=0, park=0
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 000 00 07 00 01 00                                  .....           
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] UIO error
[plustek] usbDev_close()
[sanei_usb] sanei_usb_close: closing device 1
[plustek] attach: model = >CanoScan N670U/N676U/LiDE20<
[dll] init: backend `plustek' is version 1.0.0
[plustek] sane_open - 
[plustek] Presetting Gamma tables (len=4096)
[plustek] * Channel[0], gamma 2.000
[plustek] * Channel[1], gamma 2.000
[plustek] * Channel[2], gamma 2.000
[plustek] * Channel[3], gamma 2.000
[plustek] ----------------------------------
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:005'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x81), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 3 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x03), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:003:005' (*dn=1)
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 07 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 02 00 01                                     ....            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek] Checking MISC IO[0]=0x66
[plustek] * port 1 configured as input, status: RELEASED (40)
[plustek] * port 2 configured as input, status: RELEASED (41)
[plustek] Checking MISC IO[1]=0x16
[plustek] * port 3 configured as input, status: RELEASED (42)
[plustek] Checking MISC IO[2]=0x91
[sanei_usb] sanei_usb_close: closing device 1
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=0)
[dll] sane_control_option(handle=0x1d55a00,option=0,action=0,value=0x7fff3edfb028,info=(nil))
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=0)
[dll] sane_control_option(handle=0x1d55a00,option=0,action=0,value=0x7fff3edfaf78,info=(nil))
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=1)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=2)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=3)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=4)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=5)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=6)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=7)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=8)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=9)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=10)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=11)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=12)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=13)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=14)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=15)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=16)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=17)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=18)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=19)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=20)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=21)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=22)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=23)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=24)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=25)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=26)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=27)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=28)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=29)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=30)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=31)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=32)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=33)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=34)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=35)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=36)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=37)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=38)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=39)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=40)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=41)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=42)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=43)
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=44)
[dll] sane_control_option(handle=0x1d55a00,option=10,action=0,value=0x60a680,info=(nil))
[dll] sane_control_option(handle=0x1d55a00,option=8,action=0,value=0x7fff3edfaf7c,info=(nil))
[dll] sane_control_option(handle=0x1d55a00,option=11,action=0,value=0x60a684,info=(nil))
[dll] sane_control_option(handle=0x1d55a00,option=9,action=0,value=0x7fff3edfaf7c,info=(nil))
[dll] sane_control_option(handle=0x1d55a00,option=8,action=0,value=0x7fff3edfb030,info=(nil))
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=10)
[dll] sane_control_option(handle=0x1d55a00,option=10,action=1,value=0x7fff3edfb034,info=0x7fff3edfaf7c)
[dll] sane_control_option(handle=0x1d55a00,option=9,action=0,value=0x7fff3edfb030,info=(nil))
[dll] sane_get_option_descriptor(handle=0x1d55a00,option=11)
[dll] sane_control_option(handle=0x1d55a00,option=11,action=1,value=0x7fff3edfb034,info=0x7fff3edfaf7c)
[dll] sane_start(handle=0x1d55a00)
[plustek] sane_start
[plustek] usbDev_open(libusb:003:005,) - (nil)
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:005'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 1 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x81), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 3 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 0x03), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:003:005' (*dn=1)
[sanei_usb] sanei_usb_get_vendor_product: device 1: vendorID: 0x04a9, productID: 0x220d
[plustek] Vendor ID=0x04A9, Product ID=0x220D
[plustek] usbio_DetectLM983x
[sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes
[sanei_usb] 000 01 69 00 01                                     .i..            
[sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] sanei_usb_read_bulk: read failed: Connection timed out
[plustek]  * could not read version register!
[sanei_usb] sanei_usb_close: closing device 1
[plustek] sane_start: open failed: 0
scanimage: sane_start: Error during device I/O
[dll] sane_cancel(handle=0x1d55a00)
[plustek] sane_cancel
[dll] sane_close(handle=0x1d55a00)
[plustek] sane_close
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek's exit function
[plustek] sane_exit
[plustek] Shutdown called (dev->fd=-1, libusb:003:005)
[plustek] Function ignored!
[dll] sane_exit: finished

Is there a way to see more information about what might be wrong?
This part from the log might show the root cause:
> libusb: 0.000000 warning [do_sync_bulk_transfer] unrecognised status code 1
> [sanei_usb] sanei_usb_write_bulk: write failed: Numerical result out of range
> libusb: 0.000189 error [op_clear_halt] clear_halt failed error -1 errno 71

Greetings
  Thorsten W. Schmidt




More information about the sane-devel mailing list