Looking to learn linux. Audio not working. Windows says realtek hd audio

Asked by mark

Its a Lenovo ideapad s510p. Intel 4th gen i5. Here's windows device id from device manager.

HDAUDIO\FUNC_01&VEN_10EC&DEV_0233&SUBSYS_17AA3801&REV_1000

This is ubuntu 12.0.4.3 I installed in UEFI mode and is running dual boot with windows 8. Everything else works. There's even the volume slider and volume buttons on keyboard seem to work with the slider. Ubuntu says 'analog device' but nothing else. I went through the troubleshooting steps here but nothing seems to be working. I really want to learn linux and will read and do whatever work I need to. :)

Here's the info:

 http://www.alsa-project.org/db/?f=5d37507708a4947f6eec801bae951212fb81051d

Any help would be greatly appreciated. Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Run that as one big command and reboot to test

Revision history for this message
mark (norcalxbox360repair) said :
#3

Hi, thanks for your help! The commands and downloads were successful, but unfortunately after the reboot there was still no sound. I noticed while ubuntu is booting I see some errors on the screen. I'll try to save those but they flash quickly on the screen and they're gone. I was already burned out when I posted the question so I'll check it out more and be fresh tomorrow. Thanks again.

Revision history for this message
mark (norcalxbox360repair) said :
#4

Wanted to add to this... If you check the device id I posted above, it has 10ec for the vendor id which I believe is Realtek. When I run:

cat /proc/asound/card0/codec* | grep Codec

It comes up with:

Intel Haswell Hdmi. Hope that helps some. Thanks again.

Revision history for this message
mark (norcalxbox360repair) said :
#5

More info....

pacmd
Welcome to PulseAudio! Use "help" for usage information.
>>> list-sinks
2 sink(s) available.
    index: 0
 name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
 driver: <module-alsa-card.c>
 flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
 state: SUSPENDED
 suspend cause: IDLE
 priority: 9950
 volume: 0: 100% 1: 100%
         0: 0.00 dB 1: 0.00 dB
         balance 0.00
 base volume: 100%
              0.00 dB
 volume steps: 65537
 muted: no
 current latency: 0.00 ms
 max request: 0 KiB
 max rewind: 0 KiB
 monitor source: 0
 sample spec: s16le 2ch 44100Hz
 channel map: front-left,front-right
              Stereo
 used by: 0
 linked by: 0
 configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
 card: 0 <alsa_card.pci-0000_00_03.0>
 module: 4
 properties:
  alsa.resolution_bits = "16"
  device.api = "alsa"
  device.class = "sound"
  alsa.class = "generic"
  alsa.subclass = "generic-mix"
  alsa.name = "HDMI 0"
  alsa.id = "HDMI 0"
  alsa.subdevice = "0"
  alsa.subdevice_name = "subdevice #0"
  alsa.device = "3"
  alsa.card = "0"
  alsa.card_name = "HDA Intel MID"
  alsa.long_card_name = "HDA Intel MID at 0xe0610000 irq 59"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:03.0"
  sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.form_factor = "internal"
  device.string = "hdmi:0"
  device.buffering.buffer_size = "65536"
  device.buffering.fragment_size = "32768"
  device.access_mode = "mmap+timer"
  device.profile.name = "hdmi-stereo"
  device.profile.description = "Digital Stereo (HDMI)"
  device.description = "Built-in Audio Digital Stereo (HDMI)"
  alsa.mixer_name = "Intel Haswell HDMI"
  alsa.components = "HDA:80862807,80860101,00100000"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 ports:
  hdmi-output-0: HDMI / DisplayPort (priority 5900, available: no)
   properties:

 active port: <hdmi-output-0>
  * index: 1
 name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
 driver: <module-alsa-card.c>
 flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
 state: SUSPENDED
 suspend cause: IDLE
 priority: 9959
 volume: 0: 153% 1: 153%
         0: 11.00 dB 1: 11.00 dB
         balance 0.00
 base volume: 100%
              0.00 dB
 volume steps: 65537
 muted: no
 current latency: 0.00 ms
 max request: 0 KiB
 max rewind: 0 KiB
 monitor source: 1
 sample spec: s16le 2ch 44100Hz
 channel map: front-left,front-right
              Stereo
 used by: 0
 linked by: 0
 configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
 card: 1 <alsa_card.pci-0000_00_1b.0>
 module: 5
 properties:
  alsa.resolution_bits = "16"
  device.api = "alsa"
  device.class = "sound"
  alsa.class = "generic"
  alsa.subclass = "generic-mix"
  alsa.name = "HDA Generic"
  alsa.id = "HDA Generic"
  alsa.subdevice = "0"
  alsa.subdevice_name = "subdevice #0"
  alsa.device = "0"
  alsa.card = "1"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xe0614000 irq 60"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:1b.0"
  sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.product.name = "Lynx Point-LP HD Audio Controller"
  device.form_factor = "internal"
  device.string = "front:1"
  device.buffering.buffer_size = "65536"
  device.buffering.fragment_size = "32768"
  device.access_mode = "mmap+timer"
  device.profile.name = "analog-stereo"
  device.profile.description = "Analog Stereo"
  device.description = "Built-in Audio Analog Stereo"
  alsa.mixer_name = "Realtek ID 233"
  alsa.components = "HDA:10ec0233,17aa3801,00100003"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 ports:
  analog-output: Analog Output (priority 9900, available: unknown)
   properties:

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

If you run:

alsamixer

Are all levels maxed and unmuted? Use cursor keys to edit, M to un/mute and ESC to exit. Also use F6 in alsamixer to make sure you are selecting the right device for output.

Then run the 'sound' application in Dash and repeat, be sure to try all sound devices for output.

Also try some headphones in the system, see if they work.

Revision history for this message
Daniel Letzeisen (dtl131) said :
#7

Ubuntu does indeed see the Realtek codec used for analog output:
Codec: Realtek ID 233

I'm seeing all kinds of audio issue reports with the 3.8.0-34 kernel, so you may have picked a bad time to upgrade. If you haev another kernel to try, it may work.

Revision history for this message
mark (norcalxbox360repair) said :
#8

Thanks for your answers. I tried checking everything is alsa mixer and tried 3.5 kernel. I'm too new to this to figure it out. I installed 12.04 on my desktop to mess with and everything is working out of the box. :)

Can you help with this problem?

Provide an answer of your own, or ask mark for more information if necessary.

To post a message you must log in.