USB Serial devices assigned randomly?
I have a box with 2 USB Serial devices - a USB-UIRT used for MythTV (ir transmitter/receiver), and a X10 Firecracker (used for home automation control). On bootup, one device is assigned to ttyUSB0, and the other ttyUSB1. On next bootup, they are switched (the device previously assigned to ttyUSB0 is now on ttyUSB1, and vice versa). Next bootup, switched again. Since use of both of these devices rely on hard-coded configuration, is there anyway to force them each to map to a certain device?
Any help would be greatly appreciated. |
Quote:
That's what udev is for. See here: http://www.reactivated.net/writing_udev_rules.html See the examples for printers, cameras etc. The same ideas will apply to /dev/ttyUSB* |
Thank you!
This is exactly what I was looking for. Works like a charm.
|
Quote:
|
All times are GMT -5. The time now is 01:18 AM. |