You are not logged in.

#1 2017-01-24 07:48:47

chadw
Member
Registered: 2017-01-24
Posts: 3

[SOLVED] No audio from laptop after new install

Hello, I'm having trouble getting my audio working on my laptop.

Here is the output from a few commands to help trouble shoot.
Any help would be greatly appreciated, thanks in advance.

lspci -v

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at b0710000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at b0714000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
default:CARD=PCH
    HDA Intel PCH, ALC233 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC233 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC233 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

ls -l /dev/snd/

drwxr-xr-x  2 root root       80 Jan 23 15:15 by-path
crw-rw----+ 1 root audio 116,  6 Jan 23 15:15 controlC0
crw-rw----+ 1 root audio 116,  2 Jan 23 15:15 controlC1
crw-rw----+ 1 root audio 116, 10 Jan 23 15:15 hwC0D0
crw-rw----+ 1 root audio 116,  5 Jan 23 15:15 hwC1D0
crw-rw----+ 1 root audio 116,  7 Jan 23 15:15 pcmC0D3p
crw-rw----+ 1 root audio 116,  8 Jan 23 15:15 pcmC0D7p
crw-rw----+ 1 root audio 116,  9 Jan 23 15:15 pcmC0D8p
crw-rw----+ 1 root audio 116,  4 Jan 23 15:15 pcmC1D0c
crw-rw----+ 1 root audio 116,  3 Jan 23 15:15 pcmC1D0p
crw-rw----+ 1 root audio 116,  1 Jan 23 15:25 seq
crw-rw----+ 1 root audio 116, 33 Jan 23 15:15 timer

Last edited by chadw (2017-01-28 17:22:07)

Offline

#2 2017-01-24 08:05:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: [SOLVED] No audio from laptop after new install

Your default device seems to point correctly to the analog card, but its index is 1. Do you have any ALSA configuration?  Either way, it would be best to reverse that situation so that your analog card is on index 0. https://wiki.archlinux.org/index.php/Ad … sound_card have you also made sure that all relevant outputs are unmuted in e.g. alsamixer? What's the outputs of

sudo fuser -v /dev/snd/*
amixer -c1 #Or whatever the index of the analog card according to aplay -l is

Online

#3 2017-01-25 06:05:33

chadw
Member
Registered: 2017-01-24
Posts: 3

Re: [SOLVED] No audio from laptop after new install

Thanks! This did the trick.

First, I tried a speaker test by defining the device and I did get sound

speaker-test -D default:PCH -c 2

then I setup a .asoundrc file with the following configuration

defaults.ctl.card 1;
defaults.pcm.card 1;

and everything is working now.

Offline

#4 2017-01-25 07:48:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: [SOLVED] No audio from laptop after new install

Cool, be aware that this might not be stable, since the index number can be random if not configured in /etc/modprobe.d, you might want to, instead or additionally to the .asoundrc, create an alsa.conf or similar along the lines of

options snd-hda-intel id=PCH,HDMI index=0,1

(or reverse the order of the id arguments if you wish to retain the .asoundrc and the indices as they are now.

If the problem is solved for you, please edit your initial post and prepend [SOLVED] or similar to the title.

Online

Board footer

Powered by FluxBB