Re: Stic device naming with udev, help please

2008-11-16 Thread Florian Kulzer
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

Re: Stic device naming with udev, help please

2008-11-15 Thread Nate Bargmann
* Florian Kulzer <[EMAIL PROTECTED]> [2008 Nov 15 08:04 -0600]: > On Sat, Nov 15, 2008 at 07:21:59 -0600, Nate Bargmann wrote: > > * Rob Starling [2008 Nov 15 03:10 -0600]: > > [...] > > > > try naming them something interesting so you're not competing > > > with the auto-generated numbered ones.

Re: Stic device naming with udev, help please

2008-11-15 Thread Boyd Stephen Smith Jr.
On Saturday 15 November 2008, Nate Bargmann <[EMAIL PROTECTED]> wrote about 'Re: Stic device naming with udev, help please': >* Rob Starling <[EMAIL PROTECTED]> [2008 Nov 15 03:10 -0600]: >> On Fri, Nov 14, 2008 at 08:08:51PM -0600, Nate Bargmann wrote: >&

Re: Stic device naming with udev, help please

2008-11-15 Thread Florian Kulzer
On Sat, Nov 15, 2008 at 07:21:59 -0600, Nate Bargmann wrote: > * Rob Starling [2008 Nov 15 03:10 -0600]: [...] > > 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?) > > > > "tty_dongleA"

Re: Stic device naming with udev, help please

2008-11-15 Thread Nate Bargmann
* Rob Starling <[EMAIL PROTECTED]> [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}

Re: Stic device naming with udev, help please

2008-11-15 Thread Rob Starling
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

Re: Stic device naming with udev, help please

2008-11-14 Thread Nate Bargmann
* Florian Kulzer <[EMAIL PROTECTED]> [2008 Nov 13 13:13 -0600]: > file:///usr/share/doc/udev/writing_udev_rules/index.html#udevinfo > > This should make it possible to find a combination of device and parent > attributes that is unique for each dongle. Well, having read that and putting the foll

Re: Stic device naming with udev, help please

2008-11-14 Thread Hugo Vanwoerkom
Florian Kulzer wrote: On Thu, Nov 13, 2008 at 12:12:08 -0600, Nate Bargmann wrote: Hopefully there is a udev guru on board. I have two USB to RS232 dongles that seem to get their names swapped with every system restart (not often, but enough to make me search for a solution). Both devices are

Re: Stic device naming with udev, help please

2008-11-13 Thread Florian Kulzer
On Thu, Nov 13, 2008 at 12:12:08 -0600, Nate Bargmann wrote: > Hopefully there is a udev guru on board. > > I have two USB to RS232 dongles that seem to get their names swapped > with every system restart (not often, but enough to make me search for > a solution). Both devices are the same and ID

Stic device naming with udev, help please

2008-11-13 Thread Nate Bargmann
Hopefully there is a udev guru on board. I have two USB to RS232 dongles that seem to get their names swapped with every system restart (not often, but enough to make me search for a solution). Both devices are the same and ID the same to lsusb: Bus 008 Device 001: ID 1d6b:0002 Linux Foundation