[sane-devel] Q: improving epson2 for Epson 12000XL

Wolfram Sang wsa at kernel.org
Fri Sep 18 19:08:38 BST 2020

Some more news on 'focus'.

> b) It seems to me that set_focus is not working for this model because
>    e2_set_extended_scanning_parameters() says "/* XXX focus */" and no byte in
>    the buffer is filled with the focus value. Probably the location is unknown?
>    And I'd need to snoop Windows USB traffic to (hopefully) figure it out?

It doesn't look like there is a byte in the extended parameters. You
need to send the ESC p command as usual.

> c) 'focus' has only two options. 0mm and 2.5mm. The hex values are 0x19 apart.
>    That being dec 25, it is tempting to try inbetween values. But I assume I'd
>    need some evidence that those values are "officially OK" somehow?

I discovered that 0..0xfe is the focus setting, and 0xff means
autofocus. I think focus handling of the coolscan3 driver matches epson2
pretty well.

Let's see how it goes...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200918/924700cf/attachment.sig>

More information about the sane-devel mailing list