Re: [patch 0/7] Add usb root debugfs directory and move the USB subsystems to use it

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

 



On Fri, Apr 24, 2009 at 05:54:46PM -0600, Pete Zaitcev wrote:
> On Fri, 24 Apr 2009 15:27:19 -0700, greg@xxxxxxxxx wrote:
> 
> > With the recent discussion of dropping usbfs, the reliance on the file,
> > "devices" was discussed a lot.  Alan suggested putting it in debugfs,
> > which I liked, so I created this patch series. []
> 
> Oh BTW, you know what? I think it would be great to add a mode to
> lsusb to gather /sys values and print a devices file to stdout.
> It would relive me from the need to bother with debugfs (which we
> ship, yes, but do not mount by default).

Attached below is a bash script from Randy that does just that.

There are a few minor differences, but they should not be that much.

thanks,

greg k-h

Attachment: usb-devices.sh
Description: Bourne shell script


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux