Red Hat Bugzilla – Bug 195915
/dev/pilot randomly linked to ttyUSB0 or ttyUSB1
Last modified: 2007-11-30 17:11:35 EST
Description of problem:
When I connect my Treo650 and press the sync button, /dev/ttyUSB0 and
/dev/ttyUSB1 are created. /dev/pilot is created, but it randomly(?)
points to either ttyUSB0 or ttyUSB1. /dev/pilot should always be linked
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Connect Treo650 via USB cable
2. Press sync button
3. ls -l /dev/pilot
4. lather, rinse, repeat
/dev/pilot is linked to ttyUSB0 or ttyUSB1, apparently randomly.
/dev/pilot should always link to ttyUSB1.
what, if other devices are connected to the USB Bus?
Created attachment 131201 [details]
output of 'udevinfo -a' for ttyUSB0
Created attachment 131202 [details]
output of 'udevinfo -a' for ttyUSB1
Created attachment 131203 [details]
output of 'lsusb -vvv' for Treo650
(In reply to comment #1)
> what, if other devices are connected to the USB Bus?
/dev/pilot needs to be linked to the higher-numbered port of the two ports
that are created for a Treo. Unfortunately, there doesn't appear to be any
easy was to distinguish them. I have attached the output of 'udevinfo -a'
for both ports, along with the output of 'lsusb -vvv'.
Why not fix the applications, that use the device. Why does such a device
specific decision have to live in udev?
(In reply to comment #6)
> Why not fix the applications, that use the device. Why does such a device
> specific decision have to live in udev?
Because it's udev's job to give persistent names (/dev/pilot) to devices that
appear at different physical locations (/dev/ttyUSB?).