[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Static device naming with udev, help please



* Florian Kulzer <florian.kulzer+debian@icfo.es> [2008 Nov 13 13:13 -0600]:

> Try
> 
> udevinfo -a --name=/dev/usb/ttyUSB0 
> udevinfo -a --name=/dev/usb/ttyUSB1 
> 
> These commands list all known attributes of the devices and of their
> parent devices. The parent devices will have attributes which allow to
> identify each dongle (for example ATTRS{busnum} and ATTRS{devnum} in the
> usb subsystem). You can write a udev rule with the properties of a
> device itself combined the properties of (only) one parent device: 
> 
> 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.
> 
> It may even be the case that the devices themselves have properties that
> can be used to distinguish them without having to refer to parent
> devices, for example unique serial numbers.

Thanks, Florian.

That has given me a lot of info to digest and gives me a starting
point.

Thanks!

- Nate >>

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


Reply to: