You are not logged in.

#1 2006-08-10 15:23:47

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

MPD and ALSA. (Solved)

First, I'm out of ideas, dunno why this happens.

While trying to play a song through an MPD client (ncmpc):

ALSA lib pcm_hw.c:1355:(_snd_pcm_hw_open) Invalid value for card
Error opening alsa device "hw:0,0": No such device

Device in mpd.conf:

audio_output {
        type            "alsa"
        name            "ALSA device"
        device          "hw:0,0"
        format          "44100:16:2"
}

Facts:

I have two cards in the machine. One SBLive 5.1 and one oboard. I don't use the onboard card, so the modules are not loaded. I'm not using the mpd package, i use the mpd-svn package von AUR, with the normal mpd package happens the same.

I'm grateful for all answers!


Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

#2 2006-08-10 18:20:15

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: MPD and ALSA. (Solved)

I remember that I had to comment out the device entry to get dmix working, but that might not be related (and it was for mpd from [extra]).

Offline

#3 2006-08-10 19:09:57

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

Re: MPD and ALSA. (Solved)

Yeah, but this configuration worked yesterday in CRUX, the same smile I think it's an ALSA related problem.  8)


Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

#4 2006-08-10 19:38:23

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

Re: MPD and ALSA. (Solved)

When commenting out the device, the errors gonna crazier smile

ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3947:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2146:(snd_pcm_open_noupdate) Unknown PCM default
Error opening alsa device "default": No such device

Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

#5 2006-08-11 19:53:09

Moofed
Member
Registered: 2005-03-27
Posts: 5

Re: MPD and ALSA. (Solved)

I'm using the regular mpd (0.11.5-6), but this is all I have in mpd.conf as far as audio devices are concerned:

# Software Mixer
mixer_type              "software"
# ALSA Audio Output
ao_driver               "alsa09"

I used to use a SB Live and don't recall needing to anything special for mpd to work with it.

Offline

#6 2006-08-13 14:40:15

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

Re: MPD and ALSA. (Solved)

Solved.


Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

Board footer

Powered by FluxBB