[sane-devel] python-sane - checking for active device

2006-03-21 Thread m. allan noah
On Tue, 21 Mar 2006, Horst Herb wrote: > What is the correct way of checking whether a device is available (plugged in, > switched on) using the python SANE interface? > > If I switch my scanner off, sane.get_devices(), sane keeps reporting the > scanner as if it was still available. > > If I star

[sane-devel] python-sane - checking for active device

2006-03-21 Thread Horst Herb
What is the correct way of checking whether a device is available (plugged in, switched on) using the python SANE interface? If I switch my scanner off, sane.get_devices(), sane keeps reporting the scanner as if it was still available. If I start the program with the scanner switched off, and s