[sane-devel] Adding hotplug scripts to CVS

Julien BLACHE jb@jblache.org
Thu, 26 Feb 2004 10:52:07 +0100


Marcel Pol <mpol@gmx.net> wrote:

Hi,

> I did have some problems with it however, reconnecting the scanner made the
> corresponding file go from /proc/bus/usb/001/002 to */003, and for that file
> the ownership wasn't set correctly. I'm not sure if that's just some /proc
> weirdness or not.

That's because the USB subsystem assigns a new ID to the device each
time it's plugged in, and never goes backwards.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb@jblache.org>                                  GPG KeyID 0xF5D65169