You are not logged in.

#1 2012-11-23 19:07:30

Morn
Member
Registered: 2012-09-02
Posts: 346

[SOLVED] Default audio device no longer works after reboot

After today's reboot, the audio device no longer works. E.g., VLC says:

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

This is the console log:

[0x1394138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
[0x7fac180069c8] pulse audio output error: PulseAudio server connection failure: Connection refused
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[0x7fac180069c8] alsa audio output error: cannot open ALSA device "default": No such file or directory
[0x7fac180069c8] jack audio output error: failed to connect to JACK server
[0x7fac180069c8] oss audio output error: cannot open audio device (/dev/dsp)
[0x7fac180069c8] main audio output error: no suitable audio output module
[0x7fac40fa4db8] main decoder error: failed to create audio output
[0x7fac180069c8] pulse audio output error: PulseAudio server connection failure: Connection refused
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[0x7fac180069c8] alsa audio output error: cannot open ALSA device "default": No such file or directory
[0x7fac180069c8] jack audio output error: failed to connect to JACK server
[0x7fac180069c8] oss audio output error: cannot open audio device (/dev/dsp)
[0x7fac180069c8] main audio output error: no suitable audio output module
[0x7fac41055118] main decoder error: failed to create audio output

The strange thing is that the sound card does in fact work; e.g. the sound test for "HDA Intel PCH", the first entry in my KDE Audio Settings, works. But the entry "default" does not and I suppose that is also the device that VLC is complaining about.

I've tried blacklisting the HDMI driver and switched to the other audio output modules in VLC. I've also checked I'm still member of the "audio" group.

Edit:
P.S. Solved this myself. I had a USB-to-MIDI adapter cable plugged in during boot, which seems to have been causing these problems. I suppose systemd thought it was a USB sound card? I was wondering why dmesg said something about USB sound when the computer doesn't have any USB sound devices. Hardware detection epic fail. Although I guess the cable counts as a MIDI device at least, so in a way it's correct.

So it looks like I'll always have to unplug the MIDI cable before rebooting.

Last edited by Morn (2012-11-23 19:24:00)

Offline

Board footer

Powered by FluxBB