<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi there,<br>
<br>
... some time ago my voyage-installation got corrupted (presumably
problems with the SD-card), so I choose to re-install.<br>
<br>
First of all I was somewhat surprised, that voyage-mubox-rpi is
still Wheezy and not yet Jessie. - I remember vaguely that I read on
the list, that there was already an update to jessie. - Strange.<br>
<br>
Moreover, I do not get German keyboard on the console. My issue of <br>
<blockquote># apt-get install keyboard-configuration<br>
</blockquote>
and the subsequent settings of a German keyboard does not lead to
any changes, not even after a re-boot. - This is strange too.<br>
<br>
However, now we come to the real annoying issue: mpd volume control
does not get working. Both outputs (HiFi Berry DAC+ and Bluetooth
Speaker) are working and can be toggled. However, now after the
re-install I seem to have different alsa-controls. - Namely:<br>
<blockquote># amixer controls<br>
numid=6,iface=MIXER,name='DSP Program'<br>
numid=3,iface=MIXER,name='Analogue Playback Boost Volume'<br>
numid=2,iface=MIXER,name='Analogue Playback Volume'<br>
numid=10,iface=MIXER,name='Auto Mute Mono Switch'<br>
numid=11,iface=MIXER,name='Auto Mute Switch'<br>
numid=8,iface=MIXER,name='Auto Mute Time Left'<br>
numid=9,iface=MIXER,name='Auto Mute Time Right'<br>
<b>numid=18,iface=MIXER,name='BT Speaker'</b><br>
numid=7,iface=MIXER,name='Clock Missing Period'<br>
numid=5,iface=MIXER,name='Deemphasis Switch'<br>
numid=4,iface=MIXER,name='Digital Playback Switch'<br>
<b>numid=1,iface=MIXER,name='Digital Playback Volume'</b><br>
numid=16,iface=MIXER,name='Volume Ramp Down Emergency Rate'<br>
numid=17,iface=MIXER,name='Volume Ramp Down Emergency Step'<br>
numid=12,iface=MIXER,name='Volume Ramp Down Rate'<br>
numid=13,iface=MIXER,name='Volume Ramp Down Step'<br>
numid=14,iface=MIXER,name='Volume Ramp Up Rate'<br>
numid=15,iface=MIXER,name='Volume Ramp Up Step'<br>
</blockquote>
The two bold marked entries are those of interest. In my
/etc/mpd.conf I have the following:<br>
<blockquote>mixer_type "hardware"<br>
[...]<br>
audio_output {<br>
type "alsa"<br>
name "HiFi-Berry DAC+"<br>
device "hw:0,0"<br>
priority "FIFO:32"<br>
# mixer_control "Digital Playback Volume"<br>
# mixer_control "Digital" ### different name of control
in alsamixer<br>
mixer_index "1"<br>
}<br>
<br>
audio_output {<br>
type "alsa"<br>
name "TempiTec BT-Speaker"<br>
device "btspeaker_softvol"<br>
# mixer_control "BT Speaker"<br>
mixer_index "18"<br>
[...]<br>
</blockquote>
As you can see in the commented lines, I have already played a bit
around. - To no avail. The bluetooth speaker is defined in my
/etc/asound.conf as follows:<br>
<blockquote>pcm.!default {<br>
type hw card 0<br>
}<br>
ctl.!default {<br>
type hw card 0<br>
}<br>
<br>
pcm.btspeaker<br>
{<br>
type plug<br>
slave<br>
{<br>
pcm<br>
{<br>
type bluetooth<br>
device 00:11:22:33:44:55<br>
profile "auto"<br>
}<br>
}<br>
}<br>
<br>
pcm.btspeaker_softvol<br>
{<br>
type softvol<br>
slave.pcm "btspeaker"<br>
control.name "BT Speaker"<br>
control.card 0<br>
}<br>
<br>
ctl.btspeaker<br>
{<br>
type bluetooth<br>
}<br>
</blockquote>
However, mpd seems to try to access in both cases a mixer control
called "PCM":<br>
<blockquote>Jan 01 00:00 : inotify: Failed to register
/var/lib/mpd/music/media/local/lost+found: inotify_add_watch() has
failed: Permission denied<br>
Jan 01 00:00 : Failed to open mixer for 'HiFi-Berry DAC+': no such
mixer control: PCM<br>
Jan 01 00:00 : avahi: Service name collision, renaming service to
'Voyage Music Player #2'<br>
Jan 01 00:00 : avahi: Service 'Voyage Music Player #2'
successfully established.<br>
Jul 04 15:22 : Failed to open mixer for 'TempiTec BT-Speaker': no
such mixer control: PCM<br>
</blockquote>
What am I missing here?<br>
It must co-relate to the temperatures (outside 39°C, and no A/C in
the house ...).<br>
<br>
Thanks a lot in advance!<br>
<br>
Stefan.<br>
<br>
<pre class="moz-signature" cols="72">--
Stefan U. Hegner
<a class="moz-txt-link-rfc2396E" href="mailto:stefan@teleos-web.de"><stefan@teleos-web.de></a>
* * *
D-32584 Löhne --- good ole Germany</pre>
</body>
</html>