Tuesday, 30 July 2013

How to fix the "built in speaker not working" issue in laptops with Ubuntu 13.04 (UEFI)

Recently I have bought a new Sony Vaio touchscreen laptop with Windows 8 UEFI boot (laptop is really good and I highly recommend it) . It was fairly easy to install Ubuntu 13.04 along side windows 8. I was successfully able to dual boot Windows 8 and Ubuntu in this laptop.

In Windows 8 as expected everything worked perfectly out of the box but it was a different story in Ubuntu. I have spent almost 3 weekends for a solution and finally found the solution from some of the old bug reports dated back to Ubuntu 8.04.

The issue was that that the laptop's built in speaker didn't work out of the box. But audio is working perfectly if we plug in a headphone. So I can confirm that the issue a just with the built in speaker audio driver with Ubuntu.

I have found so many other users are also affected by this same issue. So I have tried all the available solutions in askubuntu forums like changing the alsa module (editing /etc/modprobe.d/alsa-base.conf ) and upgrading the kernel (my kernel is 3.8.0-19-generic). Nothing worked and finally I ended up with no sound at all, even from the headset.

So I re-installed Ubuntu and fixed the issue with below solution.

It is just that update your alsa package from ubuntu audio development team. Just download the correct verion of your alsa from here , install it and then reboot your computer.

After the reboot, sound should be working from the built in speaker as well as headset. Also I can confirm that there was no issue like sound is playing from both headset and built in speaker at the same time.

So for my Ubuntu 13.04 64 bit (only 64 bit has UEFI support), I have downloaded "raring build". In terminal (CTL+ALT+T) type below commands

cd ~/Downloads/

wget https://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-daily/+files/oem-audio-hda-daily-dkms_0.201307180559~raring1_all.deb

sudo dpk -i oem-audio-hda-daily-dkms_0.201307180559~raring1_all.deb

Then reboot,

sudo init 6

After the reboot, check your sound and it should be working as  it should be.

If this has helped to fix your sound issue, please let us know in the comments with the below details. This will be really helpful to other users who are also suffering from the same issue:

* * * * * * * * * * * * * * * * * * * * * * * * *

Laptop :

Sony VAIO Fit 15E F15215SN/W

Sound Card :

sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 sudo lspci -v | grep -A7 -i "audio"
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    Subsystem: Sony Corporation Device 90b8
    Flags: bus master, fast devsel, latency 0, IRQ 45
    Memory at c0810000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [100] Virtual Channel


  1. Excellent answer, I downloaded the ALSA thingamajig, installed it, rebooted and hey presto, then there was sound ! Many thanks.

  2. Awesome. This helped a lot. On a more recent version of Ubuntu (Trusty) do:
    sudo add-apt-repository ppa:ubuntu-audio-dev/alsa-daily
    sudo apt-get update
    sudo apt-get install oem-audio-hda-daily-lts-xenial-dkms
    and make sure to un-mute the speakers after reboot using alsamixer