Hello,
I have just installed arch on an HP Spectre x360 laptop (model 13-4101dx), which has an intel audio card.
Code:
$ lspci -vnn | grep -A 1 -i audio
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Hewlett-Packard Company Broadwell-U Audio Controller [103c:802d]
Flags: bus master, fast devsel, latency 0, IRQ 58
$ cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xb2210000 irq 58
1 [broadwellrt286 ]: broadwell-rt286 - broadwell-rt286
HP-HPSpectrex360Convertible--802D
$ 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 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 0: System Playback/Capture (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 1: Offload0 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: broadwellrt286 [broadwell-rt286], device 2: Offload1 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
$ cat /proc/asound/modules
0 snd_hda_intel
1 snd_soc_sst_broadwell
All outputs are unmuted in alsamixer, but a speaker test returns the following error.
Code:
$ speaker-test -c2
speaker-test 1.1.7
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
I think the issue may have to do with the fact that the HDMI and broadwellrt286 audio cards are split into several devices, and ALSA may be picking up the wrong device by default. Any help troubleshooting this issue would be much appreciated. The information provided in the following link may be relevant, but I am having difficulty applying these instructions in my case.
https://wiki.archlinux.org/index.php...ult_sound_card
Note that I get different results when I specify a default audio card when running aplay or speaker-test. I still don't get any sound, but it appears to recognize the speaker now.
Code:
$ speaker-test -D default:CARD=broadwellrt286
speaker-test 1.1.7
Playback device is default:CARD=broadwellrt286
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 65536
Period size range from 1024 to 32768
Using max buffer size 65536
Periods = 4
was set period_size = 16384
was set buffer_size = 65536
0 - Front Left
Time per period = 1.370365
0 - Front Left
Time per period = 2.730227
... [continues until I halt it]
This forum post (similar issue)
https://bbs.archlinux.org/viewtopic.php?id=200836 suggests the following solution to switch the default order around on boot.
Code:
echo "options snd-hda-intel index=1" > /etc/modprobe.d/alsa.conf
I don't have an alsa.conf file at the moment (and I can't see any instructions in the ALSA wiki page to copy default one, although I think it might be this one: /usr/share/alsa/alsa.conf), so it'd be helpful to get a little bit of input before I start tweaking the configurations. I'm also wondering why I still don't hear any sound after changing of the default card and I run speaker-test (or aplay on a test.mp3 file).
In alsamixer, I clicked F6 + S to select the broadwell-rt286 sound card (as opposed to the HDMI) and made sure all outputs were unmuted (master is at 100 volume). Yet I still get no sound with videos in Firefox or using aplay on a test mp3 file, as mentioned earlier.
Thank you very much.