You are not logged in.

#1 2014-04-19 12:36:48

ar5007eg
Member
Registered: 2008-06-29
Posts: 45

No sound on Intel Corporation Lynx Point-LP HD Audio Controller

I've just installed Arch on a Dell Vostro 5470 (there's nothing on it's wiki page about sound). alsamixer shows only S/PDIF, S/PDIF 2, S/PDIF 3, which can' t be changed.

# aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory
# lspci | grep Audio              
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
# lspci | grep Realtek
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
# lsmod | grep snd
snd_hda_codec_hdmi     36588  1 
snd_hda_codec_realtek    46566  1 
snd_hda_codec_generic    53211  1 snd_hda_codec_realtek
snd_hda_intel          37704  0 
snd_hda_codec          99871  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep               6332  1 snd_hda_codec
snd_pcm                79815  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              18718  1 snd_pcm
snd                    59286  8 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore               5418  1 snd
# dmesg | grep sound
[    1.283600] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input7
[    2.908502] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
[    2.908644] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[    2.908706] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
# dmesg | grep snd    
[    1.247738] snd_hda_intel 0000:00:1b.0: irq 60 for MSI/MSI-X
[    2.896945] snd_hda_intel 0000:00:03.0: irq 64 for MSI/MSI-X

Offline

#2 2014-04-23 23:21:55

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: No sound on Intel Corporation Lynx Point-LP HD Audio Controller

Offline

#3 2014-04-26 13:48:44

ar5007eg
Member
Registered: 2008-06-29
Posts: 45

Re: No sound on Intel Corporation Lynx Point-LP HD Audio Controller

OK, but I don't know what you mean by that.

Reading the article I guess I have to write something like "options <module-name> index=0", but which module name to use (there's none with the pch somewhere in the name). I tried with almost all the "snd_*" modules and the result is exactly the same after a reboot.

Offline

#4 2014-04-26 13:55:33

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: No sound on Intel Corporation Lynx Point-LP HD Audio Controller

Reread your own post. You have two cards using snd-hda-intel module, use vid and pid to set PCH as default. Step by step on wiki.

Edit: I took the PCH name from your 'dmesg | grep sound', people usually post 'aplay -l', but to determine the id one can also use:

cat /proc/asound/card*/id

The output of that should produce in your case:

HDMI
PCH

PCH is your analog output, HDMI is your digital output though graphics card. By reordering modules, PCH with be your default (first on the list). If you only use alsa, you can also use other methods described on the wiki, this method is recommended however, because when you choose to use a sound server like pulseaudio, it will not cause any additional problems.

Last edited by emeres (2014-04-26 14:12:41)

Offline

#5 2017-10-30 12:28:54

kodur
Member
Registered: 2017-10-29
Posts: 10

Re: No sound on Intel Corporation Lynx Point-LP HD Audio Controller

I am having a similar issue except with an Intel Corporation Sunrise Point-LP HD Audio (rev 21). It has been very frustrating trying to get this to work. I used 'asoundconf-gtk' to produce my .asoundrc file because I couldn't get things working but it didn't help from what I can tell.

$ aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
aplay: main:807: audio open error: No such file or directory
$ cat /proc/asound/cards 
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7320000 irq 130
$ cat /proc/asound/card0/id 
PCH
$ lspci | grep Audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi      49152   1   
snd_hda_codec_conexant  24576   1   
snd_hda_codec_generic   69632   1   snd_hda_codec_conexant
snd_soc_skl             73728   0   
snd_soc_skl_ipc         45056   1   snd_soc_skl
snd_soc_sst_ipc         16384   1   snd_soc_skl_ipc
snd_soc_sst_dsp         24576   1   snd_soc_skl_ipc
snd_hda_ext_core        20480   1   snd_soc_skl
snd_soc_sst_match       16384   1   snd_soc_skl
snd_soc_core            192512  1   snd_soc_skl
snd_compress            20480   1   snd_soc_core
snd_pcm_dmaengine       16384   1   snd_soc_core
snd_hda_intel           36864   1   
snd_hda_codec           106496  4   snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core            65536   7   snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep               20480   1   snd_hda_codec
snd_pcm                 86016   8   snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
snd_timer               28672   1   snd_pcm
snd                     73728   12  snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_soc_core,snd_pcm
$ ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 Oct 29 18:44 by-path
crw-rw----+ 1 root audio 116,  2 Oct 29 18:44 controlC0
crw-rw----+ 1 root audio 116,  9 Oct 29 18:44 hwC0D0
crw-rw----+ 1 root audio 116, 10 Oct 29 18:44 hwC0D2
crw-rw----+ 1 root audio 116,  3 Oct 29 18:45 pcmC0D0c
crw-rw----+ 1 root audio 116,  8 Oct 29 18:45 pcmC0D10p
crw-rw----+ 1 root audio 116,  4 Oct 29 18:45 pcmC0D3p
crw-rw----+ 1 root audio 116,  5 Oct 29 18:45 pcmC0D7p
crw-rw----+ 1 root audio 116,  6 Oct 29 18:45 pcmC0D8p
crw-rw----+ 1 root audio 116,  7 Oct 29 18:45 pcmC0D9p
crw-rw----+ 1 root audio 116,  1 Oct 29 18:44 seq
crw-rw----+ 1 root audio 116, 33 Oct 29 18:44 timer
$ dmesg | grep snd  
[    2.239359] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.642955] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.079112] snd_hda_codec_conexant hdaudioC0D0: CX20751/2: BIOS auto-probing.
[    3.079339] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX20751/2: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    3.079340] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.079341] snd_hda_codec_conexant hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.079342] snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
[    3.079342] snd_hda_codec_conexant hdaudioC0D0:    inputs:
[    3.079343] snd_hda_codec_conexant hdaudioC0D0:      Mic=0x19
[    3.079696] snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
]$ dmesg | grep sound
[    3.087893] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[    3.088428] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    3.088467] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    3.088502] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[    3.088537] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    3.088570] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    3.088602] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
$ cat .asoundrc
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/user/.asoundrc.asoundconf>
$ cat /home/user/.asoundrc.asoundconf
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card PCH
defaults.ctl.card PCH
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround21.card defaults.pcm.card
defaults.pcm.surround21.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off

alsamixer.jpg

Last edited by kodur (2017-10-30 12:43:18)

Offline

#6 2017-10-30 16:22:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: No sound on Intel Corporation Lynx Point-LP HD Audio Controller

kodur,

Welcome to the Arch Linux forums.  Thank you for searching and finding a thread relevant to your problem.   
This thread is, however, three and a half years old and the original poster has not been back since shortly after this thread was created.  As things change fast in Linux, most of the underlying stuff has undoubtedly changed in the interim.

As such, I am going to go ahead and close this thread (without prejudice) and invite you to start a new thread on the topic which you will own.  If you feel appropriate, go ahead and link back to this thread in your new post.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB