Jeff07971 wrote: > Hi Arie, > > Just to be clear, we have been talking about 2 different solutions > here. > > 1. The script Relay.sh. > > 2. Ralphys latest version of Squeezelite with the -G option compiled > in. > > You can only changed to active low with the script. > > The -G option sets the GPIO pin to be LOW (0v) when squeezelite is > powered "ON" > > Jeff
Jeff, I normally have a modified version of the relay.sh script for my Pi-Amp running on this player. I disabled the script and added -G 22 to the squeezelite Various Input options. This, as you point out, sets the GPIO pin to low when squeezelite is turned on and high when off. The pi-AMP needs a logic high to unmute it. As a test I added some commands from the script to bootlocal.sh which puts GPIO 22 in active low or active high state before squeezelite is running, but this doesn't change the behaviour of the -G switch with the pi-AMP. Regards, Arie ------------------------------------------------------------------------ kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988 View this thread: http://forums.slimdevices.com/showthread.php?t=105018 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix