Hi,
we've written a driver that does scsi over usb for the Microtek X6USB.
After adding 0x99 to the supported scanners in sane1.0.2 I got this:
root@ghanima:/usr/local/etc/sane.d > /usr/local/bin/scanimage -L
[sanei_init_debug]: Setting debug level of microtek2 to 128.
[microtek2] sane_init: Microtek2 (v0.8) says hello...
[microtek2] parse_config_file: fp=0x804ddb0
[microtek2] attach_one: name='/dev/sg4
'
[microtek2] add_device_list: device='/dev/sg4'
[microtek2] attach: device='/dev/sg4'
[microtek2] scsi_inquiry: mi=0x804de94, 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] sanei_scsi_open: SG driver version: 30112
[sanei_scsi] sanei_scsi_open_extended: using 32768 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: could not allocate SG buffer memory wanted: 131072 got: 32768
[microtek2] scsi_inquiry: 'Out of memory'
[microtek2] attach: 'Out of memory'
[microtek2] sane_get_devices: local_only=0
[microtek2] attach: device='/dev/sg4'
[microtek2] scsi_inquiry: mi=0x804de94, device='/dev/sg4'
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: SG driver version: 30112
[sanei_scsi] sanei_scsi_open_extended: using 32768 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: could not allocate SG buffer memory wanted: 131072 got: 32768
[microtek2] scsi_inquiry: 'Out of memory'
[microtek2] attach: 'Out of memory'
[microtek2] sane_get_devices: attach status 'Out of memory'
[microtek2] sane_exit:
[microtek2] sane_get_devices: local_only=0
[microtek2] sane_get_devices: sd_list_freed
[microtek2] sane_exit: MICROTEK2 says goodbye.
The driver doesn't support scatter/gather. May that be the reason ?
Oliver Neukum
-- 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 : Tue Apr 18 2000 - 00:16:08 PDT