Serial port bug?

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

 



Hi,

I found a weird behavior, I don't know if it is a bug. On my codes I
usually look into "/dev/serial/by-id/" to list available serial ports. I
discovered that when I use two FT2232(USB to dual serial port) I only
see the last connected chip not both. If look into
"/dev/serial/by-path/" I see all of them and also into
"/sys/bus/usb-serial/devices/".

Example:

[jeandet@machin opt]$ ls -al /sys/bus/usb-serial/devices/
total 0
drwxr-xr-x 2 root root 0 28 avril 10:40 .
drwxr-xr-x 4 root root 0 28 avril 10:40 ..
lrwxrwxrwx 1 root root 0 28 avril 10:35 ttyUSB0
-> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.2/1-2.2:1.0/ttyUSB0
lrwxrwxrwx 1 root root 0 28 avril 10:35 ttyUSB1
-> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.2/1-2.2:1.1/ttyUSB1
lrwxrwxrwx 1 root root 0 28 avril 10:35 ttyUSB2
-> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/ttyUSB2
lrwxrwxrwx 1 root root 0 28 avril 10:35 ttyUSB3
-> ../../../devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/ttyUSB3
[jeandet@machin opt]$ ls -al /dev/serial/by-id/
total 0
drwxr-xr-x 2 root root 80 28 avril 10:32 .
drwxr-xr-x 4 root root 80 28 avril 10:32 ..
lrwxrwxrwx 1 root root 13 28 avril 10:32
usb-FTDI_Dual_RS232-HS-if00-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root 13 28 avril 10:32
usb-FTDI_Dual_RS232-HS-if01-port0 -> ../../ttyUSB3
[jeandet@machin opt]$ ls -al /dev/serial/by-path/
total 0
drwxr-xr-x 2 root root 120 28 avril 10:32 .
drwxr-xr-x 4 root root  80 28 avril 10:32 ..
lrwxrwxrwx 1 root root  13 28 avril 10:32
pci-0000:00:14.0-usb-0:1:1.0-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root  13 28 avril 10:32
pci-0000:00:14.0-usb-0:1:1.1-port0 -> ../../ttyUSB3
lrwxrwxrwx 1 root root  13 28 avril 10:32
pci-0000:00:14.0-usb-0:2.2:1.0-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root  13 28 avril 10:32
pci-0000:00:14.0-usb-0:2.2:1.1-port0 -> ../../ttyUSB1


Should I consider that as a bug? If yes where should I report this
issue? Which package might be the cause, the kernel, udev?

Best regards,
Alexis.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux