[sane-devel] scanner hp5400

François Patte Francois.Patte@math-info.univ-paris5.fr
Sat, 2 Oct 2004 16:25:14 +0200


Bonjour,

I am unable to have the scanner hp5400c working under linux. Here the result of:

***
lsusb:

Bus 003 Device 002: ID 03f0:1005 Hewlett-Packard ScanJet 5400c

*****
sane-find-scanner:

found SCSI scanner "Nikon LS-2000 1.31" at /dev/scanner
found SCSI scanner "Nikon LS-2000 1.31" at /dev/sg0
found SCSI scanner "Nikon LS-2000 1.31" at /dev/sga
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

found USB scanner (vendor=0x03f0, product=0x1005) at /dev/usb/scanner0
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1005 [HP Scanjet
5400C Series]) at libusb:003:002
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

*********
scanimage -L:

device `coolscan2:scsi:/dev/scanner' is a Nikon    LS-2000          film scanner
device `coolscan:/dev/sg0' is a Nikon    LS-2000          slide scanner

SANE_DEBUG_HP5400=255 scanimage -L

[sanei_debug] Setting debug level of hp5400 to 255.
[hp5400] sane_init: SANE hp5400 backend version 1.0-3 (from sane-backends
1.0.14)
[hp5400] Reading config file
[hp5400] Discarding line 1
[hp5400] Discarding line 2
[hp5400] Discarding line 3
[hp5400] Discarding line 4
[hp5400] Trying to attach usb 0x03f0 0x1005
[hp5400] vendor/product 0x03F0-0x1005 opened
[hp5400] Read: reqtype = 0xC0, req = 0x04, value = 1200
[hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500
[hp5400] Command 12 verified
[hp5400] Sorry, unknown scanner version. Attempted match on :
[hp5400] * 'SilitekIBlizd C3 ScannerV0.84'
[hp5400] * 'SilitekIBlizd C3 ScannerV0.86'
[hp5400] * 'SilitekIBlizd C3 ScannerV0.87'
[hp5400] Version is ''
[hp5400] attach_one_device: attached /dev/usb/scanner0 successfully
[hp5400] hp5400_open: open returned Device busy
[hp5400] hp5400_open failed
[hp5400] attach_one_device: couldn't attach libusb:003:002
[hp5400] Discarding line 6
[hp5400] Discarding line 7
[hp5400] Discarding line 8
[hp5400] Discarding line 9
[hp5400] Discarding line 10
[hp5400] Discarding line 11
[hp5400] Discarding line 12
[hp5400] Discarding line 13
[hp5400] Trying to attach /dev/usb/scanner0
[hp5400] vendor/product 0x03F0-0x1005 opened
[hp5400] Read: reqtype = 0xC0, req = 0x04, value = 1200
[hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500
[hp5400] Command 12 verified
[hp5400] Sorry, unknown scanner version. Attempted match on :
[hp5400] * 'SilitekIBlizd C3 ScannerV0.84'
[hp5400] * 'SilitekIBlizd C3 ScannerV0.86'
[hp5400] * 'SilitekIBlizd C3 ScannerV0.87'
[hp5400] Version is ''
[hp5400] attach_one_device: attached /dev/usb/scanner0 successfully
[hp5400] Discarding line 15
[hp5400] Discarding line 16
[hp5400] sane_get_devices
device `coolscan2:scsi:/dev/scanner' is a Nikon    LS-2000          film scanner
device `coolscan:/dev/sg0' is a Nikon    LS-2000          slide scanner
[hp5400] sane_exit

********
The /etc/sane.d/hp5400.conf is:

# hp5400.conf
# See man sane-hp5400 for a description.
#
# HP 5400C
usb 0x03f0 0x1005
#
# HP 5470C
#usb 0x03F0 0x1105
#
# Device filename to use for scanner access
#
# Uncomment the following line if autodetection fails
#
/dev/usb/scanner0
#libusb:003:002
#option connect-device


What can I do else?

Thank you.
--
François Patte

Ecole française d'Extrême-Orient - Pune - Inde
Université René Descartes - Paris 5
UFR de mathématiques et informatique
http://www.math-info.univ-paris5.fr/~patte