Reply To: Odroid HC1 + M2P = perfect

Max2Play Home Forums Max2Play on ODROID U3/C1 Odroid HC1 + M2P = perfect Reply To: Odroid HC1 + M2P = perfect

29. Dezember 2018 at 23:59 #42970

more. Some success, tho‘ I am not at all certain what I did. I finally got alsa to recognize the usb as
default (I changed usb cards, but I do not think that made any difference). aplay -l now says (it always did)

root@max2play:/etc# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: odroidaudio [odroid-audio], device 0: i2s0-sec dummy-aif1-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: odroidaudio [odroid-audio], device 1: i2s0-pri dummy-aif2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: DAC [ExplorerB2 USB DAC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

so the USB is card 1. /etc/asound.conf now says
top of /etc/asound.conf is

pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm „hw:DAC“
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
hint {show on;description „DMixer for hw:DAC“}
}

pcm.!default {
type plug
slave.pcm „dmixer“
}

pcm.plugdmixer {
type plug
slave.pcm „dmixer“
}

ctl.!default {
type hw
card DAC
}
ctl.equal {
type equal;
module „Eq10“;
}

Alsamixer now comes up with the USB card as default, and aplay song.wav plays on the USB dac (fine) and alsamixer
controls the volume.

LMS finds my library and, as I mentioned before, `plays‘ but there is no sound unless I explicitly select
hw or plughw or pluequal for the USB dac. The equalizer interface on the Max2play web interface comes up
but is unsettable and alsamixer -D comes up and is settable but does nothing when the output device is
set to plugequal. So I am clearly doing something wrong or alsa is confused about cards, though it
does play.

any help would be greatly appreciated.

–jim