[sane-devel] umax backend: scanimage: setting of option --br-x failed (Invalid argument)
Rainer Lay
rainer.Lay at informatik.uni-erlangen.de
Sun Apr 18 10:15:16 BST 2004
Hi,
when trying to use 1.0.14pre2 with my UMAX Astra 2200 (kernel 2.6.5,
libUSB), I get this error message.
I set SANE_DEBUG_UMAX to 10 and received this messages. Access rights
should be ok.
Any hints?
rgds, Rainer
[sanei_debug] Setting debug level of umax to 10.
[umax] sane_init
[umax] This is sane-umax version 1.0 build 44
[umax] compiled with USB support for Astra 2200
[umax] (C) 1997-2002 by Oliver Rauch
[umax] EMAIL: Oliver.Rauch at 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 LinoHell SAPHIR3)
[umax] sanei_config_attach_matching_devices(scsi Linotype SAPHIR4)
[umax] sanei_config_attach_matching_devices(scsi HDM LS4H1S)
[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_config_attach_matching_devices(scsi TriGem PowerScanII)
[umax] sanei_usb_attach_matching_devices(usb 0x1606 0x0230)
[umax] attach_scanner: opening usb device libusb:001:003
[umax] Initializing the PV8630
[umax] PV8630 initialized
[umax] attach_scanner: allocating SCSI buffer[0]
[umax] init
[umax] setting request_scsi_maxqueue = 1 for USB connection
[umax] request_scsi_maxqueue = 1
[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_width_offset_batch = -99999
[umax] calibration_bytespp = -1
[umax] exposure_time_rgb_bind = -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] Sending SCSI cmd 0x12 cdb len 6, param len 0, result len 5
[umax] SCSI cmd returned 5 bytes
[umax] SCSI command successfully executed
[umax] Sending SCSI cmd 0x12 cdb len 6, param len 0, result len 160
[umax] SCSI cmd returned 160 bytes
[umax] SCSI command successfully executed
[umax] Found UMAX scanner Astra 2200 version V2.0 on device libusb:001:003
[umax] umax_correct_inquiry("UMAX Astra 2200 V2.0")
[umax] setting up special options for Astra 2200
[umax] - lamp control enabled
[umax] - calibration by driver is done for each CCD pixel
[umax] - setting calibration_bytespp = 2
[umax] - common x and y resolution
[umax] - disabling quality calibration for USB connection
[umax] get_inquiry_values
[umax] INQUIRY:
[umax] ========
[umax]
[umax] vendor........................: 'UMAX '
[umax] product.......................: 'Astra 2200 '
[umax] version.......................: 'V2.0'
[umax] peripheral qualifier..........: 0
[umax] peripheral device type........: 6
[umax]
[umax] CBHS value range..............: 0-255
[umax] scanmode......................: flatbed (FB)
[umax] UTA (transparency)............: available
[umax] UTA lamp status ..............: on
[umax]
[umax] inquiry block length..........: 160 bytes
[umax]
[umax] ISO Version (reserved).......: 0
[umax] ECMA Version (reserved).......: 0
[umax] ANSI Version .................: 2
[umax]
[umax] reserved byte 0x05 = 0
[umax] reserved byte 0x06 = 0
[umax]
[umax] scsi features (00):
[umax] -------------------
[umax]
[umax] f/w support function:
[umax] ---------------------
[umax] - fast preview function
[umax]
[umax] reserved byte 0x36 = 0
[umax] reserved byte 0x37 = 0
[umax]
[umax] scan modes (76):
[umax] ----------------
[umax] - single pass color mode
[umax] - lineart mode
[umax] - gray mode
[umax] - color mode
[umax] - transparency (UTA)
[umax]
[umax] scanner capability (be, 00, 00):
[umax] --------------------------------
[umax] - send high byte first
[umax] - bi-level image reverse
[umax] - multi-level image reverse
[umax] - paper length can reach to 14 inch
[umax]
[umax] gamma download available
[umax] gamma download type 2
[umax] lines of gamma curve: one line (gray), three lines (color) download
[umax] gamma input 8 bits/pixel support
[umax] gamma input 12 bits/pixel support
[umax] gamma output 8 bits/pixel support
[umax] gamma output 12 bits/pixel support
[umax]
[umax] reserved byte 0x65 = 0
[umax] reserved byte 0x67 = 0
[umax]
[umax] reserved byte 0x6b = 0
[umax] reserved byte 0x6c = 0
[umax]
[umax] color sequence............................: all supported
[umax] color ordering support....................: pixel
[umax]
[umax] maximum video memory......................: 223 KB
[umax]
[umax] reserved byte 0x72 = 0
[umax]
[umax] optical resolution........................: 600 dpi
[umax] maximum x-resolution......................: 600 dpi
[umax] maximum y-resolution......................: 1200 dpi
[umax]
[umax] FB (flatbed-mode):
[umax] FB maximum scan width.....................: 8.50 inch
[umax] FB maximum scan length....................: 11.70 inch
[umax]
[umax] UTA (transparency-mode):
[umax] UTA x-original point......................: 0.00 inch
[umax] UTA y-original point......................: 0.00 inch
[umax] UTA maximum scan width....................: 4.00 inch
[umax] UTA maximum scan length...................: 5.00 inch
[umax]
[umax] reserved byte 0x82 = 128
[umax]
[umax] DOR (double optical resolution-mode):
[umax] DOR optical resolution....................: 0 dpi
[umax] DOR maximum x-resolution..................: 0 dpi
[umax] DOR maximum y-resolution..................: 0 dpi
[umax] DOR x-original point......................: 0.00 inch
[umax] DOR y-original point......................: 0.00 inch
[umax] DOR maximum scan width....................: 0.00 inch
[umax] DOR maximum scan length...................: 0.00 inch
[umax]
[umax] reserved byte 0x8e = 0
[umax]
[umax] last calibration lamp density.............: 0
[umax]
[umax] reserved byte 0x90 = 0
[umax]
[umax] lamp warmup maximum time..................: 0 sec
[umax] window descriptor block length............: 82 bytes
[umax] no analog gamma function
[umax]
[umax] reserved byte 0x98 = 0
[umax] reserved byte 0x99 = 0
[umax]
[umax] maximum calibration data lines for shading: 64
[umax] fb/uta: color line arrangement mode.......: 0
[umax] adf: color line arrangement mode.......: 0
[umax] CCD line distance.........................: 8
[umax]
[umax] reserved byte 0x9e = 0
[umax]
[umax] ==================== end of inquiry ====================
[umax]
[umax] x_range.max = 215.899994
[umax] y_range.max = 297.179993
[umax] x_dpi_range.max = 600.000000
[umax] y_dpi_range.max = 1200.000000
[umax] option connection-type = 1
[umax] attach_scanner: opening scsi device /dev/scanner
[umax] ERROR: attach_scanner: opening scsi device /dev/scanner failed
[umax] option connection-type = 2
[umax] attach_scanner: opening usb device /dev/usbscanner
[umax] sanei_umaxusb_open: open of `/dev/usbscanner' failed: Invalid
argument
[umax] ERROR: attach_scanner: opening usb device /dev/usbscanner failed
[umax] finished reading configure file
[umax] sane_get_devices(local_only = 0)
scanimage: setting of option --br-x failed (Invalid argument)
[umax] sane_exit
More information about the sane-devel
mailing list