petrockblog / PowerBlock

Driver for petrockblock.com PowerBlock
43 stars 10 forks source link

Libreelec 12 #16

Open Nzoltan-droid opened 4 months ago

Nzoltan-droid commented 4 months ago

I upgraded to LE12 and since then the button doesn´t work.

I get this message (I have pin 12 for shutdown):

Shutdown is ACTIVATED Shutdown Pin is 12 Status Pin is 17 bash: write error: Invalid argument bash: write error: Invalid argument /storage/powerblock.sh: line 37: can't create /sys/class/gpio/gpio17/direction: nonexistent directory /storage/powerblock.sh: line 43: can't create /sys/class/gpio/gpio12/direction: nonexistent directory Setting RPi status signal to HIGH /storage/powerblock.sh: line 50: can't create /sys/class/gpio/gpio17/value: nonexistent directory cat: can't open '/sys/class/gpio/gpio12/value': No such file or directory bash: 1: unknown operand