PLACE directive subsumed?
Hello,
I need to make udev rules for multiple, identical multi-port USB-to-serial converters so the converter that's attached to a certain USB port will always be assigned the same device nodes (or symlinks in my example below).
In the past I was able to use the PLACE directive to do this. For example (for a 4-port converter):
BUS="usb" SYSFS{idVendor}="1608" SYSFS{idProduct}="0201"
SYSFS{serial}="*-0" PLACE="1" NAME="%k" SYMLINK="ttyEDGE4_A_0_%e"
BUS="usb" SYSFS{idVendor}="1608" SYSFS{idProduct}="0201"
SYSFS{serial}="*-1" PLACE="1" NAME="%k" SYMLINK="ttyEDGE4_A_1_%e"
BUS="usb" SYSFS{idVendor}="1608" SYSFS{idProduct}="0201"
SYSFS{serial}="*-0" PLACE="2" NAME="%k" SYMLINK="ttyEDGE4_B_0_%e"
BUS="usb" SYSFS{idVendor}="1608" SYSFS{idProduct}="0201"SYSFS{serial}="*-1" PLACE="2" NAME="%k" SYMLINK="ttyEDGE4_B_1_%e"
ln -s /dev/ttyEDGE4_A_0_ /dev/ttyA1
ln -s /dev/ttyEDGE4_A_0_1 /dev/ttyA2
ln -s /dev/ttyEDGE4_A_1_ /dev/ttyA3
ln -s /dev/ttyEDGE4_A_1_1 /dev/ttyA4
ln -s /dev/ttyEDGE4_B_0_ /dev/ttyB1
ln -s /dev/ttyEDGE4_B_0_1 /dev/ttyB2
ln -s /dev/ttyEDGE4_B_1_ /dev/ttyB3
ln -s /dev/ttyEDGE4_B_1_1 /dev/ttyB4The problem I'm running into is that PLACE doesn't seem to be supported in newer kernels (newer versions of udev?), i.e. Fedora 7. How would I achieve this on a Fedora 7 box?
Thanks in advance,
-Jeremy
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel