View Full Version : Mic problem on HP mini / Ubuntu Remix
marconibra
September 30th, 2009, 09:32 AM
I bought a Notebook HP Mini (1gb ram / HD 16gbSD ) and it came with a pre-installed WinXp. Tired of the same Xperience, I installed (I'm a new linux user) HP MIE Linux and it worked perfectly. All out of the box.
However, this linux version was not what I was looking for. It gave few options and restricted me to do many things. Then, I decided to run Ubuntu Remix. I installed this version from my USB drive and, everything seemed to be fine: Video, sound etc.
However, since then I noticed my built-in mic does not work. I tried everything. I googled it. Edit many files. But still cannot get my mic to work neither with skype nor with any audio recorder.
Can anyone help me to fix this? Thanks in advance!
marconibra
October 3rd, 2009, 10:23 AM
Thanks everybody for not responding. You guys were very helpful.
Here it goes the guidelines to fix this problem:
- First, check that you have this packages installed (sudo apt-get install package_name):
patch, gettext, libncurses5-dev, xmlto, xmltoman
- Use this script:
cd ~
mkdir soundtmp
cd soundtmp
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.19.tar.bz2
tar xjf alsa-driver-1.0.19.tar.bz2
tar xjf alsa-lib-1.0.19.tar.bz2
tar xjf alsa-utils-1.0.19.tar.bz2
cd alsa-driver-1.0.19
./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r)
make
sudo make install
cd ..
cd alsa-lib-1.0.19
./configure
make
sudo make install
cd ..
cd alsa-utils-1.0.19
./configure --disable-nls
make
sudo make install
- Change your alsa-base.conf file (sudo gedit /etc/modprobe.d/alsa-base.conf) adding these lines:
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-m4
options snd-hda-intel enable_msi=1
- Go to System>Preferences>Sound and change first 4 options to ALSA
- Reboot!
- After reboot you should hear login sound...
- In volume control, you'll want to set the input sources to "line" and "front mic" for the HDA Intel (Alsa mixer). Make sure your volumes are not set too low after a reboot, you're off and running (thanks to jasonq).
Built in speakers work, headphones and internal mic. Magic blue keys works too, and i'm not having issues about playing from 2 different sources at the same time (youtube in firefox and mp3 in rhytmbox). However, I didn't test external mic.
Maybe between kernel updates you have to do all this process again.
Thanks brian!
http://ubuntu.bryanludvigsen.com/?p=240
helmingstay
January 8th, 2010, 07:01 PM
For reference, tt appears this was an alsa issue. Bug fixes have been incorporated as backports. A very simple fix is here:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/458302
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.