lsusb -t: /sys/bus/usb/devices: No such file or directory

Colleagues, please tell me, am I doing something wrong?

root@devel:/home/ogogon # lsusb -t
/sys/bus/usb/devices: No such file or directory
root@devel:/home/ogogon # ls /sys
amd64 cddl ddb geom kgssapi net netipsec nfsclient powerpc sys vm
arm compat dev gnu libkern net80211 netlink nfsserver README.md teken x86
arm64 conf dts i386 Makefile netgraph netpfil nlm riscv tests xdr
bsm contrib fs isa mips netinet netsmb ofed rpc tools xen
cam crypto gdb kern modules netinet6 nfs opencrypto security ufs
root@devel:/home/ogogon #
Ogogon.
 
lsusb is a linux command. FreeBSD != Linux. Use usbconfig(8). In FreeBSD /sys is where kernel sources reside; it is not a sysfs filesystem exporting kernel objects.
 
In FreeBSD /sys is where kernel sources reside; it is not a sysfs filesystem exporting kernel objects.
I noticed this too. I believe that the maintainer who ported this utility to FreeBSD should have disabled this mode, since it obviously does not work.
 
There is a port of lsusb by the look of it, but not sure how it works (or doesn't) on FreeBSD:
So it works, unfortunately not with all options.
I wanted to use a mode in which connected devices are displayed in a tree format.
I was wondering if I could see through which chain of hubs a specific device is connected. In my opinion, this could be seen in OpenWRT. (Is it really possible and even easy in SystemV, but not in BSD?)
 
Back
Top