Hi,
John Fremlin and I are writing a driver for the Microtek X6USB scanner. We
are now at a stage where the driver might work. I turned sane to it, but
got no success. Could someone please help me making sense of the debug
output ?
TIA
Oliver Neukum
root@ghanima:/home/oliver/linux > scanimage -L
[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend microtek2
[dll] loading backend microtek2
[dll] dlopen()ing `/usr/lib/sane/libsane-microtek2.so.1'
[dll] init: initializing backend `microtek2'
[sanei_init_debug]: Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.6) says hello...
[microtek2] attach_one: name='# See sane-microtek2(5) for a description of the options
'
[microtek2] add_device_list: device='# See sane-microtek2(5) for a description of the options'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='
'
[microtek2] add_device_list: device=''
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='option dump 1
'
[microtek2] add_device_list: device='option dump 1'
[microtek2] attach_one: returning
[microtek2] attach_one: name='# option lightlid-35 on
'
[microtek2] add_device_list: device='# option lightlid-35 on'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='# option no-backtrack-option on
'
[microtek2] add_device_list: device='# option no-backtrack-option on'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='#scsi * * Scanner
'
[microtek2] add_device_list: device='#scsi * * Scanner'
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] attach_one: name='/dev/sg4
'
[microtek2] add_device_list: device='/dev/sg4'
[microtek2] attach: device='/dev/sg4'
[microtek2] scsi_inquiry: mi=0x804db94, device='/dev/sg4'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=32768 bytes
[sanei_scsi] scsi_req_enter: entered 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e4f0
[sanei_scsi] sanei_scsi.issue: 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes
[sanei_scsi] scsi_req_enter: entered 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e4f0
[sanei_scsi] sanei_scsi.issue: 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[microtek2] check_inquiry: mi=0x804db94
[microtek2] check_inquiry: Model 0x99 not supported
[microtek2] attach_one: returning
[microtek2] attach_one: name='
'
[microtek2] add_device_list: device=''
[microtek2] add_device_list: Comment or empty line in microtek2.conf
[microtek2] attach_one: returning
[microtek2] sane_get_devices: local_only=0
[microtek2] attach: device='/dev/sg4'
[microtek2] scsi_inquiry: mi=0x804db94, device='/dev/sg4'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] scsi_req_enter: entered 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e4f0
[sanei_scsi] sanei_scsi.issue: 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes
[sanei_scsi] scsi_req_enter: entered 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804e4f0
[sanei_scsi] sanei_scsi.issue: 0x804e4f0
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
[microtek2] check_inquiry: mi=0x804db94
[microtek2] check_inquiry: Model 0x99 not supported
[microtek2] sane_get_devices: attach status 'Error during device I/O'
[microtek2] sane_get_devices: returning
[dll] exiting
[dll] calling backend `microtek2's exit function
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.
Apr 17 22:56:42 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:545 (microtek_queuecommand)
Apr 17 22:56:42 ghanima kernel: Vendor: Model: Scanner 636A4 Rev: 1.50
Apr 17 22:56:42 ghanima kernel: Type: Scanner ANSI SCSI revision: 02
Apr 17 22:56:42 ghanima kernel: Detected scsi generic sg4 at scsi2, channel 0, id 0, lun 0, type 6
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:332 (microtek_command)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): something is asking our host for lun=0 id=0 channel=0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): device descriptor at 0xc5d9bc60
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): usb device at 0xc13aa200
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): Command INQUIRY (6 bytes)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): 12 00 00 00 05 00 35 c4 64 63
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0008203 length=6 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:492 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->use_sg = 0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->request_bufflen = 5
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->bufflen = 5
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->sc_data_direction = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): there are 5 bytes of data to transport
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:418 (transfer_data)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfering from desc->ep_response = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:384 (transfer_chunks)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=5 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:521 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=1 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): releasing lock
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:540 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:545 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:332 (microtek_command)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): something is asking our host for lun=0 id=0 channel=0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): device descriptor at 0xc5d9bc60
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): usb device at 0xc13aa200
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): Command INQUIRY (6 bytes)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): 12 00 00 00 60 00 35 c4 64 63
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0008203 length=6 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:492 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->use_sg = 0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->request_bufflen = 96
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->bufflen = 96
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->sc_data_direction = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): there are 96 bytes of data to transport
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:418 (transfer_data)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfering from desc->ep_response = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:384 (transfer_chunks)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:521 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=1 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): releasing lock
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:540 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:545 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:332 (microtek_command)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): something is asking our host for lun=0 id=0 channel=0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): device descriptor at 0xc5d9bc60
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): usb device at 0xc13aa200
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): Command INQUIRY (6 bytes)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): 12 00 00 00 05 00 35 c4 64 63
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0008203 length=6 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:492 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->use_sg = 0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->request_bufflen = 5
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->bufflen = 5
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->sc_data_direction = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): there are 5 bytes of data to transport
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:418 (transfer_data)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfering from desc->ep_response = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:384 (transfer_chunks)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=5 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:521 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=1 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): releasing lock
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:540 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:545 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:332 (microtek_command)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): something is asking our host for lun=0 id=0 channel=0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): device descriptor at 0xc5d9bc60
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): usb device at 0xc13aa200
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): Command INQUIRY (6 bytes)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): 12 00 00 00 60 00 35 c4 64 63
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0008203 length=6 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:492 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->use_sg = 0
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->request_bufflen = 96
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->bufflen = 96
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): srb->sc_data_direction = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): there are 96 bytes of data to transport
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:418 (transfer_data)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfering from desc->ep_response = 2
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:384 (transfer_chunks)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=32 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:521 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:345 (transfer)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer pipe=c0010283 length=1 timeout=200000
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer done
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): transfer OK
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): releasing lock
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:540 (microtek_queuecommand)
Apr 17 23:07:05 ghanima kernel: microtek usb (rev 0.0.3): got to microtek.c:545 (microtek_queuecommand)
oliver@ghanima:~ > cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.09
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: ARCHIVE Model: Python 27871-XXX Rev: 1214
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
Vendor: SyQuest Model: SQ5110 Rev: D5E
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: MITSUMI Model: CR-2801TE Rev: 1.10
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Scanner 636A4 Rev: 1.50
Type: Scanner ANSI SCSI revision: 02
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Mon Apr 17 2000 - 12:52:55 PDT