[Jaunty] Getting the Sound working on the HP Mini 1000 (or 1120NR)

Note that in Karmic Koala 9.10, the sound is working by default!

I had problems having any sound working on jaunty pre-releases (beta and release candidates). I have a HP Mini 1000 1120NR. This workaround should also work for other models.

This is related to this bug report. There is no official fixes yet.

Here's my workaround:

  • Open a Terminal and keep the same one for the whole time.
  • Add my team minichoco's PPA (repository).
    • gksudo gedit /etc/apt/sources.list
    • And add this:
      deb http://ppa.launchpad.net/minichoco-team/ppa/ubuntu jaunty main
      deb-src http://ppa.launchpad.net/minichoco-team/ppa/ubuntu jaunty main
    • Save and Quit. Return to your terminal.
    • Add the PPA's GPG key:
      sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9220067F
  • Update apt's cache:
    sudo apt-get update
  • Do all the available upgrades:
    sudo apt-get upgrade
  • Install alsa-source and module-assistant:
    sudo apt-get install alsa-source module-assistant
  • (optional) To reduce the compile time of the drivers, edit /etc/alsa/alsa-source.conf (using gksudo gedit /etc/alsa/alsa-source.conf) on line 11 you should have:
    ALSA_CARDS="hda-intel"
  • Compile, build and install (using a deb package) alsa drivers:
    sudo m-a a-i alsa-source
  • Reboot:
    sudo reboot
  • Open the gnome-volume-control, alsamixer or whatever you use, unmute the Speaker mixer.
  • (Optional) Edit /etc/rc.local (gksudo gedit /etc/rc.local). And add these lines to make sure your volume is always right:
    amixer set Speaker unmute
    amixer set Speaker 100%
    amixer set 'PC Beep' mute
    amixer set Master 70%
  • Enjoy some music!

No need to modify /etc/modprobe.d/alsa-base.conf.
This *might* need to be compiled again if there is a kernel update, please leave a comment if you know how module-assistant behaves in this case.

Note: You can also mute the annoying PC Beep (you have to go into preferences first, and check the pc beep box, then it'll appear as a mixer).

If you still have issues with sound, please see the LP bug report #318942. There are other workarounds to this problem.

In case of linux-image / kernel updates
, you'll have to re-run:

sudo m-a a-i alsa-source
sudo reboot

25 Comments so far »

  1. J said

    April 24 2009 @ 12:12 PM

    You are my new favorite person. This worked like a charm for my mini. I've been on the Jaunty dailies for weeks hoping to get them to support audio out of the box for the mini 1000. No luck when I got the full 9.04 version today. But when I ran through your tutorial...everything worked flawlessly.

    Two notes though: Sudo VIM didn't work for me in the first step. I had to add them through the GUI and then used terminal to add the auth.

    Also to edit the alsa conf file, you might tell your users to use sudo gedit then open the file, otherwise they won't be able to save. Granted most users will know that, but linux n00bs like myself might have trouble.

    Fantastic guide! Thank you so much. I owe my tunes to you!!!

  2. weboide said

    April 24 2009 @ 3:43 PM

    Hi J,
    I'm very happy that this helped you. I also had troubles for a while until I found this workaround.
    I did the changes you suggested, thanks for those. I also changed the wording a bit, and I've written gksudo gedit instead of sudo gedit as you said, because gedit is a graphical application and gksudo should used for graphical applications instead of sudo (which is for command line applications).
    Enjoy your mini with sound now!

  3. mike said

    April 24 2009 @ 4:48 PM

    worked like a charm, thank you

  4. quickyfant said

    April 24 2009 @ 11:09 PM

    Hi!

    Thank you very much for this! I have now sound in headset, but not in speakers! But I have sound! I was getting anxious with no sound at all! Thanks!

  5. JohnW said

    April 25 2009 @ 4:57 AM

    Many thanks! Now the sound on my HP Mini 1120NR simply works.

  6. weboide said

    April 25 2009 @ 4:58 AM

    quickyfant, try and run these commands, see if this helps.

    amixer set Speaker unmute
    amixer set Master 85%
    paplay /usr/share/sounds/question.wav
  7. weboide said

    April 25 2009 @ 5:07 AM

    And if you still have issues with sound, please see the LP bug report #318942. There are other workarounds to this problem.

  8. quickyfant said

    April 25 2009 @ 7:47 PM

    Hi Weboide!

    Thank you very much for your answer! I tried the commands! I still have sound in headphones, but not in speakers! I followed the link, thank you! I have been following threads in th Ubuntu community but everything I tried, didn't work! Your tip got me sound in the headphones, thats a lot thank you! I hope Ubuntu works this out! Thanks for your help!

  9. weboide said

    April 25 2009 @ 7:50 PM

    Hey quickyfant, I'm sorry to hear that it still doesn't work for the speakers.
    What kind of HP Mini 1000 is it? 1120NR? Did it come with Linux HP MIE or Windows?

  10. quickyfant said

    April 25 2009 @ 11:34 PM

    Hi Weboide!

    Thanks! I do not have a HPmini. I Just got here to your page, because it was posted in Ubuntu community that it could work with any HP. I have a HP Pavilion dv5, it came with Windows Vista 64-bit. I cornered that OS into a hard drive compartment and installed Ubuntu Intrepid on the rest. Everything was going well until I chose to upgrade to Jaunty! I tried several tips in the forums, but only your guide got me sound in headphones! Just for fun:
    card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    Thanks again for your help!

  11. weboide said

    April 26 2009 @ 5:16 AM

  12. quickyfant said

    April 26 2009 @ 10:33 PM

    Hi Weboide!

    Thank you very much for the links! The hints there didn't work, I think I am giving up, sound in headphones is just right for me now! I do hope Ubuntu come up with a package for this problem! Thanks for your help!

  13. drkitty said

    May 8 2009 @ 8:11 AM

    Thank you so much for this! It worked with my asus notebook, intel soundcard ICH7.

  14. Jake said

    June 1 2009 @ 1:56 PM

    holy exclamation mark...

  15. chr0me said

    June 6 2009 @ 9:43 PM

    Thank you! After a lot of dead ends, this was easy to follow and worked like a charm. (HP Mini 1030NR)

  16. Rob said

    June 11 2009 @ 12:49 PM

    Thank you very much. This got sound working very well on my Compaq 702EA

  17. mcroger said

    June 19 2009 @ 3:34 PM

    Worked great on my Compaq 730 !
    I've been googling for days 'til I found your solution, thanks a lot !!!

  18. Arnaud Soyez said

    June 25 2009 @ 3:32 AM

    If you have made linux kernel updates, you'll have to re-run:
    sudo m-a a-i alsa-source
    sudo reboot

    (I just modified the post)

  19. George Sichelstiel said

    July 18 2009 @ 1:50 PM

    Not so lucky. Must be something very wrong. Have the latest and applied all the updates. Did a clean install (yes, I wiped the disk) and followed the procedure to the T. Any suggestions? No sound, even with the headphone jack. Frustrating as I may go back to Windows (where it worked). 13 hours into this so far.

  20. Arnaud Soyez said

    July 18 2009 @ 4:23 PM

    Did you try reading some of the last comments in the related bug report (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318942) ?
    Some have found different ways to fix this issue for other models.

  21. David Shor said

    November 6 2009 @ 5:57 AM

    I'm unable to set the public key, getting

    david@david-laptop:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9220067F
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 9220067F
    gpg: requesting key 9220067F from hkp server keyserver.ubuntu.com
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error

    what should I do?

  22. Arnaud Soyez said

    November 6 2009 @ 6:05 AM

    Try again. The server might be saturated from time to time.

  23. academic writing jobs said

    April 29 2010 @ 5:48 PM

    thanks for posting for this such a wonderful idea..

  24. Jonathan Miller said

    July 9 2011 @ 6:00 PM

    I've been looking for a solution for a long time, so thanks for posting this! There's just one problem...

    I'm not exactly the most familiar with Linux commands, so I seem stuck. Whenever I try to run sudo m-a a-i alsa-source, terminal keeps telling me "sudo: m-a: command not found." I followed all of the steps before and didn't have any problems. Any idea what the problem might be?

  25. Arnaud Soyez said

    July 10 2011 @ 2:08 PM

    Jonathan,

    It seems you do not have the module-assistant installed.
    Make sure you've installed it with:

    sudo apt-get install alsa-source module-assistant

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: