Re: Accessing USB Device configured with more than one Configuration

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

 



On Mon, Apr 16, 2007 at 09:31:23PM -0700, mayank rana wrote:
> Hi All,
> 
> If USB Device is having more than one Configuration i.eUSB Device with Audio and HID Configuration. I have couple of questions :
> 
> 1. I am able to see only one device in Linux as detected. i.e using lsusb. why ?

Because it is only one device.

> 2. How device driver will be able to make decision that URB is for
> Audio or HID configuration ?

USB drivers bind to "interfaces" not "devices".

> 3. How many device driver is required for proper communication with
> this USB Device ? i.e separate device driver for Audio and HID or one
> device driver will do.

Exactly, separate drivers for different interfaces.

> 4. How can I initiated communciation with this device ?  

Exactly how you would for every other device.

If you want more specifics about the Linux USB device model, please see
the USB chapter in the book, "Linux Device Drivers, third edition",
which is free online.

hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux