On Thu, 17 Aug 2006 13:58:11 +0100, Graham Murray wrote: > Is there any way to write udev rules which will map the usb-serial > device connected to a particular socket on either the PC or a hub to a > known name? So that if the usb connector is removed and replaced (in > the same socket) or the system is rebooted that programs will be able > to open the correct device connected to each usb serial adaptor?
Use a pattern match for ID, e.g. ID=="2-*". the first number of the ID
refers to the physical port used. Alternatively, if the devices are
different, match on SYSFS{product}, SYSFS{manufacturer} or even DRIVER.
--
Neil Bothwick
Life is a sexually transmitted disease and the mortality rate is 100%.
signature.asc
Description: PGP signature

