[sane-devel] Identifying identical scanners dynamically turned on and off

m. allan noah kitno455 at gmail.com
Thu Mar 22 11:13:46 UTC 2012

This would depend upon the backend, hardware and OS that you use. The
fujitsu backend is capable of reading the serial number of the
scanner, and uses that as part of the device name. Other backends
cannot do this because the hardware does not know its own serial
number. In that case, you would have to give the device a consistent
name at the OS level, and somehow get the backend to use that name.


On Thu, Mar 22, 2012 at 6:22 AM, Martin Zackrisson
<martin.zackrisson at cmb.gu.se> wrote:
> My problem is this:
> I will have 2-4 identical scanners attached to the same computer. Due to the
> needs of the application, the power to the scanners will be cut and turned
> on automatically by the computer when they are to scan. All scanners will be
> doing this,  turn on - scan - turn off, in parallel several times per hour.
> I can not know if they will be on at the same time nor if the order will
> stay the same.
> So what I'd like to do, since they will be plugged into specific USB-ports,
> is to identify them by their physical port. But how to do this so a normal
> user has rights to communicate with the scanner in a safe manner? I haven't
> seen any information when investigating the scanner(s) as to their physical
> port/position. It might be that I haven't succeeded fully to agree with
> udev.
> At present only one scanner is attached and that works wonderfully but I
> call it without specifying device.
> Scanner-brand: Epson V700
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>            to sane-devel-request at lists.alioth.debian.org

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

More information about the sane-devel mailing list