Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Both script not working with bookworm on Pi4 #4

Open
davidbenucci opened this issue Jun 17, 2024 · 0 comments
Open

Both script not working with bookworm on Pi4 #4

davidbenucci opened this issue Jun 17, 2024 · 0 comments

Comments

@davidbenucci
Copy link

I have a Pi 4 with bookrom with kernel 6.6.33. I follow instruction on https://wiki.geekworm.com/X735-script but If I leave xPWR.sh 0 5 12 on x735-pwr.service after sudo ./install-pwr-service.sh the system shutdown and if I press the button to restar it boot but at the end of booting when load the service it shuts down again. If I modify the service file as I'm using a Pi5 everything goes weel but the servise get thesse essors:
/usr/local/bin/xPWR.sh: line 37: [: -eq: unary operator expected
/usr/local/bin/xPWR.sh: line 41: [: -eq: unary operator expected.
Regarding xfan-service this is the output of systemctl status x735-fan.service
Jun 18 00:45:31 pi-server systemd[1]: x735-fan.service: Scheduled restart job, restart counter is at 5. Jun 18 00:45:31 pi-server systemd[1]: Stopped x735-fan.service - Daemon to monitor and control fan speed. Jun 18 00:45:31 pi-server systemd[1]: x735-fan.service: Start request repeated too quickly. Jun 18 00:45:31 pi-server systemd[1]: x735-fan.service: Failed with result 'exit-code'. Jun 18 00:45:31 pi-server systemd[1]: Failed to start x735-fan.service - Daemon to monitor and control fan speed.
The shortcut also is not working with pin 4 i got this error:
gpioset: error setting the GPIO line values: No such file or directory
with pin 0 I have no errors but nothing happens.
Could you help m, please? I think the problem in the pin renaming of the new version of python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant