Re: USB gadget with drivers "on board"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 27, 2010 at 11:11:06AM +0530, Viral Mehta wrote:
> Hi,
> 
> >
> > Hello everyone,
> >
> > I need to create an USB gadget with drivers for Windows included
> > "on board".  In particular, when the gadget is connected to Windows
> > host it is detected as mass storage and mounted drive include the
> > drivers.  However, when the drivers are installed, it is detected
> > as some other device.
> >
> 
> I have one further question on the same line/context.
> I want to store drivers/software for Windows
> as well as Linux BUT on different partitions and "on board".
> Now, when I connect my device to Windows, *partition-1* will be mounted
> automatically and will install the driver/software from that partition.
> And similarly if I connect to Linux, it will mount *partition-2*
> and will install driver/software from that partition.

Drivers for Linux come with the kernel and are not distributed
separately, so you do not need to do this.

> To accomplish this, my device will need to know which USB host it is being connected to.
> And as in USB everything is host centric,
> I am not able to identify how my device can know about which Operating System USB host is running.
> 
> I thought something on getting this information from USB enumeration Pattern. But this method is patented,
> http://www.wikipatents.com/US-Patent-7574534/method-for-using-device-enumeration-information-to-identify-an

Perhaps that does not read on your device, only your lawyers can
confirm this, not us.

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux