Microphone not working in HP Pavillion DV6736nr and OpenSuSE

In July last year I installed OpenSuSE 11.0 in my HP Pavillion dv6736nr and had problems with sound. I got a lot of attention and help in this forum, specially from oldcpu. However I was unable to solve all problems and decided to go back to OpenSuSE 10.3. In OpenSuSE 10.3, sound, including Microphone, works OK. I decided to install OpenSuSE 11.1 in another partition of my laptop (the machine I am using). Everything is alright but the internal microphone. I reviewed what oldcpu asked from me in July and I am posting below the information.

uuuuuu@dv6736nr:~> arecord -d 10 myrecording.wav
Recording WAVE ‘myrecording.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
uuuuuu@dv6736nr:~> aplay myrecording.wav
Playing WAVE ‘myrecording.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
==> Result: No Sound comes out of speaker

uuuuuu@dv6736nr:~> arecord -d 10 -f cd mysecondrecording.wav
Recording WAVE ‘mysecondrecording.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
uuuuuu@dv6736nr:~> aplay myrecording.wav
Playing WAVE ‘myrecording.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
==> Result: No Sound comes out of speaker

uuuuuu@dv6736nr:~> rpm -qa | grep alsa
alsa-oss-1.0.17-1.43
alsa-utils-1.0.18-6.4
alsa-1.0.18-8.9
alsa-plugins-1.0.18-6.13

uuuuuu@dv6736nr:~> rpm -qa | grep pulse
libpulse0-0.9.12-9.5

uuuuuu@dv6736nr:~> rpm -q libasound2
libasound2-1.0.18-8.9

uuuuuu@dv6736nr:~> uname -a
Linux dv6736nr 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

uuuuuu@dv6736nr:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

M71A.k5JPLyF5+X5:MCP67 High Definition Audio

alias snd-card-0 snd-hda-intel
uuuuuu@dv6736nr:~>

Besides the above I also run tsalsa and the result was uploaded to: tsalsa.txt - nopaste.com (beta)

================================
Can someone help me in getting the internal microphone of my laptop to work?

Thanks

I had a similar prob using Audacity, as I couldn’t seem to record the audio of a video file as it was playing. During the course of events I found I had inadvertently turned the internal mic on, and discovered how I did that when I turned it off.

The prob with v11.1 imho is that it uses the somewhat functionally limited PulseAudio as it’s default application for sound.

I got around this by going control center/sound and defaulting everything back to (in my case) SiS SI7012(alsa).

Then I right-clicked over the task bar/add to panel/application launcher/multimedia/volume control. There you will find several references to choose from, all but one (the last option on my PC) refer to PulseAudio. Click on the one that says just “Volume Control” with no reference to PulseAudio, then click add.

You should then see a different type of volume control on your task bar. This is the alsa volume control. Click it, and you will then be able to enable your internal mic and alter any levels you may desire, for recording or playback.

I deleted the installed PulseAudio volume control from my task bar in favour of the alsa one described above, and haven’t looked back.

PulseAudio simply just doesn’t have the functionality of alsa, makes me wonder why openSuse went with it as a default.

Anyway, I hope that helps,

Kiwi_Baldrick.

Internal mics are not supported well under alsa, and in my experience can be very difficult to get functioning.

What would have helped, would have been for you to run the diagnostic script tsalsa or alsa-info.sh under openSUSE-10.3 when your mic worked, and then record that. And keep that !! Then we would have a functional baseline to compare against. Now, we have nothing.

Note, the tsalsa script is no longer supported (and its been removed from the troubleshooting guide). Hence I no longer recommend its use. The newer script is “alsa-info.sh” and it comes with 1.0.17 of alsa and on openSUSE-11.1 it can be run via:/usr/sbin/alsa-info.■■■■■ best to run it with root permissions twice. The first time to update the script, and the second time to have info on one’s hardware/software audio config pasted to the web so that the URL can be passed.

I noted you did not install alsa-firmware. Did you have that installed on 10.3? You could try installing that. Reboot afterward, go to your mixer, and try to config the mic.

Also, since you had this working under 10.3, … did you check then (when you were running 10.3) to see if it is an internal USB mic, as opposed to one integrated into the sound card. … often laptops will use a USB mic instead.

I hope you recorded some of this information when you had it functioning on 10.3, else you missed a “golden” opportunity to help us progress on 11.1.

oldcpu, in my notebook I have a partition with OpenSuSE 10.3 (which I am using now and will keep using up to the solution for this problem) and another one with OpenSuSE 11.1. So I can do any investigation requires.

Can I use the same “alsa-info.sh” that comes with 11.1 in 10.3? If not where can I get the 10.3 version for “alsa-info.sh”?

Now I am in OpenSuSE 11.1. I run “/usr/sbin/alsa-info.sh” as you recommended and the result was uploaded to: “http://www.alsa-project.org/db/?f=f8fd28d9e586618669fb21d033d81ea9d306059f

oldcpu, below are the info about my OpenSuSE 10.3 installation.

dv6736nr:~ # rpm -qa | grep alsa
alsa-utils-1.0.14-27
alsa-plugins-1.0.14-41
alsa-1.0.14-31.2
alsa-oss-1.0.14-23

dv6736nr:~ # rpm -qa | grep pulse
libpulse-simple0-0.9.10-0.pm.2
libpulse0-0.9.10-0.pm.2

dv6736nr:~ # rpm -q libasound2
libasound2-1.0.14-31.2

dv6736nr:~ # uname -a
Linux dv6736nr 2.6.22.19-0.2-default #1 SMP 2008-12-18 10:17:03 +0100 i686 athlon i386 GNU/Linux

dv6736nr:~ # cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
dv6736nr:~ #

Besides, I decided to run “alsa-info.sh” I got in OpenSuSE 11.1. I copied it to 10.3 (/usr/sbin directory) and run it. The result is in: http://www.alsa-project.org/db/?f=be449feeb236e62bf9d54041b5ed1d9530ef0978

Hope it helps you helping me!

Thanks

I noticed that the URL was not pasted correctly. Here it is again:

http://www.alsa-project.org/db/?f=be449feeb236e62bf9d54041b5ed1d9530ef0978

Sorry, but I somehow messed the URL. I re-run the “alsa-info.sh” in OpenSuSE 11.1 and here is the result:

http://www.alsa-project.org/db/?f=349d15374655d40285fcd7afdacff8751f966574

Ok, so if I understant this correctly, you have this script output for 11.1:

and you have this for 10.3:

I note alsa-1.0.14 (in openSUSE-10.3) identifies your hardware as a conexant CX5051, while 1.0.18 of alsa (in openSUSE-11.1) identifies it as a conexant CX20561 (Hermosa). I believe that is correct, as I believe the name of the CX5051 was changed to CX20561 (Hermosa).

I note both 10.3 and 11.1 apply position_fix=0, probe_mask=-1, single_cmd=N, and index=1. 11.1 applies bdl_pos_adj=32 but as near as I can determine 10.3 does not. I do not know why the difference, … possibly you could, for both 10.3 and 11.1, check the dmesg output immediately after booting. ie run:dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a and compare the two for sound/alsa info (ie compare 10.3 to 11.1). Are there warnings in one that are not in the other?

Also, reference your mixer I note 11.1 has more mixer controls. 11.1 has IEC958 ON (no 10.3 equivalent). For digital capture, 11.1 has it at 67% which is lower than 10.3’s 98%. For a good comparison, should you not put both at 98% ? I note 11.1 has the “mixer control” set to a “docking mic”. Can you change that? I note 11.1 has the external Mic ON at 80% capture and the internal Mic ON also, at 100% capture. Why do you have both 11.1 mics ON at the same time? Perhaps external should be OFF while you try to use Internal ?

I do not know why the difference in “bdl_pos_adj=32” between 11.1 and 10.3.

I made the corrections suggested (switched external mic to off) rerun the arecord / aplay and the situation was exactly the same as before “no sound from the speakers”

I rerun the script “alsa-info.sh” and uploaded the result to:

http://www.alsa-project.org/db/?f=3414cc5deca7d32ba421eb8793f4186ed35427ed

I will now reboot and run the dmesg for both 10.3 and 11.1.

The output for: “dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a” for 10.3 is here: dmesg.txt - nopaste.com (beta)

I will now reboot into 11.1 and run dmesg and paste the result.

Run “dmesg > dmesg.txt && curl -F file=@dmesg.txt nopaste.com/a” for 11.1 and the result is here: dmesg.txt - nopaste.com (beta)

Best regards.

Note, those were observations as opposed to hard fast settings … ie how can you compare 10.3 to 11.1 if you do not try to make the settings similar ? … I know I am not able to do that sort of comparison if things are different …

Note I’m not a developer. I’m a user, like you.

If AFTER ensuring that you have applied similar settings, you still can not get 11.1 to match 10.3 behaviour, then what I DO SUGGEST is you write a bug report. Submitting Bug Reports - openSUSE

You could also try updating to 1.0.19 of alsa, and see if that helps, … but there are no guarantees. It may make things worse. There is guidance here for that. Note you must send 6 zypper commands.
Alsa-update - openSUSE

oldcpu, I am very grateful to you for trying to help me. I submitted a bug against OpenSuSE 11.1. The bug number is: 480753.

Thank you again.

Takashi Iwai solved the bug I raised (Bug # 480753 in bugzilla.novell.com) and now my internal mic is working. Below are some details on my alsa configuration:

uuuuuuu:~ # rpm -qa | grep alsa
alsa-1.0.19.git20090304-2.1
alsa-firmware-1.0.19.git20090120-2.1
alsa-oss-1.0.17.git20080715-2.23
alsa-utils-1.0.19.git20090221-1.4
alsa-driver-kmp-pae-1.0.19.20090305_2.6.27.7_9.1-3.1
alsa-plugins-1.0.19.git20090303-1.8

uuuuuuu:~ # rpm -qa | grep pulse
libpulse0-0.9.12-9.6
libpulsecore4-0.9.12-9.6

uuuuuuu:~ # rpm -q libasound2
libasound2-1.0.19.git20090304-2.1

uuuuuuu:~ # uname -a
Linux uuuuuuu 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux

uuuuuuu:~ # cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel

M71A.k5JPLyF5+X5:MCP67 High Definition Audio

alias snd-card-0 snd-hda-intel

If you look at the bug you will see the following message I left for Takashi:

==================
Takashi, Congratulations!!!

By folowing your directions I was able to get the internal mic and the external
mic to work.

One question: I did not install “nvidia-gfxG02-kmp-pae”. Therefore my screen is
not pleasant (seems a little blurred). When I ask Yast2 to install
“nvidia-gfxG02-kmp-pae” I get a message saying that
alsa-driver-kmp-pae-1.0.19.20090305_2.6.27.7_9.1-3.1.586 requires
kernel(pae:asound) but this requirement cannot be supplied. For the conflict
resolution it offers the following alternatives:

  • Uninstall alsa-driver-kmp-pae-1.0.19.20090305_2.6.27.7_9.1-3.1.586
  • Do not install nvidia-gfxG02-kmp-pae
  • Ignore some of the alsa-driver-kmp-pae dependencies

I would like to install the nvidia video drivers. What do you suggest?

===================

You will notice that I removed OpenSuSE 11.1 x86-64 and installed OpenSuSE 11.1 i586. I did that as a last resource before receiving the suggestions from Takashi. As it working I am waiting for his answer to my question and then will reinstall the 64bit version of 11.1.

oldcpu, would you like some additional information from me?

You may need to custom compile the nvidia drivers.