You are not logged in.

#1 2015-01-18 19:44:13

mke21
Member
Registered: 2014-07-19
Posts: 19

cannot get sound working

Have been trying this for days, but either I don't seem to be able to grasp the matter.

First with alsa:

$ amixer sset Master unmute
amixer: Unable to find simple control 'Master',0
$ speaker-test -c 2

speaker-test 1.0.28
$ 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: ALC3236 Analog [ALC3236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
cat /proc/asound/card0/codec#0 | grep Codec
Codec: Intel Haswell HDMI
$ lspci | egrep -i audio
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
$ lspci | egrep -i audio
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
[mke@nerdy-linux log]$  lsmod | grep 'snd'
snd_hda_codec_realtek    67469  1 
snd_hda_codec_generic    63126  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     49213  1 
snd_hda_intel          26387  4 
snd_hda_controller     26938  1 snd_hda_intel
snd_hda_codec         108536  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17244  1 snd_hda_codec
snd_pcm                88487  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
snd                    73436  16 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              13031  2 snd,snd_hda_codec

alsainfo gives:
http://www.alsa-project.org/db/?f=b1eb6 … 0f1c079d8b

tried to install pulseaudio, but doesn't work. Still no sound.

Maybe I'll have to set the PCH card as master, but I don;t understand the wiki on how to do this.


Can anyone help?

edit:
Found this in the /var/log/Xorg.0.log:

[    18.575] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[    18.575] (II) No input driver specified, ignoring this device.
[    18.575] (II) This device may have been added with another device file.

Might this have anything to do with this?

Last edited by mke21 (2015-01-18 20:04:34)

Offline

#2 2015-01-18 20:17:17

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: cannot get sound working

You already have pulseaudio installed and running.  It says so in the report that you linked.

Now, just to be thourough, your speakers are plugged into the correct plugs and turned on right? (once my sound just cut out and I started with software to see what was going on.  Only took me an hour to realize that I had shut my speakers off mistakenly. big_smile)

After double checking that, what output do you get with the following 2 commands from a terminal window?

pactl list sinks short
pactl list sources short

Knute

Offline

#3 2015-01-18 20:37:37

mke21
Member
Registered: 2014-07-19
Posts: 19

Re: cannot get sound working

Well, it's a laptop, so they're build in. But to be sure I tested in Win8 (it's a dualboot) and there it works.

$ pactl list sinks short
0	alsa_output.pci-0000_00_03.0.hdmi-stereo	module-alsa-card.c	s16le 2ch 44100Hz	IDLE
1	alsa_output.pci-0000_00_1b.0.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	IDLE

edit: sorry, pasted the wrong lines first.

$ pactl list sources short
0	alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor	module-alsa-card.c	s16le 2ch 44100Hz	SUSPENDED
1	alsa_output.pci-0000_00_1b.0.analog-stereo.monitor	module-alsa-card.c	s16le 2ch 44100Hz	SUSPENDED

Last edited by mke21 (2015-01-18 21:16:16)

Offline

#4 2015-01-18 20:50:54

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: cannot get sound working

So which of those sources is the default output device?


Knute

Offline

#5 2015-01-18 21:17:41

mke21
Member
Registered: 2014-07-19
Posts: 19

Re: cannot get sound working

I think the first one. Alsamixer starts with that.

Last edited by mke21 (2015-01-18 21:18:02)

Offline

#6 2015-01-21 18:58:31

mke21
Member
Registered: 2014-07-19
Posts: 19

Re: cannot get sound working

Solved it, somehow it started working, not sure why. Maybe new kernel?

Edit: It's actually almost solved. It's a bit erratic. Sometimes it sees like pulse is not started, when I fool around with pavucontrol, at some point it just starts working. Haven't figured out at what moment, it seems to be at random. Anyway, I will stumble throught the wiki of pulse again and see if I can solve this last bit Will post the solution here when I do.

Last edited by mke21 (2015-01-21 19:56:36)

Offline

#7 2015-01-21 19:27:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: cannot get sound working

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-01-21 19:58:23

mke21
Member
Registered: 2014-07-19
Posts: 19

Re: cannot get sound working

Yup, wanted to do that, but I'm not quite there yet, see my edit. Will put it on solved when I figured this last problem out.

Offline

Board footer

Powered by FluxBB