[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] Listing USB devices in hardware-summary



Quoting Frans Pop (elendil@planet.nl):
> Because /proc/bus/usb/devices is going away in 2.6.31 (patch got merged in 
> kernel upstream mainline today), we are going to need an alternative way 
> to list USB devices in the hardware summary.
> 
> The file is being moved to debugfs, but I don't think mounting debugfs 
> just to get this info is the correct solution for us.
> 
> Instead I propose to add the attached script in installation-report.


I tried your script on a few machines I have root access to (incl. my
own laptops). The same devices are reported.

I have one question, though:

Why is "Manufacturer:" reporting something like "Linux 2.6.29-1-686
uhci_hcd". There's the same in what you reported in indeed in
/proc/bus/usb/devices but your examples shows clearer things such as
"Hewlett Packard" when showing the output of /proc/bus/usb/devices.

I also wonder if it could be possible to get the equivalent of
"Product". There seem to be useful information there, isn't it?


Attachment: signature.asc
Description: Digital signature


Reply to: