LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-22-2019, 07:32 AM   #1
schuurs
Member
 
Registered: Feb 2010
Location: The Netherlands
Distribution: CENTOS6.2 / RHEL5.11 / RHEL 7.4
Posts: 40

Rep: Reputation: Disabled
Two FTDI devices connected and only one is recognized


I have two devices connected to my RHEL5.11 workstation that are both using an FTDI chip. one is an USB to RS232 device and the other is a LED beacon.

For both, a udev rule is implemented.

USB-to-RS232
Code:
KERNEL=="ttyUSB*", SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SYSFS{product}!="SPOT", SYMLINK+="lldiag"
LED beacon
Code:
SYSFS{idProduct}=="6015", SYSFS{idVendor}=="0403", RUN+="/sbin/modprobe -q ftdi-sio product=0x6015 vendor=0x0403"
It seems however, that only the USB-to-RS232 device with ProductID 0x6001 is recognized and a /dev/usb/ttyUSB* is created. non is created for the LED beacon with ProductID 0x6015.

If I restart the workstation and only connect the LED beacon, a /dev/usb/ttyUSB* is created.

Attached you will find the udevinfo content of each device if only that device is connected and the dmesg information.

when running lsusb, i get:
Code:
Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 003: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
If both devices are connected, the LED beacon connection ends up in /dev/.udev/failed.

Do you have an idea what could be wrong?
Attached Files
File Type: txt udevinfo_LLDIAG.txt (4.3 KB, 7 views)
File Type: txt udevinfo_WermaLED.txt (3.6 KB, 4 views)
File Type: txt dmesg_FT232_FT230.txt (1.6 KB, 5 views)

Last edited by schuurs; 05-22-2019 at 08:14 AM.
 
Old 05-26-2019, 05:28 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
RHEL5.11
That's an old system. If you have RH support, why bother us? If not, You need to explain a lot more. Serial ports haven't been fitted for nearly 20 years, except mebbe Industrial PCs.

Anyhow, if memory serves, it should be ttyS1, ttyS2, etc. a tty is a console. 2 serial ports is ok; 4 is stretching it, but doable. After that, it has been done but you're on your own.
 
Old 05-31-2019, 03:04 AM   #3
schuurs
Member
 
Registered: Feb 2010
Location: The Netherlands
Distribution: CENTOS6.2 / RHEL5.11 / RHEL 7.4
Posts: 40

Original Poster
Rep: Reputation: Disabled
By using pyftdi, I was able to control the LED beacon with use of the VendorID and ProductID, without using /dev/tty*

Why RHEL5.11?
That is the problem with systems that run specific software for specific hardware.
The hardware manufacturer is working on new software for RHEL 7.x
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftdi and udev rules questions, 13.37 gobo7 Slackware 5 09-07-2016 09:45 PM
Need to list IP of all devices connected in LAN including wi-fi connected devices unclesamcrazy Linux - Newbie 2 12-10-2015 07:34 AM
[SOLVED] udev/rules.d and FTDI CollieJim Arch 2 05-16-2014 11:27 PM
usb hub connected devices not recognized alaios Linux - Hardware 3 10-03-2013 03:29 PM
Installed FTDI and want to get rid of it jthrock Linux - Newbie 5 10-27-2011 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration