[sane-devel] "scsi * * Scanner" not working?
Hi, On Thu, Sep 20, 2001 at 11:07:53PM +0200, Karsten Festag wrote: > I (and possibly others) have problems using > scsi * * Scanner > in the conf file. In this case no scanners are found. If I compile my > backend with SANE-1.0.4 all works fine. Is there a bug in sanei-scsi? This happens with devices returning an empty vendor or product (only spaces). I mentioned this problem some weeks ago and Abel Deuring sent me a patch for testing, but it hasn't been applied. I just committed it to CVS. Please test. Bye, Henning
[sane-devel] "scsi * * Scanner" not working?
Hi all, I (and possibly others) have problems using scsi * * Scanner in the conf file. In this case no scanners are found. If I compile my backend with SANE-1.0.4 all works fine. Is there a bug in sanei-scsi? Regards Karsten This is a debug output of SANE-1.0.4: [microtek2] parse_config_file: read line: scsi * * Scanner [microtek2] parse_config_file: found device scsi * * Scanner [sanei_debug] Setting debug level of sanei_scsi to 100. [sanei_scsi] searched device is /dev/sg0 [microtek2] attach_one: name='/dev/sg0' [microtek2] add_device_list: device='/dev/sg0' [microtek2] add_device_list: md=0x80e4840, malloc'd 2128 bytes [microtek2] free hdev at 0x80e43e8 [microtek2] attach: device='/dev/sg0' [microtek2] scsi_inquiry: mi=0x80e4844, device='/dev/sg0' [sanei_debug] Setting debug level of sanei_scsi to 100. [sanei_scsi] sanei_scsi_open: SG driver version: 30119 [sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer And this one is from SANE-1.0.5: [microtek2] parse_config_file: read line: scsi * * Scanner [microtek2] parse_config_file: found device scsi * * Scanner [sanei_debug] Setting debug level of sanei_scsi to 100. [microtek2] add_device_list: device='/dev/scanner' [microtek2] add_device_list: md=0x80e4560, malloc'd 5164 bytes [microtek2] free hdev at 0x80e2ea8 [microtek2] attach: device='/dev/scanner' [microtek2] scsi_inquiry: mi=0x80e4564, device='/dev/scanner' [sanei_debug] Setting debug level of sanei_scsi to 100. [sanei_debug] Setting debug level of sanei_scsi to 100. [sanei_debug] Setting debug level of sanei_scsi to 100. [sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=131072 bytes [sanei_scsi] sanei_scsi_open: open of `/dev/scanner' failed: Datei oder Verzeichnis nicht gefunden