[sane-devel] Re: [sane-avision] scanimage usb problem.

Erik P. Olsen epodata at gmail.com
Sat May 12 19:24:41 UTC 2007


René Rebe wrote:
> Hi Erik,
> 
> On Friday 11 May 2007 23:11:27 Erik P. Olsen wrote:
> 
>> I have changed my HP 7400c scanner connection from scsi to usb which gives me a
>> strange problem. sane-find-scanner finds the scanner OK. xsane accesses the
>> scanner correctly. scanimage -L hangs. Setting debug trace on I get:
>>
>> [erik at epohost ~]$ SANE_DEBUG_AVISION=15 scanimage -L
>> [sanei_debug] Setting debug level of avision to 15.
>> [avision] sane_init:(Version: 1.0 Build: 229)
>> [avision] sane_init: parsing config line ""
>> [avision] sane_init: config file line 1: ignoring empty line
>> [avision] sane_init: parsing config line "# This are the possible options.
>> Normally any scanner"
>> [avision] sane_init: config file line 2: ignoring comment line
>> [avision] sane_init: parsing config line "# should work just fine without them -
>> and they are only"
>> [avision] sane_init: config file line 3: ignoring comment line
>> [avision] sane_init: parsing config line "# needed for test and debugging. So if
>> you experience problems"
>> [avision] sane_init: config file line 4: ignoring comment line
>> [avision] sane_init: parsing config line "# and you solve them with enabling
>> options here, please notify"
>> [avision] sane_init: config file line 5: ignoring comment line
>> [avision] sane_init: parsing config line "# the SANE/Avision maintainer: Rene
>> Rebe <rene at exactcode.de>"
>> [avision] sane_init: config file line 6: ignoring comment line
>> [avision] sane_init: parsing config line ""
>> [avision] sane_init: config file line 7: ignoring empty line
>> [avision] sane_init: parsing config line "#option disable-gamma-table"
>> [avision] sane_init: config file line 8: ignoring comment line
>> [avision] sane_init: parsing config line "#option disable-calibration"
>> [avision] sane_init: config file line 9: ignoring comment line
>> [avision] sane_init: parsing config line "#option force-a4"
>> [avision] sane_init: config file line 10: ignoring comment line
>> [avision] sane_init: parsing config line ""
>> [avision] sane_init: config file line 11: ignoring empty line
>> [avision] sane_init: parsing config line "#scsi AVISION"
>> [avision] sane_init: config file line 12: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi FCPA"
>> [avision] sane_init: config file line 13: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi MINOLTA"
>> [avision] sane_init: config file line 14: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi MITSBISH MCA-S600C"
>> [avision] sane_init: config file line 15: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi MITSBISH MCA-SS600"
>> [avision] sane_init: config file line 16: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi HP"
>> [avision] sane_init: config file line 17: ignoring comment line
>> [avision] sane_init: parsing config line "#scsi hp"
>> [avision] sane_init: config file line 18: ignoring comment line
>> [avision] sane_init: parsing config line ""
>> [avision] sane_init: config file line 19: ignoring empty line
>> [avision] sane_init: parsing config line "#scsi /dev/scanner"
>> [avision] sane_init: config file line 20: ignoring comment line
>> [avision] sane_init: parsing config line "#usb libusb:001:003"
>> [avision] sane_init: config file line 21: ignoring comment line
>> [avision] sane_init: parsing config line "usb 0x03f0 0x0801"
>> [avision] sane_init: config file line 22: trying to attach USB:`usb 0x03f0 0x0801'
>> [avision] attach:
>> [avision] attach: opening libusb:001:003
>> [avision] inquiry: length: 96
>> [avision] inquiry: inquiring ...
>> [avision] filling command to have a length of 10, was: 6
>> [avision] Timeouts: write: 30000, read: 15000, status: 15000
>> [avision] try to write cmd, count: 10.
>> [avision] wrote 10 bytes
>> [avision] try to read 96 bytes
>> [avision] read 96 bytes
>> [avision] avision_usb_status: timeout 15000, 1 retries
>> [avision] ==> (bulk read) going down ...
>> [avision] <== (bulk read) got: 0, status: 0
>> [avision] ==> (interrupt read) going down ...
>> [avision] <== (interrupt read) got: 1, status: 0
>> [avision] attach: Inquiry gives mfg=hp, model=scanjet 7400c, product revision=0.8S.
>> [avision] attach: Found model: 57
>> [avision] inquiry: length: 96
>> [avision] inquiry: inquiring ...
>> [avision] filling command to have a length of 10, was: 6
>> [avision] Timeouts: write: 30000, read: 15000, status: 15000
>> [avision] try to write cmd, count: 10.
>> [avision] wrote 10 bytes
>> [avision] try to read 96 bytes
>> [avision] read 96 bytes
>> [avision] avision_usb_status: timeout 15000, 1 retries
>> [avision] ==> (bulk read) going down ...
>> [avision] <== (bulk read) got: 0, status: 0
>> [avision] ==> (interrupt read) going down ...
>> [avision] <== (interrupt read) got: 1, status: 0
>> [avision] inquiry: length: 136
>> [avision] inquiry: inquiring ...
>> [avision] filling command to have a length of 10, was: 6
>>
>> What can my problem be?
> 
> Did the scanner work fine over SCSI with the same backend version? Can you
> scan via xsane but just scanimage -L hangs?

Yes, the scanner works OK over scsi and yes, I can scan via xsane and it's just
scanimage that hangs.
> 
> Hm, I guess it's time to pull the 74xx from the shelf near me.

Thanks, then please also take a look at the yellow stip at the left margin which
shows up at colour scans :-)
> 
> Yours,
> 





More information about the sane-devel mailing list