[sane-devel] Canon DR-9050C

m. allan noah kitno455 at gmail.com
Tue Aug 21 18:44:14 UTC 2012


It is quite possible that there is some option in the driver which is
on by default, which requires high res or high depth scans.
Particularly automatic deskew or edge detection type things.

It might be possible to use your modified version of sane to see if
the scanner complains when you try to change those parameters.

allan

On Mon, Aug 20, 2012 at 11:31 PM, Philip Gwyn <philipgwyn at gmail.com> wrote:
> On Fri, Aug 17, 2012 at 2:02 PM, Philip Gwyn <philipgwyn at gmail.com> wrote:
>>
>> And yes, I figured the Windows driver would be better.  I've been resisting setting up VirtualBox and a Windows VM because I dislike Windows and it seems like an annoying level of effort.   I'm going to give USBlyser a spin first.
>
> I tried out USBlyser.  It doesn't save to a text format, so I can't
> diff them.  A rough look over what is happening and I see nothing to
> change the hypothesis that the scanner does the entire page in colour
> and cropping, BW, greyscale happen in the driver.
>
> After much cursing, I got VirtualBox, Windows, CapturePerfect and the
> DR-9050C drivers to work and captured the output.  Annoyingly,
> CapturePerfect polls the scanner and this clutters up the logs.
> Output is here:
>      http://pied.nu/Sane/canon_dr-20120820-b.tar.gz
>
> 'filter' is perl post-processor for tshark -x -r foo. pcap.  It
> isolates bytes 0020-002F of host->device transfers, which seems to be
> where the commands are.  Diffing the output, I see that the resolution
> is set with buffers that look like :
>
> 0000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
> 0010  01 00 00 00 00 00 00 00 00 00 00 3c 00 02 b0 00   ...........<....
> 0020  00 00 00 00 00 00 00 00 00 00 00 2c 00 00 01 2c   ...........,...,
> 0030  01 2c 00 00 08 f4 00 00 00 00 00 00 27 d8 00 00   .,..........'...
> 0040  33 90 80 80 80 00 01 00 00 20 00 00 00 00 00 00   3........ ......
> 0050  00 00 00 00 00 00 00 00                           ........
>
> NB : 12c == 300 dpi



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list