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

Stic device naming with udev, help please



Hopefully there is a udev guru on board.

I have two USB to RS232 dongles that seem to get their names swapped
with every system restart (not often, but enough to make me search for
a solution).  Both devices are the same and ID the same to lsusb:

Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 007 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Since the vendor and device ID are identical, 067b:2303, is there a way
to tell udev that the dongle on Bus 006 Device 003 should be ttyUSB0
and the other on Bus 007 Device 005 should be ttyUSB1?  If so, I've not
found the docs that describe this.

- 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: