On Mon, 07 Sep 2009, Julien Cristau wrote: > On Mon, Sep 7, 2009 at 05:15:19 +0200, Michael Biebl wrote: > > From what I can see in /lib/udev/rules.d, the ids files are only used to > > setup > > the (udev) environment variable ID_VENDOR_FROM_DATABASE > > (75-net-description.rules, 75-tty-description.rules, 78-sound-card.rules). > > > > There are no symlinks created in /dev based on that information.
Oh yes, there are. Either Unstable's udev or something else does this for USB at the very least. Noticed it when playing with a Huawei E220 HSDPA USB modem, the usb.ids information ended up in /dev/serial/by-id. Here's the proof (output edited for brevity): khazad-dum:~$ lsusb ; ls -l /dev/serial/by-id/* Bus 004 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem lrwxrwxrwx 1 root root 13 2009-09-07 14:56 /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB0 lrwxrwxrwx 1 root root 13 2009-09-07 14:56 /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB1 Now, I am not claiming it it is not useful. However, IMO it would be useful *and* safe if I had a by-id link using the proper USB ID *numbers* instead, which I could use on /etc/ppp/peers/* for example. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org