On Sat, Jan 30, 2010 at 1:25 PM, Paul Bender <pebender@xxxxxxxxxx> wrote: > I suspect that the device presents itself as 3 USB serial interfaces on one > USB device. If so, then you should be able to use bInterfaceNumber to set > the USB serial device number. For example, > > KERNEL=="ttyUSB*", SYSFS{serial}=="111", \ > SYMLINK+="ttyLogger1USB$attr{bInterfaceNumber}" > KERNEL=="ttyUSB*", SYSFS{serial}=="222", \ > SYMLINK+="ttyLogger2USB$attr{bInterfaceNumber}" > KERNEL=="ttyUSB*", SYSFS{serial}=="333", \ > SYMLINK+="ttyLogger3USB$attr{bInterfaceNumber}" Yeah, started down that road at the start but no joy. # udevinfo -a -p /sys/class/tty/ttyUSB0 >/tmp/udevinfo.usb0 # udevinfo -a -p /sys/class/tty/ttyUSB1 >/tmp/udevinfo.usb1 # diff diff /tmp/udevinfo.usb0 /tmp/udevinfo.usb1 8,9c8,9 < looking at device '/class/tty/ttyUSB0': < KERNEL=="ttyUSB0" --- > looking at device '/class/tty/ttyUSB1': > KERNEL=="ttyUSB1" 11c11 < SYSFS{dev}=="188:0" --- > SYSFS{dev}=="188:1" 13,14c13,14 < looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.1/1-1.1:1.0/ttyUSB0': < ID=="ttyUSB0" --- > looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.1/1-1.1:1.0/ttyUSB1': > ID=="ttyUSB1" # There is a bInterfaceNumber in /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.1/1-1.1:1.0 under which I find ttyUSB0/, ttyUSB1/ and ttyUSB2/. I think the USB implementation on this logger just didn't take what I'm trying to do into consideration. Thanks, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html