LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2018, 01:09 PM   #1
roisoleil12
LQ Newbie
 
Registered: Dec 2018
Posts: 10

Rep: Reputation: Disabled
Hello, I have just installed arch on an HP Spectre x360 laptop (model 13-4101dx), which has an intel audio card. [code] $ lspci -vnn | gre


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.
 
Old 12-20-2018, 06:42 PM   #2
roisoleil12
LQ Newbie
 
Registered: Dec 2018
Posts: 10

Original Poster
Rep: Reputation: Disabled
Apologies for double post, this thread also appears in the hardware section. I solved this issue by installing pulseaudio and pavucontrol.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New netbook for Slackware: HP Spectre x360 (13-4105ng) DarkVision Slackware 35 02-19-2018 11:18 PM
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
PCH Sound Card not detected on elementary OS 0.3.2 with HP Spectre x360 CWezo10 Linux - Newbie 7 12-25-2015 04:12 AM
GRE VS GIF . Difference between GRE and GIF. cristian123 Linux - Networking 4 04-29-2008 01:56 AM
GRE keepalives. How can a SUSE 9.0 Linux box send GRE keepalives? dlef Linux - Networking 1 06-28-2005 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration