Home/Support/Support Forum/Digi ConnectCore 6UL + Yocto, How to map a USB serial connection to a device (e.g. /dev/ttyUSB0)?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Digi ConnectCore 6UL + Yocto, How to map a USB serial connection to a device (e.g. /dev/ttyUSB0)?

0 votes
I am connecting a USB-A cable to my Digi ConnectCore 6UL running Yocto into the top stacked USB port. The cable is connected to a serial converter which is connected to UART on another device (which is working properly as tested with other linux devices). When I plug the cable into the ConnectCore, I see some serial activity indicated by flashing LED on the serial converter.

Issuing the "usb-devices" command I see the serial converter listed:

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6001 Rev=06.00
S: Manufacturer=FTDI
S: Product=FT232R USB UART
S: SerialNumber=A601RLY4
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=90mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

However, there doesn't appear to be a serial device (i.e. /dev/ttyUSB0 or similar) associated with my connected device. I do see /dev/ttymxc0 - /dev/ttymxc3, but those are there regardless of what is plugged in and none of them are mapped to my USB device.

So, is there something I am missing here, perhaps configuration step that will get my serial USB device mapped to /dev/tty device? Thanks, Craig
asked Sep 16 in Linux by cBroadbo New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
Hi All,

I found the answer to my question and want to share it with anyone else with this issue.

You must rebuild the kernel. Follow the steps here:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6/yocto_t_build-standalone-images

There is a configuration step where you run the following command:
"make menuconfig"

This brings up an app with an interface that allows you to enable/disable features of the kernel. You must enable "USB Serial Console" support and "USB Serial Generic" support.

After you've rebuilt the kernel, deploy it to your digi device and reboot. It will now recognize your connected serial converter device and provide a /dev/ttyUSBx device path.
answered Sep 17 by cBroadbo New to the Community (1 point)
...