Re: [linux-usb-devel] [RFC PATCH] USB: add endpoint information to sysfs

2005-09-16 Thread Alan Stern
On Fri, 16 Sep 2005, Greg KH wrote: > > Your usb_{create|remove}_intf_ep_files routines are called whenever > > interfaces are created or destroyed. But you also need to call them > > whenever an altsetting is changed. > > Hm, where is that? ugh, I'll go dig... It's a bit of a mess. All the

Re: [linux-usb-devel] [RFC PATCH] USB: add endpoint information to sysfs

2005-09-16 Thread Greg KH
On Wed, Sep 14, 2005 at 11:01:01PM -0400, Alan Stern wrote: > > This adds to sysfs all the information in /proc/bus/usb/devices _for the > active configuration and the current altsettings_. There's nothing about > the other configurations or altsettings, and of course we don't really > want there

Re: [linux-usb-devel] [RFC PATCH] USB: add endpoint information to sysfs

2005-09-14 Thread Alan Stern
On Wed, 14 Sep 2005, Greg KH wrote: > Any objections to me adding this to mainline after 2.6.14 comes out? > I think we now have all of the information that is in > /proc/bus/usb/devices in sysfs. Or does anyone know of anything we are > missing? > > And yes, it's a huge pain to dynamically crea

[linux-usb-devel] [RFC PATCH] USB: add endpoint information to sysfs

2005-09-14 Thread Greg KH
Any objections to me adding this to mainline after 2.6.14 comes out? I think we now have all of the information that is in /proc/bus/usb/devices in sysfs. Or does anyone know of anything we are missing? And yes, it's a huge pain to dynamically create sysfs attributes and attribute groups on the f