Max2Play Home › Forums › General Questions on Hardware and Max2Play Versions › Startup not working well for IQ_rot squeezelite
- This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by
Heiner premium.
-
4. Dezember 2016 at 9:56 #24533
I have some issues with starting up squeezelite and IQ_rot.
I run it on a raspberry 2, max2play version 2.38 with an IQAudio DigiAmp+.If I started IQ_rot manually then the rotary encoder worked well.
However the automatic startup did not work.
I modified rc.local and now IQ_rot works well. I pinpointed it to the
echo "22" ...
which gives the error message
-bash: echo: write error: Device or resource busy
I have not been able yet to solve the other issues with squeezelite.
Most of the times squeezelite does not start automatically.
I suppose it detects that xbmc is running. It might be related that the autostart does not finish.pi@max2play:~ $ ps -Al | grep xbmc 4 S 1000 616 487 0 80 0 - 478 wait ? 00:00:00 autostart_xbmc. 0 S 1000 622 616 0 80 0 - 478 wait ? 00:00:00 start_xbmc.sh
Any clues how to solve this?
rc.local:
if [ "$(LANG=C && /sbin/ifconfig eth0 | grep 'inet addr:' | wc -l)" -lt "1" ]; then sudo /opt/max2play/wps_config.sh; fi echo "Unmute iqaudio-ampplus" gpio mode 22 out gpio write 22 1 #echo "22" > /sys/class/gpio/export #echo "out" >/sys/class/gpio/gpio22/direction; #echo "1" >/sys/class/gpio/gpio22/value; if grep -a 'IQAUDIO_ROTARY_ENCODER_AUTOSTART=1' /opt/max2play/autostart.conf then echo "Enable IQAudio volume rotary encoder" /opt/IQ_rot & fi
13. Januar 2017 at 17:24 #25888Hi max,
So sorry about the late response. Have you tried deactivating Kodi and its autostart yet? -
You must be logged in to reply to this topic.