Category: Audio Tweaking

HP Mini 1000 audio fix for Ubuntu 9.04

So i decided to pick up a sexy netbook and i couldn’t be happier. Now, this is the first time i’ve actually purchased anything that wasn’t a desktop, and the recent surge in popularity of netbooks caught my interest. Now i rarely have a need to do computer work on the road or have the need to take a computer somewhere, but i knew i could find some conveniences with a netbook that i wouldn’t normally have with a laptop. Netbooks are tiny, light, and generally look better than laptops. Plus they have enough power to do your every day tasks and is crazy easy to carry around. I decided on the HP Mini 1000 (1035NR) for 2 reasons. 1, the keyboard is large for my freakishly bulbus fingers, and 2. the price was right for only $279.

Obviously, my first task after opening it up was installing Ubuntu. First problem was that i don’t have an external dvd drive, so i had to create a bootable usb flash drive with the ubuntu cd image. That had it’s own set of challenges until i actually managed to format the flash drive correctly prior to loading the image on to it.

After i got Ubuntu installed it looked absolutely perfect with none of the usual suspects when it comes to Linux compatibility with hardware with the one exception of the audio. After searching all over getting no real good answers, i find this incredibly helpful post with a line by line instruction on how to compile the newest alsa drivers from source. i followed the instructions, rebooted, and bam, i got myslef some sound.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318942/comments/63

- 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.

My list of junk i installed

get windows fonts
sudo apt-get install msttcorefonts

low volume
sudo gedit /etc/modprobe.d/alsa-base
add line: options snd-hda-intel model=3stack

get printer working
open printer properties
install Canon PIXMA MP150 CUPS driver

install samba for network sharing
open synaptic package manager
install samba (samba – LanManager-like file and printer server for Unix.)
sudo gedit /etc/samba/smb.conf
change workgroup

install desktop effects
get from add/remove applications (didn’t seem to work)
sudo aptitude install compizconfig-settings-manager (worked)

install amarok
get from add/remove applications

install thunderbird
sudo aptitude install mozilla-thunderbird

install firetray add-on to minimize thunderbird to tray

http://code.google.com/p/firetray/downloads/list

install filezilla
sudo apt-get install filezilla

install amsn
sudo apt-get install amsn

install mythtv
sudo apt-get install mythtv

install tvtime
get from synaptic package manager
after installation go into sound settings and change channel mode to 2ch to get line-in working

install unrar
sudo apt-get install unrar