[sane-devel] Calling a script after USB scanner is plugged

Rainer Dorsch rdorsch at web.de
Mon Apr 28 19:41:04 UTC 2008

Am Samstag, 26. April 2008 schrieb Julien BLACHE:
> Rainer Dorsch <rdorsch at web.de> wrote:
> Hi,
> > The script works now reasonably robust (for now) when I plug the USB
> > scanner. My problem is though, that the script does not get called when I
> > boot the system and the scanner is plugged already during bootup. Why is
> > this?
> Chances are the coldplugging happens from the initrd and your script
> isn't available in the initrd. So check that.

How would I check if coldplugging happens from the initrd? 

And would that explain that /etc/init.d/udev restart no effect?


Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
email: rdorsch at web.de
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

More information about the sane-devel mailing list