Patrick Shirkey wrote:
> >>Using the latest usb-audio code from cvs I get a kernel panic when
> >>loading the drivers.
> >>
> >>I'm running kernel-2.2.21 with gcc-2.95.4
>
> Unable to handle kernel paging request at virtual address 28302e63
> EIP:    0010:[<e08eafc0>]    Tainted: PF
>
> e08e7060 __insmod_snd-usb-audio_S.text_L29104   [snd-usb-audio]
> e08eb02c snd_hack_usb_set_interface     [snd-usb-audio]

The 2.6.5-rc2 kernel introduced some API changes to work around
devices with broken descriptors.  The resulting changes in the ALSA
code broke ALSA's workaround for the same problem.

The fix below is now in CVS.


HTH
Clemens
-- 

Index: usbaudio.inc1
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/usb/usbaudio.inc1,v
retrieving revision 1.5
diff -u -r1.5 usbaudio.inc1
--- alsa-driver/usb/usbaudio.inc1       23 Mar 2004 12:48:18 -0000      1.5
+++ alsa-driver/usb/usbaudio.inc1       21 May 2004 07:34:10 -0000
@@ -98,7 +98,7 @@
                                   interface, NULL, 0, HZ * 5)) < 0)
                return ret;

-       iface->act_altsetting = alternate;
+       iface->act_altsetting = i;
        for (i = 0; i < iface_as->bNumEndpoints; i++) {
                u8 ep = iface_as->endpoint[i].bEndpointAddress;
                usb_settoggle(dev, ep&USB_ENDPOINT_NUMBER_MASK, usb_endpoint_out(ep), 
0);




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to