On Mon, 25 Nov 2002, [EMAIL PROTECTED] wrote:

> After having been pretty busy at work the past few weeks, this morning
> I decided to give this testing another shot. Last time I had been able
> to dicern or notice any change at all when most of the switches were
> fliped... this time amixer/alsamixer simply seg faults. On console the
> kernel just gives me a "divide error: 0000". If I attempt to tempt
> fate a second time, the machine crashes with a polite hang and no
> messages.

Could you try this patch?

--- usbmixer.c  24 Nov 2002 10:35:39 -0000      1.11
+++ usbmixer.c  25 Nov 2002 13:50:23 -0000
@@ -599,6 +599,8 @@
                        if (get_ctl_value(cval, GET_RES, (cval->control << 8) | 
minchn, &cval->res) < 0)
                                cval->res = last_valid_res;
                }
+               if (cval->res == 0)
+                       cval->res = 1;
                cval->initialized = 1;
        }
        return 0;


                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to