On Saturday 15 November 2008, Nate Bargmann <n0nb@n0nb.us> wrote about 'Re:
Stic device naming with udev, help please':
>* Rob Starling <debian-user@robstarling.org> [2008 Nov 15 03:10 -0600]:
>> On Fri, Nov 14, 2008 at 08:08:51PM -0600, Nate Bargmann wrote:
>> > SUBSYSTEMS=="usb-serial", ATTRS{busnum}=="6", ATTRS{devnum}=="3",
>> > DRIVERS=="pl2303", NAME="ttyUSB0" SUBSYSTEMS=="usb-serial",
>> > ATTRS{busnum}=="7", ATTRS{devnum}=="5", DRIVERS=="pl2303",
>> > NAME="ttyUSB1"
>>
>> try naming them something interesting so you're not competing
>> with the auto-generated numbered ones. (you didn't remove the
>> existing rules, did you?)
>
>That seemed like a good idea. So I modified my rules file as follows:
>
># Setup Prolific Technology Inc. USB-Serial Controller dongles for
> statice names KERNEL=="ttyUSB0", SUBSYSTEMS=="usb-serial",
> ATTRS{busnum}=="6", ATTRS{devnum}=="3", DRIVERS=="pl2303",
> SYMLINK+="tty_dgl0" KERNEL=="ttyUSB1", SUBSYSTEMS=="usb-serial",
> ATTRS{busnum}=="7", ATTRS{devnum}=="5", DRIVERS=="pl2303",
> SYMLINK+="tty_dgl1"
>
>and no symlinks were created although /dev/ttyUSB0 and /dev/ttyUSB1
>exist and they came up in the order that I want (probably will change
>on the next restart).
Then your rules probably aren't matching. Try testing with udevtest to
make sure the rules are matching the devices you think.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
Attachment:
signature.asc
Description: This is a digitally signed message part.