[sane-devel] ICC support for SANE
Julien BLACHE
jb at jblache.org
Mon May 11 14:22:53 UTC 2009
"m. allan noah" <kitno455 at gmail.com> wrote:
Hi,
> 1. I dont think the connection port matters, and particularly with usb
> devices, that information can change every time the machine reboots.
> It is also not universally exposed in the SANE_Device struct, since
> some drivers put other unique info in that spot.
>
> 2. I think the serial number matters, but you usually wont get it.
> Many machines cannot report their serial numbers, and so the driver
> cannot give it to you.
To put it in a nutshell: uniquely identifying a scanner, don't count
on it. If it was doable, we would have done so loooooong ago already.
Fact is, USB scanners reporting a serial number at the USB level are
the exception. And as Allan wrote already, even otherwise, not a lot
of machines expose a serial number. Manufacturers just don't care,
except on high-end machines.
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb at jblache.org> GPG KeyID 0xF5D65169
More information about the sane-devel
mailing list