Re: Composite device driver binding

"[email protected]" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi Alan,
thanks a lot for your reply.

Alan Stern wrote:
> Your log annotations illustrate this misunderstanding.  The "going down" 
> and "coming back" parts have nothing to do with Setup vs. Data stages.  
> Rather "going down" (or just S) means the message was Submitted to 
> usbcore, and "coming back" (or just C) means that usbcore has Completed 
> the message.  And you got several lines labelled wrong; S always means 
> Submit (or going down) and C always means Complete (or coming back).
>   
You are so right, I was totally misreading the log. Now it makes more sense.
> Nothing special should be needed.  Endpoint 0 should always be shared 
> without difficulty.
>
> If necessary perhaps the ALSA driver could be patched to handle bogus 
> 0-length responses, say by retrying the query?
>
> Alan Stern
>   
Following your hint, I realized that ALSA's USB mixer interprets short 
responses as valid ones and thus uses undefined values for further 
calculations. I proposed a patch to the ALSA mailing list about that. 
The Yealink P1K device now behaves mostly fine, but you are probably 
right by suspecting the device getting confused somehow. Hammering EP0 
with volume requests and key scan commands can suddenly turn the handset 
into an unresponsive piece of plastic.
Thanks a lot for your advice.
-Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.