USB to Serial device

Hi,

Is it possible to acces a serial device that is plugged on a USB port like I would do on ubuntu (e.g. ttyUSB0) or windows (COM0)?

I checked that the USB to serial driver is enabled in the kernel but when I plug my device to a USB port on the colibri eval board, nothing seems to change in /dev

HI @Romain.Donze

Could you provide the version of the Hardware (including carrier board) and Software of your module?

What is the output of lsusb when the USB to Serial device is connected to the Colibri Evaluation carrier Board?

Best regards,
Jaski

I am using a colibri iMX8QXP 2GB WB IT on a colibri eval board. For the software, I am using the standard boot2qt image with a custom kernel to enable serial over USB.

Here is the output of lsusb (apparently device 009 is the one)

root@b2qt-colibri-imx8x:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0424:274c Standard Microsystems Corp. 
Bus 001 Device 007: ID 1fd2:6103  
Bus 001 Device 005: ID 0424:2412 Standard Microsystems Corp. 
Bus 001 Device 004: ID 0424:2734 Standard Microsystems Corp. 
Bus 001 Device 009: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 008: ID 1286:204e Marvell Semiconductor, Inc. 
Bus 001 Device 002: ID 0424:3803 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But when I do ls /dev, nothing seems to show up

Edit: I just noticed that in menuconfig I enabled the usb to serial driver but not the FTDI driver. I am trying it now

Find a solution to my problem,

I just had to add the FTDI driver in the kernel in addition to the usb to serial driver

Perfect that you found a solution.
Thanks for your feedback.

Best regards,
Jaski