In earlier pups, /etc/rc.d/rc.sysinit mounts 'usbfs' on /proc/bus/usb, which makes available file /proc/bus/usb/devices, which is an easy way to read info on all plugged-in usb devices.
Hardinfo and pupscan use /proc/bus/usb/devices. The former is a third-party application, and probably recent versions are no longer dependent on /proc/bus/usb, or I hope so.
PupScan is a script that probes for information on hardware interfaces, written by me and included in Woof (see System menu).
The 3.5+ kernel has removed support for /proc/bus/usb. Fortunately, there is a script 'usb-devices' which is part of the 'usbutils' package, that returns the same information as /proc/bus/usb/devices.
usb-devices scans /sys/kernel/debug/usb/devices if the debugfs is enabled, otherwise scans /sys/bus/usb.
I have fixed script 'pupscan' in Woof:
No comments posted yet.