From: Martin Lorenz <martin@lorenz.eu.org>
To: linux-hotplug@vger.kernel.org
Subject: why don't my rule work anymore
Date: Mon, 15 Aug 2005 11:40:22 +0000 [thread overview]
Message-ID: <20050815114022.GA10126@lorenz.eu.org> (raw)
since my last upgrade to udev 0.066-1 (debian unstable)
the rule I used for almost a year now dosen't work anymore.
SYSFS{serial}="XXXXXXX", NAME="cruzer%n"
used to create /dev/cruzer and /dev/cruzer1
for my usb thumb drive
now I only get /dev/cruzer with this rule
when I deactivate it completely I get /dev/uba and /dev /uba1
with the rule also /dev/uba1 is omitted.
dmesg says so:
usb 3-3: new high speed USB device using ehci_hcd and address 21
ub(3.21): GetMaxLUN returned 0, using 1 LUNs
uba: uba1
usb 3-3: USB disconnect, address 21
udevmonitor
udevmonitor prints received from the kernel [UEVENT] and after
the udev processing, the event which udev [UDEV] has generated
UEVENT[1124105242] add@/devices/pci0000:00/0000:00:13.2/usb3/3-3
UEVENT[1124105242] add@/devices/pci0000:00/0000:00:13.2/usb3/3-3/3-3:1.0
UEVENT[1124105242] add@/block/uba
UEVENT[1124105242] add@/block/uba/uba1
$ ll /dev/cr*
brw-rw---- 1 root floppy 180, 0 2005-08-15 13:27 /dev/cruzer
$ ll /dev/ub*
ls: /dev/ub*: Datei oder Verzeichnis nicht gefunden
$ uname -a
Linux shire 2.6.12.2 #1 Mon Jul 11 10:29:52 CEST 2005 i686 GNU/Linux
/var/log/syslog excerpt:
Aug 15 13:39:10 shire kernel: usb 3-3: new high speed USB device using
ehci_hcd and address 23
Aug 15 13:39:10 shire kernel: ub(3.23): GetMaxLUN returned 0, using 1
LUNs
Aug 15 13:39:10 shire kernel: uba: uba1
Aug 15 13:39:11 shire usb.agent[12469]: ub: already loaded
Aug 15 13:39:11 shire kernel: SCSI subsystem initialized
Aug 15 13:39:11 shire kernel: Initializing USB Mass Storage driver...
Aug 15 13:39:11 shire kernel: usbcore: registered new driver usb-storage
Aug 15 13:39:11 shire kernel: USB Mass Storage support registered.
Aug 15 13:39:11 shire usb.agent[12469]: usb-storage: loaded
successfully
Aug 15 13:39:12 shire udev[12537]: udev_rules.c: line too long, conf
line skipped /etc/udev/udev.conf, line 1
Aug 15 13:39:12 shire udev[12537]: udev_rules.c: line too long, conf
line skipped /etc/udev/udev.conf, line 3
on another computer it works like a charm with
dmesg
[4300518.646000] usb 3-2: new high speed USB device using ehci_hcd and
address 2
[4300518.879000] scsi0 : SCSI emulation for USB Mass Storage devices
[4300518.944000] usb-storage: device found at 2
[4300518.945000] usb-storage: waiting for device to settle before
scanning
ii udev 0.064-1 /dev/ management daemon
Linux mellon 2.6.12.2 #3 Mon Aug 15 11:26:18 CEST 2005 i686 GNU/Linux
--
Dipl.-Ing. Martin Lorenz
They that can give up essential liberty
to obtain a little temporary safety
deserve neither liberty nor safety.
Benjamin Franklin
Microsoft, I think, is fundamentally an evil company.
- JAMES H. CLARK
my gpg-key ID: F1AAD37D
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xF1AAD37D
ICQ UIN: 33588107
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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 reply other threads:[~2005-08-15 11:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 11:40 Martin Lorenz [this message]
2005-08-15 11:53 ` why don't my rule work anymore Martin Lorenz
2005-08-15 13:14 ` Kay Sievers
2005-08-15 13:48 ` Martin Lorenz
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=20050815114022.GA10126@lorenz.eu.org \
--to=martin@lorenz.eu.org \
--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).