DeskPi-Team / deskpi

DeskPi Pro is the Ultimate Case Kit for Raspberry Pi 4 with Full Size HDMI/2.5 Hard Disk Support and Safe Power Button, It has QC 3.0 Power Supply inside and New ICE Tower Cooler inside.
GNU General Public License v3.0
140 stars 46 forks source link

Ubuntu 21.10 deskpi installation issues #88

Closed khxtendseo closed 2 years ago

khxtendseo commented 2 years ago

deskpi.service - DeskPi PWM Control Fan Service Loaded: loaded (/lib/systemd/system/deskpi.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2021-12-03 13:42:18 UTC; 18s ago Process: 2302 ExecStart=sudo /usr/bin/pwmFanControl & (code=exited, status=1/FAILURE) Main PID: 2302 (code=exited, status=1/FAILURE) CPU: 30ms

Dec 03 13:42:18 ubuntu systemd[1]: Starting DeskPi PWM Control Fan Service... Dec 03 13:42:18 ubuntu sudo[2302]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/pwmFanControl & Dec 03 13:42:18 ubuntu sudo[2302]: pam_unix(sudo:session): session opened for user root by (uid=0) Dec 03 13:42:18 ubuntu sudo[2302]: pam_unix(sudo:session): session closed for user root Dec 03 13:42:18 ubuntu sudo[2302]: sudo: unable to execute /usr/bin/pwmFanControl: No such file or directory Dec 03 13:42:18 ubuntu systemd[1]: deskpi.service: Main process exited, code=exited, status=1/FAILURE Dec 03 13:42:18 ubuntu systemd[1]: deskpi.service: Failed with result 'exit-code'. Dec 03 13:42:18 ubuntu systemd[1]: Failed to start DeskPi PWM Control Fan Service.

khxtendseo commented 2 years ago

Resolved by installing Rasberrypi 64 bit instead of Ubuntu, the script and drivers work fin. Works on both 2021-10-30-raspios-bullseye-arm64-lite and 2021-10-30-raspios-bullseye-arm64.