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

2012-03-26 Thread Olaf Meeuwissen
Martin Zackrisson martin.zackrisson at cmb.gu.se writes: On 03/23/2012 12:37 AM, Olaf Meeuwissen wrote: These days the USB devices stay at the same place below /sys/ even when power cycled. Only when replugging to a *different* USB port will this location change. I'm not sure what happens

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

2012-03-23 Thread Olaf Meeuwissen
Martin Zackrisson martin.zackrisson at cmb.gu.se writes: It is a modified version of the epson2-backend (don't know if the patch of last fall has made its way into the main dist). The OS is Ubuntu, the latest I think or the latest long-term (not sitting close to that computer at present). My

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

2012-03-23 Thread Martin Zackrisson
On 03/23/2012 12:37 AM, Olaf Meeuwissen wrote: These days the USB devices stay at the same place below /sys/ even when power cycled. Only when replugging to a *different* USB port will this location change. I'm not sure what happens when you reboot. Assuming that you know which scanner

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

2012-03-22 Thread Martin Zackrisson
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

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

2012-03-22 Thread m. allan noah
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

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

2012-03-22 Thread Martin Zackrisson
It is a modified version of the epson2-backend (don't know if the patch of last fall has made its way into the main dist). The OS is Ubuntu, the latest I think or the latest long-term (not sitting close to that computer at present). My first thought was to look for the serial too, and

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

2012-03-22 Thread m. allan noah
how does epson2 format the device names now? allan On Thu, Mar 22, 2012 at 7:37 AM, Martin Zackrisson martin.zackrisson at cmb.gu.se wrote: It is a modified version of the epson2-backend (don't know if the patch of last fall has made its way into the main dist). The OS is Ubuntu, the latest I