lkml.org 
[lkml]   [1999]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb] Re: Linux 2.3.18ac6
Pavel Machek wrote:

> I tried that. After many failed commands, it finally creates
> /dev/dsp. However, when I try to open it,
>
> if ((alts->endpoint[0].bmAttributes & 0x0c) == 0x04) {
> if (alts->bNumEndpoints < 2 ||
> alts->endpoint[1].bmAttributes != 0x01 /* ||
> alts->endpoint[0].bSynchAddress == 0 ||

Ok, thanks for testing and well spotted, the
last test should be alts->endpoint[1].bSynchAddress == 0.
You tried this on your speakers with the Dallas Semi chip,
didn't you? :-)

> Sep 21 13:31:20 bug kernel: usbaudio: failure to set sampling

Hohum. Either I screwed the sampling rate setting code,
or the device doesn't want to be told what sampling rate to use.
I go back studying docs...

Tom

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.082 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site