On Sat, Nov 15, 2008 at 18:14:45 -0600, Nate Bargmann wrote: > * Florian Kulzer [2008 Nov 15 08:04 -0600]: > > On Sat, Nov 15, 2008 at 07:21:59 -0600, Nate Bargmann wrote:
[...] > > I would try it like this: > > > > KERNEL=="ttyUSB*", SUBSYSTEMS=="usb", ATTRS{busnum}=="6", > > ATTRS{devnum}=="3", SYMLINK+="tty_dgl0" > > KERNEL=="ttyUSB*", SUBSYSTEMS=="usb", ATTRS{busnum}=="7", > > ATTRS{devnum}=="5", SYMLINK+="tty_dgl1" > > > > After you change the rules, restart udev (!) and test what happens: > > > > udevtest $(udevinfo --query=path --name /dev/usb/ttyUSB0) | grep -E > > 'get_name|symlink' > > I changed them to your suggestion above, then ran `/etc/init.d/udev > reload' but still no symlinks. That is normal. You have to use "udevadm trigger ..." to trigger an "add" action for the devices, or you can try to unplug them and plug them in again. My main point was to test the rules with "udevadm test"; I have had cases in the past when this did not work properly unless I restarted udev after making changes. > udevtest no longer exists in Sid. It has been replaced by > `udevadm test [options] devpath' which then tells me after reading all > of the rules files: > > udevadm test /dev/tty_dgl0 > . > . > . > unable to open device '/dev/tty_dgl0' That is not surprising if the symlinks do not exist; try it like this: udevadm test $(udevadm info --query=path --name /dev/usb/ttyUSB0) | grep -E 'get_name|symlink' This should tell you if your symlinks would have been created. (Note that this command does not actually create the symlinks; it is just a diagnostic tool to help you refine your rules.) > > I have no experience with usb serial modems; there might be a more > > robust way to ensure deterministic identification, but I need to see the > > full "udevinfo -a ..." output to come up with further proposals. > > Would you like that output privately or via the list? I don't mind either way; however, since the output is quite verbose it is maybe better if you send it to me privately and if I see anything interesting I will reply on-list and quote only the relevant parts. In that case I would also be interested in the full (ungrepped) output of the "udevadm test ..." command above. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]