Repository navigation
configs: add CONFIG_LEDS_TRIGGER_PATTERN=y - #4789
Conversation
|
You didn't use And do you have a good reason not to make the new trigger a loadable module, since it is the largest object file (bigger even than ledtrig-netdev, which is a module)? |
Sorry, first time contributor. Didn't know that was how it was supposed to be done.
I looked at the other triggers that were modules, and figured they were modules because the things they were triggering on were either not present "out of the box" on every variant of Raspberry Pi (not everyone connects a camera, Raspberry Pi Zero doesn't have network unless you connect a USB dongle) or obsolete ("transient" seems to have been superseded by "oneshot"). I didn't consider size to be a concern because there are currently 10 non-module triggers even though a Raspberry Pi has at most two onboard LEDs and so would be using at most 2 different triggers at a time. I figured that if size were a concern, all triggers would be modules. |
|
I redid the changes with |
|
No - I'd like it as a module, please. The pattern trigger appears to be unusable without user-space help to set up the pattern, so there's no reason for that user-space code to not also arrange for the module to be loaded. |
Enable the pattern led trigger. Signed-off-by: Marco Nelissen <marco.nelissen@gmail.com>
|
Makes sense. The pattern trigger pattern doesn't have a default pattern like e.g. timer and heartbeat do. |
kernel: arm: Fix custom rpi __memset32 and __memset64 See: raspberrypi/linux#4820 kernel: drm/vc4: Disable Gamma control on HVS5 due to issues writing the table See: raspberrypi/linux#4825 kernel: drm/vc4: hdmi: Fix clock value used for validating hdmi modes See: raspberrypi/linux#4826 kernel: overlays: Add vl805 overlay See: https://forums.raspberrypi.com/viewtopic.php?t=326088 kernel: configs: add CONFIG_LEDS_TRIGGER_PATTERN=m See: raspberrypi/linux#4789 kernel: Add overlay for Azoteq IQS550 See: raspberrypi/linux#4813 kernel: dtoverlays: Add backlight-gpio parameter to vc4-kms-dpi-generic See: raspberrypi/linux#4815 kernel: bcm2835-v4l2-isp: Add missing lock initialization See: raspberrypi/linux#4800 kernel: media: i2c: ov9281: Increase diff between VTS and max exposure See: raspberrypi/linux#4807
kernel: arm: Fix custom rpi __memset32 and __memset64 See: raspberrypi/linux#4820 kernel: drm/vc4: Disable Gamma control on HVS5 due to issues writing the table See: raspberrypi/linux#4825 kernel: drm/vc4: hdmi: Fix clock value used for validating hdmi modes See: raspberrypi/linux#4826 kernel: overlays: Add vl805 overlay See: https://forums.raspberrypi.com/viewtopic.php?t=326088 kernel: configs: add CONFIG_LEDS_TRIGGER_PATTERN=m See: raspberrypi/linux#4789 kernel: Add overlay for Azoteq IQS550 See: raspberrypi/linux#4813 kernel: dtoverlays: Add backlight-gpio parameter to vc4-kms-dpi-generic See: raspberrypi/linux#4815 kernel: bcm2835-v4l2-isp: Add missing lock initialization See: raspberrypi/linux#4800 kernel: media: i2c: ov9281: Increase diff between VTS and max exposure See: raspberrypi/linux#4807
Enable the pattern led trigger.
Signed-off-by: Marco Nelissen marco.nelissen@gmail.com