Issue with USB Passthrough?

juless

Dabbler
Joined
Jan 3, 2023
Messages
10
Sorry for the delay, i was in a business trip .

root@truenas[~]# ls /dev/serial/by-id/*Sonoff_Zigbee_3.0_USB_Dongle_Plus*
zsh: no matches found: /dev/serial/by-id/*Sonoff_Zigbee_3.0_USB_Dongle_Plus*

i try to list the usb devices with lsusb :

root@truenas[~]# lsusb
zsh: command not found: lsusb

What's the command to get the usb adress?
 
Last edited:

samarium

Contributor
Joined
Apr 8, 2023
Messages
192
lsusb not in TNS. You would have to go looking in /sys/bus/usb/... slow and messy.

There are rules in /lib/udev/*/*serial.rules and other places for creating /dev/serial symlinks, so just look in at /dev/serial/*/* and see what you have, hopefully you will find something good enough.
 
Top