Re: [PATCH 0/2] USB gadget: Handle endpoint requests at the function level

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

 



On Tue, 18 Aug 2009, Robin Callender wrote:

> I agree, there is no wrong part (in the parsing sense) to the configuration 
> that I can discern.
> But the device-to-host interactions do not progress to the next expected 
> interaction.
> The next expected interaction is where the Endpoint CS 
> Get_Cur(SampleFrequency) is queried.
> This would be the first action conducted over the configured endpoints.
> There is something about this new "speaker+microphone" configuation which 
> windows-xp doesn't like, and is not sending Get_Cur(SampFreq).

Okay.  But it probably doesn't have any connection with the way the
endpoints are used.  Maybe your version of Windows can't handle
composite audio devies (that's just a wild guess; I have no experience
with USB audio devices and even less experience using them with
Windows).


> > It contains three interfaces.  Interface 0 doesn't use any endpoints,
> > interface 1 uses endpoint 1 OUT, and interface 2 uses endpoint 2 IN.
> > So what makes you think there's any sharing going on?
> 
> I have attached a kern.log section with debug spew showing what I am taking 
> as the sharing of the endpoint (circa line 7).
>      Aug 18 10:53:01 ultraman kernel: [ 1177.261318] using net2280, OUT ep-a 
> IN ep-a
> Perhaps I am misunderstanding this spew but it looks like OUT and IN are 
> both using ep-a.

Yes, it does look that way.  Evidently there is a bug somewhere.  But
the host wouldn't be aware of the bug -- not until it tried to transfer
some data.

Alan Stern

--
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