At Thu, 12 Dec 2002 21:46:43 +1100,
[EMAIL PROTECTED] wrote:
> 
> Hi Takashi,
> 
> > i hope this is fixed now on cvs.  please give a try.
> > 
> still no luck- to recap the story so far: if I first boot windows,
> then boot linux, leaving the power on, I get a midi device (garbled
> signals), and audio capture rate seems to work for arecord, but
> alsamixer won't start, saying: 
> alsamixer: function snd_mixer_load failed: Invalid argument,
> even when there is no asound.state.

some of the mixer elements on extigy seem not accessible correctly.
and alsamixer (or alsactl) quits due to such an error.

> If I try booting linux straight after power-on, alsamixer works, but
> I only get one altset in /proc/asound/card1/stream0, no midi, and
> strange capture rate behaviour using arecord and other programs. 

hmm, then apparently this comes from a firmware loaded on windows...

> > if alsamixer still doesn't work, please try to build the alsa driver
> > with --with-debug=detect option, check the kernel messages and post
> > the result.
> > 
> OK, here it is:
> Dec 12 21:26:19 demudi kernel: usb.c: registered new driver snd-usb-audio
> Dec 12 21:26:19 demudi kernel: ALSA ../alsa-kernel/usb/usbmixer.c:1206: [17] PU [Up 
>Down Switch] ch = 1, val = 0/1
> Dec 12 21:26:19 demudi kernel: usb_control/bulk_msg: timeout
> Dec 12 21:26:19 demudi last message repeated 9 times
> Dec 12 21:26:19 demudi kernel: ALSA ../alsa-kernel/usb/usbmixer.c:299: cannot get 
>ctl value: req = 0x83, idx = 0x200, val = 0x1100, type = 3
> Dec 12 21:26:19 demudi kernel: ALSA ../alsa-kernel/usb/usbmixer.c:596: 17:0: cannot 
>get min/max values for control 2 (id 17)
> Dec 12 21:26:19 demudi kernel: ALSA ../alsa-kernel/usb/usbmixer.c:1206: [17] PU [Up 
>Down Mode Select] ch = 1, val = 0/1

this control is culprit.
if you run alsamixer later, you'll get similar error messages for this
control.

anyway, could you comment out #define IGNORE_CTL_ERROR at the
beginning of usbmixer.c?  then the error won't be returned but
ignored.  please use --with-debug=detect in this case, too, at least
once, for checking which controls are bad.


thanks,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to