> This device will have a scanner permanently attached and have a port for > attaching a printer.
Then your device has an embedded hub also to connect the printer. Can't you treat the scanner and printer as two devices and assign them two differnt addresses? > If the printer is not connected it will report itself as a single interface > scanner device. > > When the printer is connected to the port it will get the descriptors from > printer and report itself as a composite device with two interfaces. Now In > these case as the scanner & printer can be from two vendors, so how can I > report these two vendor ID as device descriptor allows only one vendor. If I > do not inform the host PC of vendor information on newly attached printer > will it affect loading of driver for printer or in data transfer. > > Regards > > Manoj > > -----Original Message----- > From: Brad Hards [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 2:10 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [linux-usb-devel] USB Composite Device > > > On Wed, 10 Jul 2002 18:33, Manoj wrote: > > Hello All, > > > > I want to design a composite device with 2 interfaces a printer & a > > scanner. The device has Scanner permanently attached and a port to which > > any printer of any manufacturer can be connected. > > Now if I don't supply vendor ID/product ID in device for printer in device > > descriptor then does the USB host ask for the printer driver to be loaded? > You don't appear to understand the concept of a composite device. If it has > two interfaces on the same device, then you only have one device descriptor. > Vendor ID and product ID are per device descriptor, not per interface. > > > How will the device be seen on say windows machine? > This is a Linux list. Try the USB-IF webboard > (www.usb.org/forums/developers/webboard.html) for windows questions. > > > Is it possible to load 2 different drivers for printer & scanner? > Linux will do so. > > Brad > > -- > http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Two, two, TWO treats in one. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > -- M A N O J Tel : +91-80-8520408 (Ex 6313) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel