* Florian Kulzer <[EMAIL PROTECTED]> [2008 Nov 13 13:13 -0600]:

> file:///usr/share/doc/udev/writing_udev_rules/index.html#udevinfo
> 
> This should make it possible to find a combination of device and parent
> attributes that is unique for each dongle.

Well, having read that and putting the following two rules in
/etc/udev/rules,d/10-local.rules:

# Setup Prolific Technology Inc. USB-Serial Controller dongles for statice names
SUBSYSTEMS=="usb-serial", ATTRS{busnum}=="6", ATTRS{devnum}=="3", 
DRIVERS=="pl2303", NAME="ttyUSB0"
SUBSYSTEMS=="usb-serial", ATTRS{busnum}=="7", ATTRS{devnum}=="5", 
DRIVERS=="pl2303", NAME="ttyUSB1"

the crazy system is naming them the opposite of that specified above!

The only text from udev in any of the log folows is the following from
dmesg:

[   10.392455] udevd version 125 started
[   10.616061] usb 7-2: new full speed USB device using uhci_hcd and address 5
[   10.794346] usb 7-2: configuration #1 chosen from 1 choice
[   10.815473] usb 7-2: New USB device found, idVendor=067b, idProduct=2303
[   10.834051] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   10.854011] usb 7-2: Product: USB-Serial Controller
[   10.872397] usb 7-2: Manufacturer: Prolific Technology Inc.
[   11.128052] usb 6-2: new full speed USB device using uhci_hcd and address 3
[   11.307495] usb 6-2: configuration #1 chosen from 1 choice
[   11.330699] usb 6-2: New USB device found, idVendor=067b, idProduct=2303
[   11.348067] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   11.367401] usb 6-2: Product: USB-Serial Controller D
[   11.386039] usb 6-2: Manufacturer: Prolific Technology Inc.

I don't get it.  Do I have to wait 12 days to kill a chicken by the
dark of the moon?

- 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to