Re: [PATCH RFC 0/4] leds: extend disk trigger
From: Ian Pilcher
Date: Mon Jan 26 2026 - 11:20:45 EST
On 1/26/26 3:00 AM, Niklas Cassel wrote:
But I'm not a fan of making the driver more complex.
If we want something more complex than what is already there, then it
is probably much better handled in user space, considering the amount
of possible configuration options.
Basically the same argument as used in:
https://lore.kernel.org/linux-nvme/20220227234258.24619-1-ematsumiya@xxxxxxx/T/#u
Niklas -
Can you provide some links on how this might be done in userspace?
I've been maintaining my out-of-tree block device trigger for years, to
make the LEDs on my NAS work.
https://github.com/ipilcher/ledtrig-blkdev/blob/v6.9%2B/drivers/leds/trigger/ledtrig-blkdev.c
I'd love to be able to replace it with something in-tree.
--
========================================================================
If your user interface is intuitive in retrospect ... it isn't intuitive
========================================================================