IRC log of #cubox of Thu 09 May 2013. All times are in CEST < Back to index

09:25 ralix morning
09:26 ralix Someone is using the mpd on the Cubox I have problems with audio device. I would like to output sound over HDMI.
16:11 ralix One could help me with my sound configuration?
16:12 frilled ralix, does aplay -L show your hardware? I have mine disappear randomly after the latest batch of upgrades (probably kernel, but I didn't check yet)
16:13 frilled It's now back after I reinstalled the alsa packages, but I'm not sure what caused it
16:13 frilled ah, now it's gone again
16:13 frilled need to look into this I guess
16:13 frilled though I'm not using sound at all right now
16:15 ralix Hi, i use archlinux and will play music over hdmi aplay -L show this:
16:15 frilled and back, rofl
16:16 ralix aplay -L
16:16 frilled # aplay -L
16:16 frilled null
16:16 frilled Discard all samples (playback) or generate zero samples (capture)
16:16 frilled pulse
16:16 frilled PulseAudio Sound Server
16:16 ralix null
16:16 ralix Discard all samples (playback) or generate zero samples (capture)
16:16 ralix pulse
16:16 ralix PulseAudio Sound Server
16:16 ralix sysdefault:CARD=SPDIF
16:16 frilled sysdefault:CARD=SPDIF
16:16 ralix Kirkwood SPDIF,
16:16 ralix Default Audio Device
16:16 frilled Kirkwood SPDIF,
16:16 frilled Default Audio Device
16:16 ralix front:CARD=SPDIF,DEV=0
16:16 frilled front:CARD=SPDIF,DEV=0
16:16 ralix Kirkwood SPDIF,
16:16 frilled Kirkwood SPDIF,
16:16 ralix Front speakers
16:16 frilled Front speakers
16:16 ralix iec958:CARD=SPDIF,DEV=0
16:16 frilled iec958:CARD=SPDIF,DEV=0
16:16 ralix Kirkwood SPDIF,
16:16 frilled Kirkwood SPDIF,
16:16 ralix IEC958 (S/PDIF) Digital Audio Output
16:16 frilled IEC958 (S/PDIF) Digital Audio Output
16:16 ralix hdmi:CARD=SPDIF,DEV=0
16:16 frilled hdmi:CARD=SPDIF,DEV=0
16:16 ralix Kirkwood SPDIF,
16:16 frilled Kirkwood SPDIF,
16:16 ralix HDMI Audio Output
16:16 frilled HDMI Audio Output
16:16 frilled looks green
16:16 ralix ok by me is the same :)
16:16 frilled mine randomly disappears
16:17 frilled I'm left with null and pulse, then
16:18 ralix this is the dafault entry on my /etc/mpd.conf
16:18 ralix audio_output {
16:18 ralix type "alsa"
16:18 ralix name "hdmi"
16:18 ralix device "hw:0,0" # optional
16:18 ralix format "44100:16:2" # optional
16:18 ralix mixer_type "hardware" # optional
16:18 ralix mixer_device "default" # optional
16:18 ralix mixer_control "PCM" # optional
16:18 ralix mixer_index "0" # optional
16:19 ralix }
16:20 ralix mixer: Failed to set mixer for 'hdmi': failed to attach to default: Connection refused
16:20 ralix this is an error on start mpd
16:21 frilled phew, I'm no alsa wizard. did you try the software mixer? usually the safer bet, but I really have no clue
16:21 frilled rabeeh should be back in a couple of days ^_^
16:22 ralix ok Ok thank you anyway...
16:23 frilled reading the error message makes me think the mixer device is incorrect
16:23 frilled lemme see
16:24 ralix yes, i have no idea what is the correct mixer device ;)
16:24 frilled that is what I am trying to find out ;)
16:27 frilled ok, at least I can replicate the error ^_^
16:28 frilled probably hdmi has no micer at all
16:28 frilled which would make the software mixer a good choice, really
16:33 ralix audio_output {
16:33 ralix type "alsa"
16:33 ralix name "hdmi"
16:33 ralix device "hdmi"
16:33 ralix mixer_type "software"
16:34 ralix ok this have no error, but no sound ;-)
16:34 ralix I'll keep trying...
16:37 frilled that probably is because you have not routed sound to the dmix plugin. have a look at https://wiki.archlinux.org/index.php/ALSA
16:40 ralix thx, i will read it