alexreinert/piVCCU

Missing LEDs in /sys/class/leds/rpi_rf_mod:blue green red

SuperJojo2001 opened this issue · 2 comments

Hello,

I have installed the kernel modules with "apt install pivccu-modules-dkms" on my Raspberry Pi3+ (Homematic IP) running an actual Raspberry PI OS in the version 5.15.32. . I am using the OS in 32-Bit operating mode.
My expectation is that once I am installing the device tree patches with "apt install pivccu-modules-raspberrypi" finally that after the reset I am also able to see the LEDs "rpi_rf_mod:..." under /sys/class/leds/ are created as well.
I see correctly the "pivccu-raspberrypi.dtbo" file present in the "/boot/overlays" folder correctly and I also see the entry "dtoverlay=pivccu-raspberrypi" in the /boot/config.txt file.
Was there maybe something changed/made incompatible when creating LEDs via overlays between OS 4.x to 5.x?

Thx
Armin

You have to load the kernel module with the correct GPIO numbers, see

modprobe rpi_rf_mod_led red_gpio_pin=$RED_PIN green_gpio_pin=$GREEN_PIN blue_gpio_pin=$BLUE_PIN || true

Worked with charme! Thx Armin