Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

/proc/bus/usb/devices should not be used anymore (and can't be mounted anymore on Ubuntu 11.04)

But what is an alternative to it, for use in a terminal?

I could easily grep that output to look for a certain device, but I'm lost in all the /sys/ entries...

share|improve this question
up vote 3 down vote accepted

I'm not completely clear on what information you are looking to extract from that file, but almost certainly the output of the lsusb command will be able to help you.

share|improve this answer

lsusb either just lists the devices, or very verbose and dumps a lot of information, but is missing which driver owns each, what interface and alternative configuration is currently selected and in use.

v3.5-rc1 removed CONFIG_USB_DEVICEFS and in effect /proc/bus/usb/devices, but fortunately it is available in /sys/kernel/debug/usb/devices at least 2.6.39 kernel has it.

share|improve this answer
The pointer to /sys/kernel/debug/usb is helpful: /proc/bus/usb may be gone, but current documentation still points to it. – Robert Calhoun Aug 28 '15 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .