From: Robby Workman <rw@rlworkman.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Writing udev Rules by Daniel Drake (dsd) Version 0.72
Date: Tue, 18 Sep 2007 19:12:23 +0000 [thread overview]
Message-ID: <46F02317.5090403@rlworkman.net> (raw)
In-Reply-To: <46F015F6.6030908@xplornet.com>
Rick Pizzi wrote:
> Hi,
> I have been trying to follow subject Daniel Drakes instructions on how
> to have various devices on my Ubuntu Feisty system mount with
> persistent names. As an example the attached dmesgSDB file shows my
> 'U3 Cruzer Micro' as sdb. The udevSDB attached file shows the result
> of the command:
> "*sudo udevinfo -a -p $(udevinfo -q path -n /dev/sdb)*". I note there is
> no *SYSFS *attributes only *ATTRS*. Also there is no place that
> *BUS="usb" *shows up, only *KERNELS="4.4"*. I have cobbled up a rule
> attached as *10-local.rules* which, of course, does not work when I
> re-boot my computer. The attached file *udevtestSDB* mentions U3 Cruzer
> Micro so something is trying to work, I guess.
>
> Can you help me by explaining what is going on here? Why doesn't
> udevinfo show information like Daniel's article shows? How do I use
> the attributes from *usbview*? Usbview shows information such as:
> Manufacturer: SanDisk Corporation, Product Id:5406 etc.
I think this is closer to what you want -- note that the rule contents
come from the udevinfo output. Also note that I didn't change the
NAME of the device node assigned - that's just not a good idea IMHO.
SUBSYSTEMS="usb", \
ATTRS{serial}="0000160EF172FFE1", \
ATTRS{product}="U3 Cruzer Micro", \
ATTRS{manufacturer}="SanDisk Corporation", \
NAME="%k", SYMLINK+="MICRO2GB"
-RW
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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:[~2007-09-18 19:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 18:16 Writing udev Rules by Daniel Drake (dsd) Version 0.72 Rick Pizzi
2007-09-18 19:12 ` Robby Workman [this message]
2007-09-18 19:21 ` Matthias Schwarzott
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=46F02317.5090403@rlworkman.net \
--to=rw@rlworkman.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.