Hi I am trying to sent data from USB port of jetson to a C type port of external device (laptop) using python pySerial package.
But while trying to list the available usb ports using ls /dev/ttyUSB* I am getting getting error ls: cannot access ‘/dev/ttyUSB*’: No such file or directory.
But when I connected c to c cable from the following path /dev/ttyGS0 I was able to detect the c-type port at jetson.
How to detect the USB ports do we need to install any special drivers for these.
You need some knowledge about how USB is working…
It is not related to Jetson but every other USB devices too.
USB type A port by its nature is a role of usb host.
Micro usb or type C usb port supports OTG, which means it could be either usb host or usb device. The role is decided during the pin connection.
If you connect type A port on Jetson and type C port on your host PC, then actually the one that plays as “usb host” is Jetson… And such /dev/ttyUSBx or ACMx shall appear on “Jetson” but not your host.
However, this is not normal usecase so I am not sure if Jetson side and your host side have sufficient driver to do this.
Thus, you should let host PC side be USB host and Jetson be USB device…