Saturday 23 June 2012

No sound on Ubuntu 12.04 after upgrading from 11.10



I have recently upgraded my Ubuntu 11.10 distribution to Ubuntu 12.04 LTS on my HP pavillion dv6 laptop.


This is the output from 'aplay -l' command of my system.

card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


After rebooting I noticed that I had no sound. After trying many things, to resolve this problem I had to add the following two lines to the "alsa-base.conf" file.

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=auto

If this does not work then replace "auto" with the following keywords one at a time. Save the file and restart your computer each time you test with one configuration.

ref                    - Reference board
mic-ref            -Reference board with power management for ports
dell-s14           -Dell laptop
hp                     -HP laptops with (inverted) mute-LED
hp-dv7-4000  -HP dv-7 4000
auto                  - BIOS setup (default)

Reference :- ubuntu 12.04 no sound vostro 3300 i5
Chathura

7 comments:

  1. thankyou !

    I used model=auto (model=hp did not work on my dv7)

    On a HP Pavillion DV7-2014TX the external speakers dont turn off when pluggin in headphones

    ReplyDelete
    Replies
    1. I do not think this issue is related to the issue you are having. Sorry.

      Delete
  2. Hello

    I had the same issue on a hp pavilion dv7 2238sf.
    Thank you for giving the options that made it work.

    alias snd-card-0 snd-hda-intel
    options snd-hda-intel model=auto

    regards

    FlamM

    ReplyDelete
  3. Many thanks. After spending way too much effort trying to get my audio to work again, this solved it.

    ReplyDelete
  4. You are awesome...... this worked for me

    ReplyDelete
  5. # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    # Keep snd-usb-audio from beeing loaded as first soundcard
    options snd-usb-audio index=-2

    so how do i add the next code? as put above?

    ReplyDelete