Max2Play Home › Forums › Max2Play on ODROID U3/C1 › Odroid HC1 + M2P = perfect
Tagged: Odroid HC1
- This topic has 6 replies, 3 voices, and was last updated 5 years, 11 months ago by Heiner premium.
-
Posted in: Max2Play on ODROID U3/C1
-
21. April 2018 at 14:34 #35250
Hi,
Just installed m2p-2.34-xu4-ubuntu-mate-16.img on Odroid HC1.
LMS working (had to install v 7.8 and then 7.9!)
Audioplayer working
USB DAC (HiFiMeDIY) working
Had to mount HDD on OS, then the Samba mount became available.Installing a music player doesn’t much get easier than this!
Great work M2P team … Thanks
Alistair
24. April 2018 at 14:02 #35304Hi Alistair,
Thanks for letting us know! Glad to hear that you are content with our software 🙂
29. Dezember 2018 at 5:12 #42968My experience was not quite so perfect, but I am sure I am missing something stupid. Installation went perfectly.
Using USB Dac (NuForce USB Audio), which alsa recognizes (card 1) but it is not clear (to me) how to make squeezeplay
use it. I can set the soundcard in alsamixer to it, but there is no sound. LMS plays the music on /dev/sda1 and says it is
going to the default max2play player fine, but I do not know where it goes…not to my USB dac, for sure. The HC1
has no audio hardware, I am almost sure, so I think card0, the odroid device, is not connected to anything.Thanks much
–jim
29. Dezember 2018 at 23:59 #42970more. 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 #0so the USB is card 1. /etc/asound.conf now says
top of /etc/asound.conf ispcm.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
3. Januar 2019 at 12:11 #43060Hi Jim,
Happy New Year!
We do not really have a lot of Odroid interaction anymore, so I hope this helps regardless of our shift to Raspberry Pi.
Try adding „hw:1“ to the command line options of Squeezelite.
Equalizer does not work with this preset but it ensures the best audio output quality.
3. Januar 2019 at 18:16 #43092Thanks, Heiner.
The big problem with my first setup was the USB DAC, which does not like Linux
at all on any machine. Most of the rest was fixed by changing all references in
/etc/asound.conf referring to card 0 to card 1, since all attempts to make the
usb DAC card 0 failed. The on-board sound (for which there is NO hardware on
the HC1) uses the native I2S and I have found no way to blacklist or otherwise
disable it; the driver is evidently compiled into the kernel.Anyway, ALMOST everything works–equalizer, bs2b (both of which I need)—
I need to learn how to chain them so I get both, but the big missing thing
is volume. Both the Meridian Explorer 2, and the Headstreamer I have been using
have software-controlled hardware volume control, which alsamixer controls perfectly,
but I have been completely unable to control it with squeezelite. I have tried -V
almost_everything for the squeezelite command-line options (amixer says `PCM‘,
but not this, nor ‚Master‘, „Digital‘, ‚hw:1‘, nor a few more, work. Any ideas??thanks much, and for Max2Play–a very nice piece of software.
–jim
-
You must be logged in to reply to this topic.