Hello David,
Thanks for your response Actually what I am trying to do in demo project is put the Linux code in an embedded environment to support only a printer and a mass storage device.(no multiple interfaces) connected to root hub. so I wanted to know whether all the below things like bus structures are needed and what code minimisation I can Do. Also What is UTSL? Message: 3 Date: Fri, 28 Jun 2002 11:39:51 -0700 From: David Brownell <[EMAIL PROTECTED]> Subject: Re: [linux-usb-devel] Costomising Linux USB system. To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] > while going through USB code I found that there are saperate structures > defined for "interface" and "intrface descriptor". Is this because the > system assigns driver on per interface basis. Partially. Interfaces also have "alternate settings", only one of which is active at a time ... the USB spec defines interface descriptors, and any USB API (like the one in Linux) must coordinate their use. Linux does it using (among other things) "interface" structures. > If I want to use the same for device where in I do not allocate drivers on > per interface basis then do I need to declare both interface and interface > descriptor if not how can I combine it as a single structure? If your devices have only one interface each (typical for printers and storage devices), there's no real difference between driver-per-interface and driver-per-device. Don't bother trying to add a model that doesn't really match what USB defines, it's not worth the time. > Also the USB specs do not mention any interface structure. > I want to costomise the system to work in an demo environment where I have > only two devices connected to root hub with a OHCI controller. The > evices( printer and mass storage device) will have a single driver and not > multiple interfaces. > Also what is the relevance of usb_bus structure. In my Demo environment do I > need this structure. Don't change all that code that works; just use the standard printer and storage drivers. > Also where can I get any information/documentation on Linux USB > architecture. There's always UTSL ... :) - Dave --__--__-- _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel End of linux-usb-devel Digest ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel