You are not logged in.

#1 2014-05-03 19:43:43

JJJollyjim
Member
Registered: 2013-07-28
Posts: 21

[SOLVED] Sound not playing

As of this morning, I haven't been getting any sound output. I haven't installed any packages or Syu'd recently, so it appears that turning it off overnight that was all that caused it.

  • VLC says:

    Audio output failed:
    The audio device "default" could not be used:
    No such file or directory.
  • Mplayer says:

    [AO SDL] Unsupported audio format: 0x1d.
    [AO_ALSA] alsa-lib: pcm_hw.c:1557:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
    [AO_ALSA] alsa-lib: pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
    [AO SDL] Unable to open audio: No available audio device
  • Spotify doesn't start playing or show the scrubber handle

I can't find any ALSA log files in /var/log, but here's my alsa-info: http://www.alsa-project.org/db/?f=de353 … b64f62923c

Please let me know what information you need to help.

Oh, and the speakers are plugged in ;-)

Last edited by JJJollyjim (2014-05-04 02:15:52)

Offline

#2 2014-05-03 21:00:26

Ziusudra
Member
Registered: 2014-04-19
Posts: 120

Re: [SOLVED] Sound not playing

Get your audio device slot(s):

# lspci | grep -i audio
80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)

Use the slot to view more (add another "v" to get even more):

# lspci -vs80:01.0
80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)
	Subsystem: ASRock Incorporation Device 0662
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Also to get boot messages:

# dmesg | grep :80
[    0.156165] PCI host bridge to bus 0000:80
[    0.156171] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.156174] pci_bus 0000:80: root bus resource [mem 0xfeb00000-0xfebfffff]
[    0.156199] pci 0000:80:01.0: [1106:3288] type 00 class 0x040300
[    0.156222] pci 0000:80:01.0: reg 0x10: [mem 0xfebfc000-0xfebfffff 64bit]
[    0.156320] pci 0000:80:01.0: PME# supported from D0 D3hot D3cold
[    0.156354] pci 0000:80:01.0: System wakeup disabled by ACPI
[    0.194245] pci_bus 0000:80: resource 4 [mem 0xfeb00000-0xfebfffff]
[    7.099325] snd_hda_intel 0000:80:01.0: PCI: Disallowing DAC for device
[    7.220838] input: HDA VIA VT82xx Line Out as /devices/pci0000:80/0000:80:01.0/sound/card0/input8
[    7.221109] input: HDA VIA VT82xx Line as /devices/pci0000:80/0000:80:01.0/sound/card0/input7
[    7.222514] input: HDA VIA VT82xx Mic as /devices/pci0000:80/0000:80:01.0/sound/card0/input6

To see what sound modules are loaded:

# lsmod | grep ^snd
snd_hda_codec_realtek    47141  1 
snd_hda_codec_generic    53860  1 snd_hda_codec_realtek
snd_hda_intel          38728  0 
snd_hda_codec         101816  3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hwdep               6396  1 snd_hda_codec
snd_mpu401_uart         5979  0 
snd_pcm                81607  2 snd_hda_codec,snd_hda_intel
snd_rawmidi            19190  1 snd_mpu401_uart
snd_seq_device          5180  1 snd_rawmidi
snd_timer              19038  1 snd_pcm
snd                    60086  10 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device

To see what audio devices can be used use aplay with the "l" (lower-case L) then "L" switch:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=VT82xx
    HDA VIA VT82xx, ALC662 rev1 Analog
    Default Audio Device
sysdefault:CARD=VT82xx
    HDA VIA VT82xx, ALC662 rev1 Analog
    Default Audio Device
front:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    Front speakers
surround40:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VT82xx,DEV=0
    HDA VIA VT82xx, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output

Edit: I really shouldn't post so soon after waking up: all that is in the alsa-info.

Last edited by Ziusudra (2014-05-03 21:05:35)

Offline

#3 2014-05-03 21:12:48

Ziusudra
Member
Registered: 2014-04-19
Posts: 120

Re: [SOLVED] Sound not playing

Did your sound card order change, maybe? see wiki

Edit: yeah, it looks to me like it is trying to use the LifeCam to play sound.

Last edited by Ziusudra (2014-05-03 21:23:37)

Offline

#4 2014-05-04 02:16:09

JJJollyjim
Member
Registered: 2013-07-28
Posts: 21

Re: [SOLVED] Sound not playing

Ziusudra wrote:

Did your sound card order change, maybe? see wiki

Edit: yeah, it looks to me like it is trying to use the LifeCam to play sound.

That worked, thank you!

Offline

Board footer

Powered by FluxBB