05 July, 2008

Laptops (acer/asus/...) onboard microphones (hda-intel)

Today I was asked to prepare a video conference and... I was upset by the thing my microphone (neither internal or external) doesn't work. I don't have Windows on my laptop to do tests (only on VMware for my webcam). Since I was in a hurry I didn't google much (found some things about playing with model=SOMETHING --> /etc/modprobe.d/sound, but failed to achive the victory. In 3 hours I tried just to use workstation, reconfigure my sounddriver, installed oss, etc. Don't mind I was doing it all 3 hours: I had a tea, had a lunch, cleaned the room and also downloaded 60mb kernel source (headers package on SUSE looks broken) to build VMWare modules, 100mb VMplayer and 200mb VMWorkstatib (I used it last time, so decided it had something special, but it had not).
And now I googled my problem in 5 (!!!) minutes.
The recipe:
run alsaconf, if you get no results check 'head -n 1 /proc/asound/card0/codec*'. I have such output:
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC883
==> /proc/asound/card0/codec#1 <==
Codec: LSI Si3054

Search for you codec (in my case ALC883) in /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt
Try to add model names to the /etc/modprobe.d/sound:
options snd-hda-intel model=laptop
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

First I recomend to use your laptom vendor name (acer/asus/hp etc). For me it doesn't work. But model=laptop works for internal microphone and 3stack is ok for external.
I got all the information from the net. Thanks for the working model names to
http://groups.google.com/group/alt.os.linux.slackware/browse_thread/thread/534a6f3aebd8c9ee

No comments: