On Wed, Oct 30, 2002 at 01:50:44PM -0500, Dan Streetman wrote: > > This patch adds ioctls to get the active config# and interface setting# > through usbfs. > > As far as I can tell, the only way to currently get the active config is > via the devices file (generates bus traffic, I'd rather not use it) and > there is no way from userspace to determine the active interface alternate > setting.
Look at the driverfs location for the device, these values are exported there, right? I _really_ don't want to add new ioctls to usbfs. And as an added penalty, if anyone can convince me to add one, they must write the 64 bit arch specific thunking layer code too (see sparc64 for an example of the pain usbfs's ioctls cause that platform.) thanks, greg k-h ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
