2009-05-19

Where is /proc/bus/usb/devices ?

/proc/bus/usb/devices is still mentioned in the manpage of lsusb, but not existing on my current Ubuntu (2.6.24) and RHEL5 (2.6.18) system.

root@laika:~# ls -al /proc/bus/usb/
total 0
dr-xr-xr-x 2 root root 0 2009-05-19 14:24 .
dr-xr-xr-x 6 root root 0 2009-05-19 10:15 ..
root@laika:~#

The /proc/bus/usb/ structure is however present on Debian (2.6.17), including the devices file.

Where does the lsusb command go to get usb device information ? Is it not reading /proc/bus/usb ? Is this a kernel change in 2.6.18 ?

4 comments:

  1. It's mounted:
    procbususb on /proc/bus/usb type usbfs (rw)

    ReplyDelete
  2. strace lsusb says it walks the /dev/bus/usb/ tree on my CentOS5 system.

    ReplyDelete
  3. I don't see it mounted, but i do find the directories under /dev/bus/usb. Many thanks!

    paul

    ReplyDelete
  4. Debian/kernel 2.6.26-2: File is present and procbususb is mounted.

    ReplyDelete