Greg: The patches that follow fix the problem of endpoint sysfs files not getting updated properly, and they clean up a bunch of other things in usbcore as well. Although they are mostly independent, a few of them touch the same files so it will be best to apply them in sequence by their patch ID numbers.
It turned out that using a kobject per endpoint was significantly better than your original implementation. It also turned out that there were some errors and peculiarities in the show routines for several of the interface and device attributes. I got rid of the bType endpoint attribute. There's no reason to have it; by definition it will always contain 05 (the type code for an endpoint descriptor). And I got rid of the bAddress attribute; there's no point in having it when the attribute file's directory name already contains the same information. Lastly, I kept the bLength attribute, even though it's nearly useless. For any normal endpoint the descriptor length is 7, whereas for audio endpoints the length can be 9. The benefit of knowing the descriptor length is longer than usual is doubtful, because we have no way of displaying the additional information. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
