[sane-devel] can't get linoscan 1400 to work

Benedikt Brors b.brors@dkfz-heidelberg.de
17 Oct 2002 14:46:37 +0200


Hello,

my linoscan 1400 scanner (SCSI) is not recognized by scanimage under
sane 1.0.8 (linux/i686 kernel 2.4.19, scsi generic module & Tekram
DC390T adapter). However, it should be compatible with the umax backend.

Had no problems installing sane from source. sane-find-scanner says:
> sane-find-scanner: found SCSI scanner "HDM LS4H1S V1.0" at device
>  /dev/scanner
> sane-find-scanner: found SCSI scanner "HDM LS4H1S V1.0" at device
> /dev/sg1

and `cat /proc/scsi/scsi' gives:
> Host: scsi0 Channel: 00 Id: 05 Lun: 00
>  Vendor: HDM      Model: LS4H1S           Rev: V1.0
>  Type:   Scanner                          ANSI SCSI revision: 02

while scanimage -L returns:
> 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).

Permissions on /dev/sg1 were set correctly, and it has been linked to
/dev/scanner. It seems that attach_scanner is trying to identify the
linoscan, but cannot match this with its internal description. However,
backend/umax-scanner.c has exactly the same description for VENDOR and
MODEL, i.e. "HDM" and "LS4H1S", as has /usr/local/etc/sane.d/umax.conf.

I put debug output from scanimage at the end of this mail.

Any help is greatly appreciated.

Best,

Benedikt


If I switch on debug information (i.e. SANE_DEBUG_UMAX=12), I get:
% scanimage -L
[sanei_debug] Setting debug level of umax to 12.
[umax] sane_init
[umax] This is sane-umax version 1.0 build 34
[umax] compiled with USB support for Astra 2200
[umax] (C) 1997-2002 by Oliver Rauch
[umax] EMAIL: Oliver.Rauch@rauch-domain.de
[umax] reading configure file umax.conf
[umax] sanei_config_attach_matching_devices(scsi UMAX * Scanner)
[umax] sanei_config_attach_matching_devices(scsi LinoHell JADE)
[umax] sanei_config_attach_matching_devices(scsi LinoHell Office)
[umax] sanei_config_attach_matching_devices(scsi LinoHell Office2)
[umax] sanei_config_attach_matching_devices(scsi LinoHell SAPHIR2)
[umax] sanei_config_attach_matching_devices(scsi HDM LS4H1S)
[umax] attach_scanner: /dev/sg1, connection_type 1
[umax] attach_scanner: opening scsi device /dev/sg1
[umax] attach_scanner: sanei_scsi_open_extended returned scsi buffer
size = 16384
[umax] attach_scanner: allocating SCSI buffer[0]
[umax] init
[umax] request_scsi_maxqueue    = 2
[umax] request_preview_lines    = 10
[umax] request_scan_lines       = 40
[umax] handle_bad_sense_error   = 0
[umax] execute_request_sense    = 0
[umax] scsi_buffer_size_min     = 32768
[umax] scsi_buffer_size_max     = 131072
[umax] force_preview_bit_rgb    = 0
[umax] slow                     = -1
[umax] smear                    = -1
[umax] calibration_area         = -1
[umax] calibration_width_offset = -99999
[umax] calibration_bytespp      = -1
[umax] invert_shading_data      = -1
[umax] lamp_control_available   = 0
[umax] backend runs on little endian machine
[umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[umax] Found HDM  scanner LS4H1S version V1.0 on device /dev/sg1
[umax] ERROR: attach_scanner: scanner-identification failed
[umax] sanei_config_attach_matching_devices(scsi Nikon AX-110)
[umax] sanei_config_attach_matching_devices(scsi Nikon AX-210)
[umax] sanei_config_attach_matching_devices(scsi KYE ColorPage-HR5)
[umax] sanei_config_attach_matching_devices(scsi EPSON Perfection600)
[umax] sanei_config_attach_matching_devices(scsi ESCORT "Galleria 600S")
[umax] sanei_usb_attach_matching_devices(usb 0x1606 0x0230)
[umax] option connection-type = 1
[umax] attach_scanner: /dev/scanner, connection_type 1
[umax] attach_scanner: opening scsi device /dev/scanner
[umax] attach_scanner: sanei_scsi_open_extended returned scsi buffer
size = 16384
[umax] attach_scanner: allocating SCSI buffer[0]
[umax] init
[umax] request_scsi_maxqueue    = 2
[umax] request_preview_lines    = 10
[umax] request_scan_lines       = 40
[umax] handle_bad_sense_error   = 0
[umax] execute_request_sense    = 0
[umax] scsi_buffer_size_min     = 32768
[umax] scsi_buffer_size_max     = 131072
[umax] force_preview_bit_rgb    = 0
[umax] slow                     = -1
[umax] smear                    = -1
[umax] calibration_area         = -1
[umax] calibration_width_offset = -99999
[umax] calibration_bytespp      = -1
[umax] invert_shading_data      = -1
[umax] lamp_control_available   = 0
[umax] backend runs on little endian machine
[umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[umax] Found HDM  scanner LS4H1S version V1.0 on device /dev/scanner
[umax] ERROR: attach_scanner: scanner-identification failed
[umax] attach_scanner: /dev/sg1, connection_type 1
[umax] attach_scanner: opening scsi device /dev/sg1
[umax] attach_scanner: sanei_scsi_open_extended returned scsi buffer
size = 16384
[umax] attach_scanner: allocating SCSI buffer[0]
[umax] init
[umax] request_scsi_maxqueue    = 2
[umax] request_preview_lines    = 10
[umax] request_scan_lines       = 40
[umax] handle_bad_sense_error   = 0
[umax] execute_request_sense    = 0
[umax] scsi_buffer_size_min     = 32768
[umax] scsi_buffer_size_max     = 131072
[umax] force_preview_bit_rgb    = 0
[umax] slow                     = -1
[umax] smear                    = -1
[umax] calibration_area         = -1
[umax] calibration_width_offset = -99999
[umax] calibration_bytespp      = -1
[umax] invert_shading_data      = -1
[umax] lamp_control_available   = 0
[umax] backend runs on little endian machine
[umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[umax] Found HDM  scanner LS4H1S version V1.0 on device /dev/sg1
[umax] ERROR: attach_scanner: scanner-identification failed
[umax] attach_scanner: /dev/sg0, connection_type 1
[umax] attach_scanner: opening scsi device /dev/sg0
[umax] ERROR: attach_scanner: opening scsi device /dev/sg0 failed
[umax] option connection-type = 2
[umax] attach_scanner: /dev/usbscanner, connection_type 2
[umax] attach_scanner: opening usb device /dev/usbscanner
[umax] sanei_umaxusb_open: open of `/dev/usbscanner' failed: No such
device
[umax] ERROR: attach_scanner: opening usb device /dev/usbscanner failed
[umax] finished reading configure file
[umax] sane_get_devices(local_only = 0)

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).
[umax] sane_exit