From: Jon Grosshart Subject: Re: kernel 2.6.14.x and alsamixer problems Date: Tue, 22 Nov 2005 00:48:29 -0500 Message-ID: <9cf823c60511212148o2fa440b7vb3b151c97b1a78db@mail.gmail.com> References: <437EB3E6.6030205@gmail.com> <437F073D.4070906@superbug.co.uk> <437FF88A.5070502@gmail.com> <43805484.70902@superbug.co.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31121_30368280.1132638509110" Return-path: In-Reply-To: <43805484.70902@superbug.co.uk> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: James Courtier-Dutton Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org ------=_Part_31121_30368280.1132638509110 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 11/20/05, James Courtier-Dutton wrote: > > Jon wrote: > > James Courtier-Dutton wrote: > > > >> Jon wrote: > >> > >>> Greetings all. Ever since I upgraded to linux-2.6.14 and up, I get > this > >>> error when running 'alsamixer' > >>> > >>> > >>> ALSA lib simple_none.c:1216:(simple_add1) helem (MIXER,'Front Playbac= k > >>> Volume',0,0,0) appears twice or more > >>> alsamixer: function snd_mixer_load failed: Invalid argument > >>> > >>> > >>> It does it with alsa-1.0.9 and 1.0.10... I use alsa > >>> {driver,lib,oss,utils} on my box and leave the kernel sound section > >>> alone. As soon as I switch back to 2.6.13.4 it play= s > nice once again > >>> which is confusing to me...... I'm using the emu10k1 chip (SB Live! > >>> Value 5.1). Any insight on this matter would be greatly appreciated..= . > >>> > >>> Jon > >>> > >>> > >> > >> Does you alsa-lib version match your alsa-driver version. > >> Use the troubleshooter on > >> http://alsa.opensrc.org/TroubleShooting > >> to find out. > >> > > Yes, I'm always carefull to run matching versions. As soon as I upgrade= d > > to the 2.6.14 kernel, this started happening. I hadn'nt even touched my > > alsa packages, except alsa-driver ofcourse. I used the same version but > > just compiled the new modules against the new kernel. I've found other > > people having the same problem on the web, but the posts ussually go > > unanswered... :-( > > > > Can you post the output from the troubleshooting steps here please. > > I sure can.. Sorry about that. Here is the output from aadebug [root@jaguar ~/Desktop] ./aadebug ALSA Audio Debug v0.1.0 - Tue Nov 22 00:29:54 EST 2005 http://alsa.opensrc.org/index.php?page=3Daadebug http://www.gnu.org/licenses/gpl.txt Kernel ---------------------------------------------------- Linux jaguar 2.6.14.2 #1 SMP Wed Nov 16 15:38:45 EST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux Loaded Modules -------------------------------------------- snd_pcm_oss 48544 0 snd_mixer_oss 17664 2 snd_pcm_oss snd_emu10k1 117412 1 snd_rawmidi 21408 1 snd_emu10k1 snd_seq_device 7948 2 snd_emu10k1,snd_rawmidi snd_ac97_codec 91936 1 snd_emu10k1 snd_pcm 81412 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec snd_timer 22148 2 snd_emu10k1,snd_pcm snd_ac97_bus 2816 1 snd_ac97_codec snd_page_alloc 9352 2 snd_emu10k1,snd_pcm snd_util_mem 4352 1 snd_emu10k1 snd_hwdep 7968 1 snd_emu10k1 snd 49124 9 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_c= odec,snd_pcm,snd_timer,snd_hwdep Proc Config ----------------------------------------------- CONFIG_SOUND=3Dm # CONFIG_SND is not set # CONFIG_SOUND_PRIME is not set Modprobe Conf --------------------------------------------- alias snd-card-0 snd-emu10k1 alias sound-slot-0 snd-emu10k1 Proc Asound ----------------------------------------------- Advanced Linux Sound Architecture Driver Version 1.0.10. Compiled on Nov 18 2005 for kernel 2.6.14.2 (SMP). 0 [Live ]: EMU10K1 - SB Live [Unknown] SB Live [Unknown] (rev.10, serial:0x80661102) at 0xdda0, irq 21 4: [0- 0]: hardware dependent 8: [0- 0]: raw midi 19: [0- 3]: digital audio playback 18: [0- 2]: digital audio playback 26: [0- 2]: digital audio capture 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 0: [0- 0]: ctl 33: : timer 00-00: EMU10K1 (FX8010) 00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture = 1 00-01: emu10k1 mic : Mic Capture : capture 1 00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : captur= e 1 00-03: emu10k1 : Multichannel Playback : playback 1 cat: /proc/asound/seq/clients: No such file or directory Dev Snd --------------------------------------------------- controlC0 midiC0D0 pcmC0D0p pcmC0D2c pcmC0D3p hwC0D0 pcmC0D0c pcmC0D1c pcmC0D2p timer CPU ------------------------------------------------------- model name : Intel(R) Pentium(R) 4 CPU 3.00GHz cpu MHz : 2992.835 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz cpu MHz : 2992.835 RAM ------------------------------------------------------- MemTotal: 514840 kB SwapTotal: 1020116 kB Hardware -------------------------------------------------- 00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02) 02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a= ) Now, I still have sound... Somewhat.... It comes out the back two speakers but not the front two. I can use the gnome sound control to atleast get it to where I can hear something... I just can't open alsamixer and tweak it out... >From the Troubleshooting list: 1.) I am using alsa-driver and not the built-in kernel modules 2.) [root@jaguar ~/Desktop] cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.10. Compiled on Nov 18 2005 for kernel 2.6.14.2 (SMP). 3.) [root@jaguar ~/Desktop] grep VERSION_STR /usr/include/alsa/version.h #define SND_LIB_VERSION_STR "1.0.10" 4.) [root@jaguar ~/Desktop] cat /proc/asound/cards 0 [Live ]: EMU10K1 - SB Live [Unknown] SB Live [Unknown] (rev.10, serial:0x80661102) at 0xdda0, irq 21 [root@jaguar ~/Desktop] lspci | egrep audio 02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a= ) 5.) [root@jaguar ~/Desktop] alsamixer ALSA lib simple_none.c:1216:(simple_add1) helem (MIXER,'Front Playback Volume',0,0,0) appears twice or more alsamixer: function snd_mixer_load failed: Invalid argument 6.) I hate to admit it, but I ussually only run as root. From step 6 and beyond, it seems pretty trivial to do. Let me know if there is anything else I can provide and thank you James for your help. I really do apprecieate it... ------=_Part_31121_30368280.1132638509110 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 11/20/05, James Courtier-Dutton <James@superbug.co.uk> wrote:
Jon wrote:
> James Courtier-Dutton wrote:
>
>> Jon wro= te:
>>
>>> Greetings all. Ever since I upgraded to lin= ux-2.6.14 and up, I get this
>>> error when running 'alsamixer'
>>>
>>>
>>> ALSA lib simple_none.c:121= 6:(simple_add1) helem (MIXER,'Front Playback
>>> Volume',0,0,0)= appears twice or more
>>> alsamixer: function snd_mixer_load f= ailed: Invalid argument
>>>
>>>
>>> It does it with alsa-1.0.9= and 1.0.10... I use alsa
>>> {driver,lib,oss,utils} on my box = and leave the kernel sound section
>>> alone. As soon as I swit= ch back to=20 2.6.13.4 it plays nice once again
>&g= t;> which is confusing to me...... I'm using the emu10k1 chip (SB Live!<= br>>>> Value 5.1). Any insight on this matter would be greatly app= reciated...
>>>
>>> Jon
>>>
>>>
>= ;>
>> Does you alsa-lib version match your alsa-driver version.=
>> Use the troubleshooter on
>> http://alsa.opensrc.org/TroubleShooting
>> to find out.
>= ;>
> Yes, I'm always carefull to run matching versions. As soon as= I upgraded
> to the 2.6.14 kernel, this started happening. I hadn'nt= even touched my
> alsa packages, except alsa-driver ofcourse. I used the same versio= n but
> just compiled the new modules against the new kernel. I've fo= und other
> people having the same problem on the web, but the posts = ussually go
> unanswered... :-(
>

Can you post the output from the = troubleshooting steps here please.



I sure can.. Sorry about that. Here is the output from aadebug


[root@jaguar ~/Desktop] ./aadebug
ALSA Audio Debug v0.1.0 - Tue Nov 22 00:29:54 EST 2005
http://alsa.op= ensrc.org/index.php?page=3Daadebug
http://www.gnu.org/licenses= /gpl.txt

Kernel ----------------------------------------------------
Linux jaguar 2.6.14.2 #1 SMP Wed Nov 16 15:= 38:45 EST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linu= x

Loaded Modules --------------------------------------------
snd_pcm_oss          &nbs= p; 48544  0
snd_mixer_oss          17664&n= bsp; 2 snd_pcm_oss
snd_emu10k1           117= 412  1
snd_rawmidi          &nbs= p; 21408  1 snd_emu10k1
snd_seq_device          7948&n= bsp; 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         91936  = 1 snd_emu10k1
snd_pcm           &n= bsp;    81412  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer           =    22148  2 snd_emu10k1,snd_pcm
snd_ac97_bus          &nb= sp; 2816  1 snd_ac97_codec
snd_page_alloc          9352&n= bsp; 2 snd_emu10k1,snd_pcm
snd_util_mem          &nb= sp; 4352  1 snd_emu10k1
snd_hwdep           =     7968  1 snd_emu10k1
snd            =         49124  9 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_c= odec,snd_pcm,snd_timer,snd_hwdep

Proc Config -----------------------------------------------
CONFIG_SOUND=3Dm
# CONFIG_SND is not set
# CONFIG_SOUND_PRIME is not set

Modprobe Conf ---------------------------------------------
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.10.
Compiled on Nov 18 2005 for kernel 2.6.14.2= (SMP).
0 [Live           ]: EMU1= 0K1 - SB Live [Unknown]
            &nb= sp;        SB Live [Unknown] (rev.10, serial:0x80661102) at 0xdda0, irq 21
  4: [0- 0]: hardware dependent
  8: [0- 0]: raw midi
 19: [0- 3]: digital audio playback
 18: [0- 2]: digital audio playback
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer
00-00: EMU10K1 (FX8010)
00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture = 1
00-01: emu10k1 mic : Mic Capture : capture 1
00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : captur= e 1
00-03: emu10k1 : Multichannel Playback : playback 1
cat: /proc/asound/seq/clients: No such file or directory

Dev Snd ---------------------------------------------------
controlC0  midiC0D0  pcmC0D0p  pcmC0D2c  pcmC0D3p
hwC0D0     pcmC0D0c  pcmC0D1c  pcmC0D2p = timer

CPU -------------------------------------------------------
model name      : Intel(R) Pentium(R) 4 CPU 3.00GH= z
cpu MHz         : 2992.835
model name      : Intel(R) Pentium(R) 4 CPU 3.00GH= z
cpu MHz         : 2992.835

RAM -------------------------------------------------------
MemTotal:       514840 kB
SwapTotal:     1020116 kB

Hardware --------------------------------------------------
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (= rev 02)
02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a= )



Now, I still have sound... Somewhat.... It comes out the back two speakers but not the front two. I can use the gnome sound control to atleast get it to where I can hear something... I just can't open alsamixer and tweak it out...
>From the Troubleshooting list:


1.) I am using alsa-driver and not the built-in kernel modules

2.) [root@jaguar ~/Desktop] cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.10.
Compiled on Nov 18 2005 for kernel 2.6.14.2= (SMP).

3.) [root@jaguar ~/Desktop] grep VERSION_STR /usr/include/alsa/version.h #define SND_LIB_VERSION_STR     "1.0.10"

4.) [root@jaguar ~/Desktop] cat /proc/asound/cards
0 [Live           ]: EMU1= 0K1 - SB Live [Unknown]
            &nb= sp;        SB Live [Unknown] (rev.10, serial:0x80661102) at 0xdda0, irq 21

      [root@jaguar ~/Desktop] lspci | egrep audio<= br> 02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a= )


5.) [root@jaguar ~/Desktop] alsamixer
ALSA lib simple_none.c:1216:(simple_add1) helem (MIXER,'Front Playback Volu= me',0,0,0) appears twice or more

alsamixer: function snd_mixer_load failed: Invalid argument

6.) I hate to admit it, but I ussually only run as root. From step 6 and be= yond, it seems pretty trivial to do.



Let me know if there is anything else I can provide and thank you James for= your help. I really do apprecieate it...

------=_Part_31121_30368280.1132638509110-- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click