You are not logged in.

#1 2014-02-18 06:43:56

unregistered
Member
Registered: 2008-04-09
Posts: 134

[SOLVED] Can't seem to get sound working

-Have unmuted master using alsamixer
-Not using hdmi, have connected my sound jack to the green port behind my machine
-When I unmute the "line" column in alsamixer and run speaker-test -c 2 -D plughw:1, hear noise in my earphones

[root@node-0 ~]# speaker-test 

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
[root@node-0 ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[root@node-0 ~]# cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf0614000 irq 47
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf0610000 irq 44
[root@node-0 ~]# cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
[root@node-0 ~]# lsmod | grep snd
snd_hda_codec_hdmi     30162  1 
snd_hda_codec_realtek    41295  1 
snd_hda_intel          37000  0 
snd_hda_codec         150305  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                77645  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7210  2 snd_pcm,snd_hda_intel
snd_timer              18726  1 snd_pcm
snd                    59109  7 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5450  1 snd
[root@node-0 ~]# ls /dev/snd
by-path  controlC0  controlC1  hwC0D0  hwC1D0  pcmC0D3p  pcmC0D7p  pcmC0D8p  pcmC1D0c  pcmC1D0p  pcmC1D1p  pcmC1D2c  seq  timer

[root@node-0 ~]# speaker-test -c 2 -D plughw:0

speaker-test 1.0.27.2

Playback device is plughw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -2,No such file or directory
[root@node-0 ~]# speaker-test -c 2 -D plughw:1

speaker-test 1.0.27.2

Playback device is plughw:1
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
^C 1 - Front Right
Time per period = 1.686198

Last edited by unregistered (2014-02-18 08:35:59)

Offline

#2 2014-02-18 06:53:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Can't seem to get sound working

Please use code blocks.

Offline

#3 2014-02-18 06:58:52

unregistered
Member
Registered: 2008-04-09
Posts: 134

Re: [SOLVED] Can't seem to get sound working

WonderWoofy wrote:

Please use code blocks.

done

Offline

#4 2014-02-18 08:43:49

unregistered
Member
Registered: 2008-04-09
Posts: 134

Re: [SOLVED] Can't seem to get sound working

was using wrong format to set default sound card/device in /etc/asound.conf, its working now

Last edited by unregistered (2014-02-18 08:44:13)

Offline

Board footer

Powered by FluxBB