[sane-devel] Re: Problems with HP Scanjet 4100c USB on FC5

Sean Laurent organicveggie at gmail.com
Tue Jun 27 05:44:21 UTC 2006


On 2006-06-26 Henning Meier-Geinitz wrote:
>On 2006-06-26 08:45, Sean Laurent wrote:
>> $ scanimage -L
>
>Try to commebt out everything except "hp" in dll.conf. Run
>SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_HP=255 scanimage -L
>and send us the output.

---snip---
[root at linux sane.d]# SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_HP=255 scanimage -L
[sanei_debug] Setting debug level of hp to 255.
[hp] sane_init called
[hp] hp_init: global.is_up = 1
[hp] sane_init will finish with Success
[hp] sane_get_devices called
[hp] hp_read_config: hp backend v1.06/$Revision: 1.21 $ starts reading
config file
[hp] hp_read_config: processing line <#scsi HP>
[hp] hp_read_config: processing line <usb HP>
[hp] hp_read_config: processing line <# Uncomment the following if you
have "Error during device I/O" on SCSI>
[hp] hp_read_config: processing line <#   option dumb-read>
[hp] hp_read_config: processing line <#>
[hp] hp_read_config: processing line <# The usual place for a
SCSI-scanner on Linux>
[hp] hp_read_config: processing line <#/dev/scanner>
[hp] hp_read_config: processing line <#>
[hp] hp_read_config: processing line <# USB-scanners supported by the
hp-backend>
[hp] hp_read_config: processing line <# HP ScanJet 4100C>
[hp] hp_read_config: processing line <usb 0x03f0 0x0101>
[hp] hp_attach_matching_devices: usb attach matching "usb HP"
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or directory
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_devices: Found 001 on 001
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 006 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0101)
interface 0  at libusb:002:006
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 1 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x0000, product=0x0000
[hp] hp_read_config: processing line <# HP ScanJet 5200C>
[hp] hp_read_config: processing line <usb 0x03f0 0x0401>
[hp] hp_attach_matching_devices: usb attach matching "usb 0x03f0 0x0101"
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0101
[hp] hp_attach: "libusb:002:006"
[hp] sanei_hp_device_info_get: searching libusb:002:006
[hp] sanei_hp_device_info_get: check libusb:002:006
[hp] hp_get_dev: New device libusb:002:006, connect-usb, scsi-request=0
[hp] sanei_hp_device_new: libusb:002:006
[hp] sanei_hp_device_info_get: searching libusb:002:006
[hp] sanei_hp_device_info_get: check libusb:002:006
[hp] hp_GetOpenDevice: device libusb:002:006 not open
[hp] hp_nonscsi_open: open usb with "libusb:002:006"
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:006'
[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: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x01)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x02)
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 3 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)
[sanei_usb] sanei_usb_open: opened usb device `libusb:002:006' (*dn=0)
[hp] hp_nonscsi_open: device libusb:002:006 opened, fd=0
[hp] hp_AddOpenDevice: added device libusb:002:006 with fd=0
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
[hp] sanei_hp_device_info_get: searching libusb:002:006
[hp] sanei_hp_device_info_get: check libusb:002:006
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 0000: 1B 45
.E..............
[sanei_usb] sanei_usb_write_bulk: write failed: Resource temporarily unavailable
[hp] hp_nonscsi_device_new: SCL reset failed
[hp] scsi_close: closing fd 0
[hp] sanei_hp_device_info_get: searching libusb:002:006
[hp] sanei_hp_device_info_get: check libusb:002:006
[sanei_usb] sanei_usb_close: closing device 0
[hp] hp_nonscsi_close: closed fd=0
[hp] scsi_close: really closed
[hp] hp_RemoveOpenFd: removed 0
[hp] hp_read_config: processing line <# HP ScanJet 62X0C>
[hp] hp_read_config: processing line <usb 0x03f0 0x0201>
[hp] hp_attach_matching_devices: usb attach matching "usb 0x03f0 0x0401"
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0401
[hp] hp_read_config: processing line <# HP ScanJet 63X0C>
[hp] hp_read_config: processing line <usb 0x03f0 0x0601>
[hp] hp_attach_matching_devices: usb attach matching "usb 0x03f0 0x0201"
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0201
[hp] hp_read_config: processing line <#>
[hp] hp_read_config: processing line <# Uncomment the following if
your scanner is connected by USB,>
[hp] hp_read_config: processing line <# but you are not using libusb>
[hp] hp_read_config: processing line <# /dev/usb/scanner-usbdev1.3>
[hp] hp_read_config: processing line <#   option connect-device>
[hp] hp_read_config: attach usb 0x03f0 0x0601
[hp] hp_attach_matching_devices: usb attach matching "usb 0x03f0 0x0601"
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0601
[hp] hp_read_config: reset to default config
[hp] sane_get_devices will finish with Success

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).
[hp] sane_exit called
[hp] hp_destroy: global.is_up = 0
[hp] sane_exit will finish
---snip---

Hrmmmm... interesting.  I see that the write failed, but I don't
understand why.  Ugh.

-Sean



More information about the sane-devel mailing list