Yes those are installed by packages, when they’re enabled they’re symlinked from /usr/lib/systemd/system.
It’s been staring me in the face the whole time, it’s just printing “pwm_100 > /dev/ttyUSB0”. Sorry I was rushed this morning and I didn’t verify my assumptions, that doesn’t excuse this evening though.
Technically root owned executables you install manually should go in /usr/local/bin, and ones installed by packages should go in /usr/bin. In practice AFAIK it doesn’t actually matter, it’s just to organise things.
At least it will work if you put your files in /usr/bin, package owned files should not be in /usr/local/bin.
Yes, except the script should be 744.
You need to disable and re-enable if you change dependencies (such as WantedBy, Before, After etc), AFAIK any other changes should be picked up with a deamon-reload.
A service without an Install section can’t be enabled it’s called by a timer etc. The timer can and should be enabled, I don’t think you need to disable it a daemon-reload should do the trick.
I mean set it to 0 (or something low like 20, so you can see/hear the difference) then run sudo systemctl start startfan.service if it doesn’t start up again then run the command itself to turn the fan back on then post the output of systemctl status startfan.
You can change the timer, but we should get it working first.
This was a workaround for the deskpi pro v2 to get the fan working with Manjaro 23.02 arm64 on raspberry pi 4 B without a driver.
The case was modified with a bigger heatsink and fan but should work the same with stock hardware. Thanks DMT.
The original driver for system shutdown works and can be installed manually with clues from the manjaro install script.
depends on git installed to clone the original from the driver github page.
If testing original c make install method depends on base-devel installed.
If youre reading this and have github fork and commit knowledge and time to contribute they could use the help over there.