RagnarJensen / PiLEDlights

Raspberry Pi - Make LEDs blink on network or harddisk activity
The Unlicense
93 stars 24 forks source link

hddled not working on Raspberry Pi OS (32-bit) with desktop and recommended software #5

Closed Belltowerbrett closed 4 years ago

Belltowerbrett commented 4 years ago

Hi, Hope you can help. I have both hddled and netled installed on Retropie (started via rc.local) and all works perfectly. Made up another SD card and installed latest Raspberry Pi OS (32-bit) with desktop and recommended software and started the same way (in rc.local) but it wouldn't run at all - no service shows running in "top". So I tried systemd and using "top" it show that hddledPi is running but led isn't working. As with Retropie I installed the v2.52 wiring version for use with Pi 4. What have I missed? I am using default pins for connection to GPIO. Any assistance would be greatly appreciated. Thanks

Belltowerbrett commented 4 years ago

Hi, All sorted now. Took a while but I finally found the problem. For some reason when it compiled the files on the new SD card the permissions had changed so they couldn't not be executed. Deleted everything and checked original (.c file) permissions and then compiled. Checked permissions and then started as per usual in rc.local. Working fine. Very weird, didn't have this problem when compiled on Retropie. Maybe a trap for Noobs like myself.