geekworm-com / xscript

This script is for raspberry pi nas storage products such as naspi, naspi cm4-m2 etc from Geekworm.
MIT License
11 stars 5 forks source link

xoff not working #6

Open M3taKn1ght opened 1 week ago

M3taKn1ght commented 1 week ago

I reinstall Raspberry Pi OS (64bit) on my Raspberry Pi 4 with an Geekworm NASPi (NOT Lite). I installed the script like shown in the wiki, but xoff is not working. Every time I type this in console, I see the following message: "Your device will be shutting down in 2 seconds... gpioset: at least one GPIO line offset to value mapping must be specified gpioset: at least one GPIO line offset to value mapping must be specified"

The Raspberry Pi is not shutting down. I installed the script a couple of times, but always the same problem. I think there is a general bug in the script, that needs to be fixed.

I think the problem is in line 29 of xSoft.sh Instead of gpioset $GPIOCHIP $BUTTON=1 the code must be: gpioset $PWRCHIP $BUTTON=1

geekworm-com commented 1 week ago

You are right.

I just checked my local code and it is correct. It seems that there is a problem when I submit the code.

Thanks.

ShlomiD83 commented 1 week ago

@geekworm-com why was install-sss.sh removed?

M3taKn1ght commented 1 week ago

@geekworm-com why was install-sss.sh removed?

Thats Not the point in this issue!

ShlomiD83 commented 1 week ago

@geekworm-com why was install-sss.sh removed?

Thats Not the point in this issue!

You're correct, apologies.