Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13961 - lsusb -t fails (package usbutils)

Attached to Project: Arch Linux
Opened by Pierre Chapuis (catwell) - Wednesday, 25 March 2009, 21:29 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 28 May 2009, 20:49 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Running "lsusb -t" fails with the following output:

[22:12 TA|catwell] lsusb -t
cannot open /proc/bus/usb/devices, No such file or directory (2)

This is because lsusb tries to use usbfs, which afaik. is deprecated and not mounted by default. Mounting usbfs fixes it:

mount -t usbfs none /proc/bus/usb (as root)

Still, I think it would be better if lsusb used sysfs instead. The same bug has been fixed in Ubuntu that way (see https://bugs.launchpad.net/ubuntu/+source/usbutils/+bug/159189).

I have reported that bug upstream too (http://sourceforge.net/tracker/?func=detail&aid=2712680&group_id=3581&atid=353581) but I am not sure the project is still active, so maybe it should be patched in Arch.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 28 May 2009, 20:49 GMT
Reason for closing:  Fixed

Loading...