jegunn

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • 7. Januar 2019 at 16:25 #43214

    Hi, Eyerex. I am using an Explorer2 with M2P on an Odroid HC1, which works fine except
    that I cannot control the volume with M2P. The Explorer has a digitally-controled
    analog volume control on the headphone output, as I am sure you know, and alsamixer
    controls the volume fine using that hardware control, but the volume `slider‘ on the
    LMS page does nothing–ah, maybe the problem is that LMS can only do a sleazy digital
    thing unless it knows what it is talking to–but it should certainly know about the
    squeezelite client. What, if any, command-line options do you have set for
    squeezelite on the M2P player page?

    thanks

    –jim

    3. Januar 2019 at 18:16 #43092

    Thanks, 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

    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

    29. Dezember 2018 at 5:12 #42968

    My 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

Viewing 4 posts - 1 through 4 (of 4 total)