Just done some more experiments and wonder if the results might be at
all informative.
On the Pi4, I started with both the gpio-poweroff tweak and the
squeezelite power on/off option switched off.
I never touched the gpio-poweroff tweak during these tests.
Logged in via SSH, I checked the state of GPIO 13. It was set as an
input, so I set it to output:
Code:
--------------------
pcp-gpio mode 13 out
--------------------
Next, I ensured it was low:
Code:
--------------------
pcp-gpio write 13 0
--------------------
and verified that it was low:
Code:
--------------------
pcp-gpio read 13
--------------------
Next, I made sure that the player was switched off in the LMS web
interface.
Then I turned on the squeezelite power on/off option, setting the GPIO
pin as 13 and active high.
After saving, which restarted squeezelte, the LMS web interface showed
te player as OFF.
But when I ran:
Code:
--------------------
pcp-gpio read 13
--------------------
the pin was HIGH, even though the player was off.
Switching the player on & off in the LMS web interface made no
difference to the state of GPIO 13; it stayed HIGH at all times.
So the squeezelite power on/off option is clearly doing SOMETHING with
GPIO 13; just not what is expected.
Just out of interest, I tried the same experiment but choosing the
Active LOW option in the squeezelite power on/off setting.
This time GPIO 13 stayed LOW at all times.
Transporter -> ATC SCM100A
------------------------------------------------------------------------
cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348
View this thread: http://forums.slimdevices.com/showthread.php?t=113507
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss