I have installed a fresh gutsy 64 bit on a Dell E521 AMD machine, and
have the same problem as Andreas Gustafsson

lsusb shows the follwing for my HP SCanJet 4100C
Bus 001 Device 003: ID 03f0:0101 Hewlett-Packard ScanJet 4100c

sane-find-scanner seems to find my usb scanner - HP ScanJet 4100C all the time  
output : found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0101 [HP 
ScanJet 4100C]) at libusb:001:003

however xsane sometimes does not detect it, and if it detects it
sometimes does not show it can scan in grayscale, ...

as with Andreas Scanimage -L sometimes core dumps, sometimes only finds
a usb logitech video camera I also have connected and sometimes does
find the ScanJet 4100C

I have some debugging info for the hp sane driver by doing the following : 
export SANE_DEBUG_HP=255
there are three behaviors for scanimage -L
1. core dump
2. ScanJet 4100C not detected - output attached
3. ScanJet 4100C detected - output attached

the following are the messages I think are relevant :
[hp] hp_attach: "libusb:001:003"
[hp] sanei_hp_device_info_get: searching libusb:001:003
[hp] sanei_hp_device_info_get: check libusb:001:003
[hp] hp_get_dev: New device libusb:001:003, connect-usb, scsi-request=0
[hp] sanei_hp_device_new: libusb:001:003
[hp] sanei_hp_device_info_get: searching libusb:001:003
[hp] sanei_hp_device_info_get: check libusb:001:003
[hp] hp_GetOpenDevice: device libusb:001:003 not open
[hp] hp_nonscsi_open: open usb with "libusb:001:003"
[hp] hp_nonscsi_open: device libusb:001:003 opened, fd=1
[hp] hp_AddOpenDevice: added device libusb:001:003 with fd=1
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
[hp] sanei_hp_device_info_get: searching libusb:001:003
[hp] sanei_hp_device_info_get: check libusb:001:003
[hp] scsi_flush: writing 7 bytes:
[hp]  0x0000  1B 2A 73 32 35 37 45                             .*s257E
[hp] sanei_hp_device_info_get: searching libusb:001:003
[hp] sanei_hp_device_info_get: check libusb:001:003
[hp] sanei_hp_device_info_get: searching libusb:001:003
[hp] sanei_hp_device_info_get: check libusb:001:003
[hp] scl_inq: read failed (End of file reached)
[hp] scl_errcheck: Can't read SCL error stack: End of file reached
[hp] hp_nonscsi_device_new: SCL reset failed
[hp] scsi_close: closing fd 1

it seems the hp sane backend gets an end of file error

I have tried the following but it did not help
https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/156085/comments/5

   thanks,

      Koen


** Attachment added: "scanoutputs.tgz"
   http://launchpadlibrarian.net/10311381/scanoutputs.tgz

-- 
scanimage -L crashes with HP ScanJet 4100c
https://bugs.launchpad.net/bugs/119819
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to