Accessing a USB port

How do I access a USB port in OpenWrt?

Normally on Linux it is addressed as /dev/ttyUSB0 but this doesn't work for me.

Do I need to install a driver for it?

opkg update
opkg install usbutils
lsusb
opkg list kmod-usb\*
3 Likes

Once you know what chip set you need to support:
https://openwrt.org/packages/table/start?dataflt[Name_pkg-dependencies*~]=usb-serial

2 Likes

I didn't think it would be so complicated... First I needed to install I driver for the USB port and then another driver for whatever I want to insert into the port.... but got there eventually...