[sane-devel] BenQ 5000 on Fedora 15 is detected, but will not scan

Noe Nieto nnieto at noenieto.com
Mon Jul 18 17:49:23 UTC 2011


Hi,

I have a BenQ 5000 Scanner. It is labeled as "Alaska 5000U", but is detected
as BenQ 5000.

I've set-up the scanner as the snapscan page suggest. I'm using the
20F8V114.bin firmware that came with the original CD.

Any hint on how to make it work?  I can provide more data if needed.


The test case is as follows:

Step 1: Connect scanner and detect:
-----------------------------------------------------

*Makes some noises

# sane-find-scanner
   found USB scanner (vendor=0x04a5 [Color], product=0x20fc [ FlatbedScanner
22]) at libusb:003:015
   found USB scanner (vendor=0x16d8, product=0x6803) at libusb:005:003

# lsusb
....
Bus 003 Device 015: ID 04a5:20fc Acer Peripherals Inc. (now BenQ Corp.) Benq
5000

# scanimage -L
[sanei_debug] Setting debug level of snapscan to 5.
device `snapscan:libusb:003:015' is a Acer FlatbedScanner25 flatbed scanner


.... and the relevant output in /var/log/messages

Jul 18 12:00:43 localhost kernel: [16150.204082] usb 3-2: new full speed USB
device using uhci_hcd and address 16
Jul 18 12:00:44 localhost kernel: [16150.392127] usb 3-2: New USB device
found, idVendor=04a5, idProduct=20fc
Jul 18 12:00:44 localhost kernel: [16150.392133] usb 3-2: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Jul 18 12:00:44 localhost kernel: [16150.392137] usb 3-2: Product:
FlatbedScanner 22
Jul 18 12:00:44 localhost kernel: [16150.392141] usb 3-2: Manufacturer:
Color
Jul 18 12:00:44 localhost mtp-probe: checking bus 3, device 16:
"/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2"
Jul 18 12:00:44 localhost mtp-probe: bus: 3, device: 16 was not an MTP
device



Step 2: Try to grab a PNM
----------------------------------------
# scanimage >image.pnm
[sanei_debug] Setting debug level of snapscan to 5.
[snapscan] test_unit_ready: snapscan_cmd command failed: Device busy
[snapscan] usb_read Only 36 bytes read
[snapscan] inquiry: snapscan_cmd command failed: Error during device I/O
[snapscan] sane_snapscan_open: error in inquiry command: Error during device
I/O
scanimage: open of device snapscan:libusb:003:015 failed: Error during
device I/O


# SANE_DEBUG_SNAPSCAN=255 scanimage > image.pnm
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:003:016)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:003:016)
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbfba4d36,6,0xbfba4d12,0xbfba4d0c (36))
[snapscan] atomic_usb_cmd(0,0xbfba4d36,6,0xbfba4d12,0xbfba4d0c (36))
[snapscan] usb_cmd(0,0xbfba4d36,6,0xbfba4d12,0xbfba4d0c (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] snapscani_check_device: Is vendor "�� ��" model "�����" a
supported scanner?
[snapscan] snapscani_check_device: "�� �� �����" is not one of AGFA SnapScan
300, 310, 600, 1212, 1236, e10, e20, e25, e26, e40, e42, e50, e52 or e60
Acer 300, 310, 610, 610+, 620, 620+, 640, 1240, 3300, 4300 or 5300
Guillemot MaxiScan A4 Deluxe
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 1 write 1
[snapscan] snapscani_usb_cmd(0,0xbfba4d1e,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbfba4d1e,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbfba4d1e,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_cmd: The transaction should now be completed, but the scanner
has more data to send[snapscan] 2nd read 2 write 2
[snapscan] sane_snapscan_get_devices (0xbfba5fbc, 0)
scanimage: no SANE devices found
[snapscan] sane_snapscan_exit


Step 3: retry scan after several minutes and cold shutdown (unplugged
scanner):

scanimage -L
[sanei_debug] Setting debug level of snapscan to 5.
device `snapscan:libusb:003:017' is a Acer FlatbedScanner22 flatbed scanner

# SANE_DEBUG_SNAPSCAN=255 scanimage > image.pnm
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.53
[snapscan] add_usb_device(libusb:003:017)
[snapscan] add_usb_device: Detected (kind of) an USB device
[snapscan] snapscani_usb_open(libusb:003:017)
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
[snapscan] snapscani_check_device()
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90d836,6,0xbf90d812,0xbf90d80c (36))
[snapscan] atomic_usb_cmd(0,0xbf90d836,6,0xbf90d812,0xbf90d80c (36))
[snapscan] usb_cmd(0,0xbf90d836,6,0xbf90d812,0xbf90d80c (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 36 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] snapscani_check_device: Is vendor "Color" model
"FlatbedScanner22" a supported scanner?
[snapscan] snapscani_get_model_id(FlatbedScanner22, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x20f8.
[snapscan] snapscani_check_device: Autodetected driver: Acer4300 (42 bit)
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(0,0xbf90d81e,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90d81e,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90d81e,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbf90eabc, 0)
[snapscan] sane_snapscan_open (libusb:003:017, 0xbf90eab4)
[snapscan] find_device
[snapscan] sane_snapscan_open: Allocating 64512 bytes as scanner buffer.
[snapscan] sane_snapscan_open: allocated scanner structure at 0x8681998
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:003:017)
[snapscan] sane_snapscan_open: waiting for scanner to warm up.
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sane_snapscan_open: performing scanner self test.
[snapscan] send_diagnostic
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90ea44,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90ea44,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90ea44,6,0x0,0x0 (0))
[snapscan] sane_snapscan_open: self test passed.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (120))
[snapscan] atomic_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (120))
[snapscan] usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (120))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x78 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 120 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry: exposure time: 0.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: G2R_DIFF: 0
[snapscan] inquiry: B2R_DIFF: 0
[snapscan] inquiry: Chroma offsets=0; Red=0, Green:=0, Blue=0
[snapscan] inquiry: hardware config = 0x00
[snapscan] inquiry: bits per pixel = 8
[snapscan] inquiry: pixels per scan line = 0
[snapscan] inquiry: bytes per scan line = 0
[snapscan] inquiry: number of scan lines = 0
[snapscan] inquiry: effective buffer size = 0 bytes, 0 lines
[snapscan] inquiry: expected total scan data: 0 bytes
[snapscan] Looking up 248
[snapscan] Downloading /usr/share/sane/snapscan/20F8V114.bin
[snapscan] Size of firmware: 65281
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8691eb8,65291,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x8691eb8,65291,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x8691eb8,65291,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=65281
[snapscan] usb_write: writing:  0x2a 0x00 0x87 0x00 0x00 0x00 0x00 0xff 0x01
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x02 0x79 0xde 0x02 0x19 0x1a 0x7f 0x7c 0x02
0x91 ...
[snapscan] Written 65281 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x02 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_request_sense
[snapscan] usb_cmd(0,0xbf90e716,6,0xbf90e6fa,0xbf90e6f4 (20))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x03 0x00 0x00 0x00 0x14 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0b 0x00
0x00 ...
[snapscan] Read 20 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sense_handler(0, 0xbf90e6fa, 0x8681998)
[snapscan] sense_handler: sense key: 0x02, asc: 0x04, ascq: 0x01, i1: 0x1f,
i2: 0x00
[snapscan] sense_handler: Not ready.
[snapscan] sense_handler: Logical unit is in process of becoming ready. (31
seconds)
[snapscan] sense_handler: Not ready.
[snapscan] test_unit_ready: snapscan_cmd command failed: Device busy
[snapscan] Scanner warming up - waiting 31 seconds.
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90e9c6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] mini_inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9c6,6,0xbf90e9a2,0xbf90e99c (36))
[snapscan] atomic_usb_cmd(0,0xbf90e9c6,6,0xbf90e9a2,0xbf90e99c (36))
[snapscan] usb_cmd(0,0xbf90e9c6,6,0xbf90e9a2,0xbf90e99c (36))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x24 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x57 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 36 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] sane_snapscan_open (after firmware upload): Checking if
"FlatbedScanner42" is a supported scanner
[snapscan] snapscani_get_model_id(FlatbedScanner42, 0, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x20f8.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] atomic_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x8a 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x57 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 138 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry: exposure time: ;.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: G2R_DIFF: 0
[snapscan] inquiry: B2R_DIFF: 0
[snapscan] inquiry: Chroma offsets=0; Red=0, Green:=0, Blue=0
[snapscan] inquiry: hardware config = 0x9d
[snapscan] inquiry: bits per pixel = 14
[snapscan] inquiry: pixels per scan line = 5100
[snapscan] inquiry: bytes per scan line = 5100
[snapscan] inquiry: number of scan lines = 0
[snapscan] inquiry: effective buffer size = 0 bytes, 0 lines
[snapscan] inquiry: expected total scan data: 0 bytes
[snapscan] close_scanner
[snapscan] snapscani_usb_close(0)
[snapscan] 1st read 20 write 8170
[snapscan] 2nd read 20 write 8170
[snapscan] alloc_gamma_tables: using 4*16384 bytes for gamma table
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 0)
[snapscan] sane_snapscan_control_option (0x8681998, 0, 0, 0xbf90eba8, (nil))
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 0)
[snapscan] sane_snapscan_control_option (0x8681998, 0, 0, 0xbf90ead8, (nil))
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 1)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 2)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 3)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 4)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 5)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 6)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 7)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 8)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 9)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 10)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 11)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 12)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 13)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 14)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 15)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 16)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 17)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 18)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 19)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 20)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 21)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 22)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 23)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 24)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 25)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 26)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 27)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 28)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 29)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 30)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 31)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 32)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 33)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 34)
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 35)
[snapscan] sane_snapscan_control_option (0x8681998, 11, 0, 0x80538b0, (nil))
[snapscan] sane_snapscan_control_option (0x8681998, 9, 0, 0xbf90eadc, (nil))
[snapscan] sane_snapscan_control_option (0x8681998, 12, 0, 0x80538b4, (nil))
[snapscan] sane_snapscan_control_option (0x8681998, 10, 0, 0xbf90eadc,
(nil))
[snapscan] sane_snapscan_control_option (0x8681998, 9, 0, 0xbf90ebb0, (nil))
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 11)
[snapscan] sane_snapscan_control_option (0x8681998, 11, 1, 0xbf90ebb4,
0xbf90eadc)
[snapscan] sane_snapscan_control_option: option br-x set to value [snapscan]
other than an integer or boolean.
[snapscan] sane_snapscan_control_option (0x8681998, 10, 0, 0xbf90ebb0,
(nil))
[snapscan] sane_snapscan_get_option_descriptor (0x8681998, 12)
[snapscan] sane_snapscan_control_option (0x8681998, 12, 1, 0xbf90ebb4,
0xbf90eadc)
[snapscan] sane_snapscan_control_option: option br-y set to value [snapscan]
other than an integer or boolean.
[snapscan] sane_snapscan_start (0x8681998)
[snapscan] open_scanner
[snapscan] snapscani_usb_open(libusb:003:017)
[snapscan] wait_scanner_ready
[snapscan] test_unit_ready
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9d6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90e9d6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90e9d6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] reserve_unit
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90ea96,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90ea96,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90ea96,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x16 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] set_window
[snapscan] set_window Resolution: 300
[snapscan] set_window Width:  5102
[snapscan] set_window Length: 7015
[snapscan] set_window Mode: 0
[snapscan] set_window: bits-per-pixel set to 8
[snapscan] set_window: operation mode set to 0xc0
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,66,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x86819c8,66,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x86819c8,66,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=56
[snapscan] usb_write: writing:  0x24 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x38
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x30 0x00
0x00 ...
[snapscan] Written 56 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] atomic_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x8a 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x57 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 138 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry: exposure time: ;.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: G2R_DIFF: 134
[snapscan] inquiry: B2R_DIFF: 140
[snapscan] inquiry: Chroma offsets=12; Red=12, Green:=6, Blue=0
[snapscan] inquiry: hardware config = 0x9d
[snapscan] inquiry: bits per pixel = 14
[snapscan] inquiry: pixels per scan line = 2548
[snapscan] inquiry: bytes per scan line = 7644
[snapscan] inquiry: number of scan lines = 3480
[snapscan] inquiry: effective buffer size = 61152 bytes, 17 lines
[snapscan] inquiry: expected total scan data: 26692848 bytes
[snapscan] download_gamma_tables
[snapscan] download_gamma_tables: Sending gamma table for 14 bpp
[snapscan] send
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=16384
[snapscan] usb_write: writing:  0x2a 0x00 0x03 0x00 0x00 0x96 0x00 0x40 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x00 0x01 0x02 0x02 0x03 0x03 0x03 0x03 0x04
0x04 ...
[snapscan] Written 16384 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] send
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=16384
[snapscan] usb_write: writing:  0x2a 0x00 0x03 0x00 0x00 0x97 0x00 0x40 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x00 0x01 0x02 0x02 0x03 0x03 0x03 0x03 0x04
0x04 ...
[snapscan] Written 16384 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] send
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd(0,0x8682148,16394,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=16384
[snapscan] usb_write: writing:  0x2a 0x00 0x03 0x00 0x00 0x98 0x00 0x40 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_write: writing:  0x00 0x01 0x02 0x02 0x03 0x03 0x03 0x03 0x04
0x04 ...
[snapscan] Written 16384 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] measure_transfer_rate: have ring buffer
[snapscan] scsi_read
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (61184))
[snapscan] atomic_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (61184))
[snapscan] usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (61184))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x80 0x00 0x00 0x00 0x00 0xef 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x04
0x04 ...
[snapscan] Read 61184 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] scsi_read
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] atomic_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x80 0x00 0x00 0x00 0x00 0x00 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] scsi_read
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] atomic_usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] usb_cmd(0,0x86819c8,10,0x8682148,0x8681ad8 (0))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x80 0x00 0x00 0x00 0x00 0x00 0x00
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] measure_transfer_rate: successfully calibrated transfer rate.
[snapscan] inquiry
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] atomic_usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd(0,0x86819c8,6,0x8682148,0x8681ad8 (138))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x12 0x00 0x00 0x00 0x8a 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read: reading:  0x06 0x00 0x02 0x02 0x57 0x00 0x00 0x00 0x43
0x6f ...
[snapscan] Read 138 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] inquiry: exposure time: ;.0 ms
[snapscan] inquiry: ms per line: 0.000000
[snapscan] inquiry: G2R_DIFF: 134
[snapscan] inquiry: B2R_DIFF: 140
[snapscan] inquiry: Chroma offsets=12; Red=12, Green:=6, Blue=0
[snapscan] inquiry: hardware config = 0x9d
[snapscan] inquiry: bits per pixel = 14
[snapscan] inquiry: pixels per scan line = 2548
[snapscan] inquiry: bytes per scan line = 7644
[snapscan] inquiry: number of scan lines = 3480
[snapscan] inquiry: effective buffer size = 61152 bytes, 17 lines
[snapscan] inquiry: expected total scan data: 26692848 bytes
[snapscan] sane_snapscan_start: after measuring speed:
    7644 bytes per scan line
    0.000000 milliseconds per scan line.
    ==>inf bytes per millisecond
[snapscan] calibrate: reading calibration data (2 lines)
[snapscan] read_calibration_data
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0x86819c8,10,0x86920f8,0xbf90e9dc (61200))
[snapscan] atomic_usb_cmd(0,0x86819c8,10,0x86920f8,0xbf90e9dc (61200))
[snapscan] usb_cmd(0,0x86819c8,10,0x86920f8,0xbf90e9dc (61200))
[snapscan] usb_cmd: cmdlen=10, datalen=0
[snapscan] usb_write: writing:  0x28 0x00 0x82 0x00 0x00 0x02 0x00 0xef 0x10
0x00
[snapscan] Written 10 bytes
[snapscan] usb_read: reading:  0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] usb_read Only 56864 bytes read
[snapscan] usb_read: reading:  0x42 0x43 0x3f 0x43 0x41 0x40 0x43 0x41 0x46
0x45 ...
[snapscan] Read 56864 bytes
[snapscan] read_calibration_data: snapscan_cmd command failed: Error during
device I/O
[snapscan] calibrate: read_calibration_data command failed: Error during
device I/O
[snapscan] sane_snapscan_start: calibration failed.
[snapscan] release_unit
[snapscan] snapscan_cmd
[snapscan] snapscani_usb_cmd(0,0xbf90e9e6,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(0,0xbf90e9e6,6,0x0,0x0 (0))
[snapscan] usb_cmd(0,0xbf90e9e6,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x17 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
scanimage: sane_start: Error during device I/O
[snapscan] sane_snapscan_cancel
[snapscan] >>>>>>>> killing reader_process <<<<<<<<
Stack overflow (`core' generated)



-- 
---
Noe Nieto
NNieto Consulting Services
M: nnieto at noenieto.com
W: http://noenieto.com
T:  @tzicatl <https://twitter.com/#%21/tzicatl>
Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110718/d652efc3/attachment-0001.html>


More information about the sane-devel mailing list