Robbert Kouprie
2010-09-26 12:36:19 UTC
Package: sane-utils
Version: 1.0.21-4
Severity: normal
Hi,
While 'scanimage -L' lists my HP ScanJet 3300C USB scanner, the scanning itself does not work. scanimage returns a 'Device busy'. There are no other programs than SANE that are configured to use the scanner.
***@srv:~$ lsusb | grep Scan
Bus 003 Device 002: ID 03f0:0205 Hewlett-Packard ScanJet 3300c
***@srv:~$ scanimage -L
device `niash:libusb:003:002' is a Hewlett-Packard ScanJet 3300C flatbed scanner
***@srv:~$ ls -la /dev/bus/usb/003/002
crw-rw-r-- 1 root scanner 189, 257 Sep 25 14:17 /dev/bus/usb/003/002
***@srv:~$ SANE_DEBUG_DLL=1 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_HP=255 SANE_DEBUG_NIASH=255 /usr/bin/scanimage -d niash:libusb:003:002 --format tiff
[sanei_debug] Setting debug level of dll to 1.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.21
[sanei_debug] Setting debug level of niash to 255.
[niash] sane_init
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: Looking for libusb devices
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 003
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0205) interface 0 at libusb:003:002
[sanei_usb] store_device: add dn 0 with libusb:003:002
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:002
[niash] Looking for ScanJet 3300C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0205
[niash] _AttachUsb: found libusb:003:002
[niash] niash: _ReportDevice 'libusb:003:002'
[niash] Looking for ScanJet 3400C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0405
[niash] Looking for ScanJet 4300C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0305
[niash] Looking for HP ScanJet 4300c...
[sanei_usb] sanei_usb_find_devices: vendor=0x047b, product=0x1002
[niash] Looking for Snapscan Touch...
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0100
[niash] Looking for Office Scanner USB 19200...
[sanei_usb] sanei_usb_find_devices: vendor=0x047b, product=0x1000
[niash] sane_open: libusb:003:002
[niash] Trying to open libusb:003:002...
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:002'
USB error: could not set config 1: Connection timed out
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Connection timed out
[niash] NiashXferOpen failed for 'libusb:003:002'
[niash] NiashOpen failed
scanimage: open of device niash:libusb:003:002 failed: Device busy
[niash] sane_exit
How can I troubleshoot this further?
Regards,
Robbert
-- System Information:
Debian Release: squeeze/sid
APT prefers squeeze-volatile
APT policy: (500, 'squeeze-volatile'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sane-utils depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libavahi-client3 0.6.27-2 Avahi client library
ii libavahi-common3 0.6.27-2 Avahi common library
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libieee1284-3 0.2.11-6 cross-platform library for paralle
ii libsane 1.0.21-4 API library for scanners
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii update-inetd 4.37 inetd configuration file updater
sane-utils recommends no packages.
Versions of packages sane-utils suggests:
ii avahi-daemon 0.6.27-2 Avahi mDNS/DNS-SD daemon
pn unpaper <none> (no description available)
-- debconf information:
* sane-utils/saned_run: false
* sane-utils/saned_scanner_group: true
Version: 1.0.21-4
Severity: normal
Hi,
While 'scanimage -L' lists my HP ScanJet 3300C USB scanner, the scanning itself does not work. scanimage returns a 'Device busy'. There are no other programs than SANE that are configured to use the scanner.
***@srv:~$ lsusb | grep Scan
Bus 003 Device 002: ID 03f0:0205 Hewlett-Packard ScanJet 3300c
***@srv:~$ scanimage -L
device `niash:libusb:003:002' is a Hewlett-Packard ScanJet 3300C flatbed scanner
***@srv:~$ ls -la /dev/bus/usb/003/002
crw-rw-r-- 1 root scanner 189, 257 Sep 25 14:17 /dev/bus/usb/003/002
***@srv:~$ SANE_DEBUG_DLL=1 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_HP=255 SANE_DEBUG_NIASH=255 /usr/bin/scanimage -d niash:libusb:003:002 --format tiff
[sanei_debug] Setting debug level of dll to 1.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.21
[sanei_debug] Setting debug level of niash to 255.
[niash] sane_init
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: marking existing devices
[sanei_usb] sanei_usb_init: Looking for kernel scanner devices
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
[sanei_usb] sanei_usb_init: Looking for libusb devices
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 003
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0205) interface 0 at libusb:003:002
[sanei_usb] store_device: add dn 0 with libusb:003:002
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0001: no suitable interfaces
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002, interface 0 doesn't look like a scanner (9/9)
[sanei_usb] sanei_usb_init: device 0x1d6b/0x0002: no suitable interfaces
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_init: device 00 is libusb:003:002
[niash] Looking for ScanJet 3300C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0205
[niash] _AttachUsb: found libusb:003:002
[niash] niash: _ReportDevice 'libusb:003:002'
[niash] Looking for ScanJet 3400C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0405
[niash] Looking for ScanJet 4300C...
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0305
[niash] Looking for HP ScanJet 4300c...
[sanei_usb] sanei_usb_find_devices: vendor=0x047b, product=0x1002
[niash] Looking for Snapscan Touch...
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0100
[niash] Looking for Office Scanner USB 19200...
[sanei_usb] sanei_usb_find_devices: vendor=0x047b, product=0x1000
[niash] sane_open: libusb:003:002
[niash] Trying to open libusb:003:002...
[sanei_usb] sanei_usb_open: trying to open device `libusb:003:002'
USB error: could not set config 1: Connection timed out
[sanei_usb] sanei_usb_open: libusb complained: could not set config 1: Connection timed out
[niash] NiashXferOpen failed for 'libusb:003:002'
[niash] NiashOpen failed
scanimage: open of device niash:libusb:003:002 failed: Device busy
[niash] sane_exit
How can I troubleshoot this further?
Regards,
Robbert
-- System Information:
Debian Release: squeeze/sid
APT prefers squeeze-volatile
APT policy: (500, 'squeeze-volatile'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sane-utils depends on:
ii adduser 3.112 add and remove users and groups
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libavahi-client3 0.6.27-2 Avahi client library
ii libavahi-common3 0.6.27-2 Avahi common library
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libieee1284-3 0.2.11-6 cross-platform library for paralle
ii libsane 1.0.21-4 API library for scanners
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii update-inetd 4.37 inetd configuration file updater
sane-utils recommends no packages.
Versions of packages sane-utils suggests:
ii avahi-daemon 0.6.27-2 Avahi mDNS/DNS-SD daemon
pn unpaper <none> (no description available)
-- debconf information:
* sane-utils/saned_run: false
* sane-utils/saned_scanner_group: true