On Tue, 27 Feb 2007, Jon Smirl wrote: > Linux seems to be missing a header file for the hub class. For example > if you look at the source for lsusb.c it is using a lot of hex > constants since there aren't symbols defined. > > Here's a nice one from Open Solaris: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/usb/hubd/hub.h
Linux has hub class definitions, but not in a very good place. They are located in drivers/usb/core/hub.h. It might be a good idea to split them out and place them in, say, include/linux/usb/hub.h (or even ch11.h), where they could be made available for user programs. A project for a rainy day... Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel