[sane-devel] Getting HP ScanJet 5300C to work

Simon J. Rowe srowe at mose.org.uk
Wed Sep 5 20:34:18 BST 2018


On 04/09/18 21:42, Robert A. Schmied wrote:
> aloha simon
>
> you might check to see if version sane-backends-1.0.27 made any
> changes to avision and maybe even sanei_usb.  if so you would
> probably be well served to install this newer version.
>
> you also might check to see if there is a way to inhibit the
> calibration operation, just to see if a scan can actually work.
> try something like
>     scanimage -v -d avision:libusb:003:005 -A
> to get an idea of all the supported options for avision.
>
>
> best of luck
>
> ras 

Thanks for the suggestions. I've made a little progress by disabling the 
gamma table using

     option disable-gamma-table

The test gets a lot further now but hangs while closing the device.

Trying a scan seems to stall after receiving part of the data

[avision] reader_process: processed_bytes: 801360, total_size: 6678000
[avision] reader_process: this_read: 30528
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (interrupt read) going down ...
[avision] <== (interrupt read) got: 1, status: 0
[avision] reader_process: stripe filled: 38160
[avision] reader_process: useful_bytes 30528
[avision] reader_process: end of iteration
[avision] reader_process: stripe filled: 7632
[avision] reader_process: processed_bytes: 831888, total_size: 6678000
[avision] reader_process: this_read: 30528
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[sanei_usb] sanei_usb_read_bulk: read failed: Operation timed out
[avision] No data arrived.

I'm going to try your suggestion of building the latest code and using 
that instead,

Simon




More information about the sane-devel mailing list