Re: Multiconfiguration and mutil-interface

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

On Fri, 23 Nov 2007, Anil Yadav wrote:

> Thanks Alan,
> I will see configuration descriptor properly.
> The first para of my e-mail says if the gadget with 2 configurations
> and  multiple interfaces got attached to the Host, following things
> must be done -
> 1. all the respective interface drivers get loaded for a particular
> configuration.(e.g. if a device supports audio as well video, then
> both audio class interface driver and video driver should get loaded )

The host will load those drivers automatically if your gadget driver
behaves correctly.

> 2.  if i do cat /proc/bus/usb/devices  audio class driver and video
> driver of Host should detect the gadget.

This doesn't make sense.  First of all, /proc/bus/usb/devices has
nothing to do with it -- the gadget will be detected whether you cat
that file or not.  Second, gadget detection isn't handled by audio or
video class drivers; it is handled by the hub driver.

Alan Stern

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
To unsubscribe, use the last form field at:

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]