From: Ian Pilcher <i.pilcher@comcast.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Run script when USB scanner unplugged
Date: Fri, 04 Jun 2004 13:55:42 +0000 [thread overview]
Message-ID: <40C07F5E.6050404@comcast.net> (raw)
In-Reply-To: <40BE3850.8070106@comcast.net>
Hard to believe that I've already stumped the entire hotplug development
community. Since I don't see this in the archives, I'm resending it.
Sorry if it turns out to be a dupe.
Harald Hoyer wrote:
> Install the FC2 udev rpm... read the manpage and add a *.rule file to
> /etc/udev/rules.d . Also add your scanner to
> /etc/security/console.perms (man 5 console.perms).
OK, I've installed the udev RPM and added the following line to
/etc/udev/rules.d/50-udev.rules:
BUS="usb", SYSFS{idVendor}="04b8", SYSFS{idProduct}="0110",
NAME="usb/epson_scanner"
Here is the output of lsusb:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 04e8:323a Samsung Electronics Co., Ltd
Bus 001 Device 002: ID 04b8:0110 Seiko Epson Corp. Perfection 1650
Bus 001 Device 001: ID 0000:0000
This seems like it should work, but the /udev/usb/epson_scanner node
never gets created. (/udev/usb/lp0 is created.) What could I be doing
wrong?
Thanks!
--
====================================
Ian Pilcher i.pilcher@comcast.net
====================================
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2004-06-04 13:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 20:28 Run script when USB scanner unplugged Ian Pilcher
2004-06-03 8:34 ` Harald Hoyer
2004-06-03 17:36 ` Ian Pilcher
2004-06-04 13:55 ` Ian Pilcher [this message]
2004-06-04 17:07 ` Bertrik Sikken
2004-06-04 21:13 ` Greg KH
2004-06-05 16:01 ` Ian Pilcher
2004-06-05 16:05 ` Greg KH
2004-06-05 17:35 ` Ian Pilcher
2004-06-05 17:36 ` Ian Pilcher
2004-06-05 18:26 ` Bertrik Sikken
2004-06-08 0:30 ` Marcelo Ricardo Leitner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40C07F5E.6050404@comcast.net \
--to=i.pilcher@comcast.net \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).