LED devices

Richard Purdie rpurdie at openedhand.com
Fri Jun 1 08:56:39 PDT 2007


On Fri, 2007-06-01 at 17:32 +0200, Johannes Berg wrote: 
> Actually, I was talking about triggers, they don't have any stuff
> in /sys/devices. But their name is controlled by something that does,
> and that something can even be renamed (like netdevs).
> 
> Maybe the LED/LED trigger association API should just be symlinking a
> trigger devices to a /sys/devices/.../<ledname>/trigger, but of course
> that's not really possible.

I've often wished we could do this as it would suit triggers well! The
same approach could be used for bio schedulers and other selection type
operations. As you say its not really possible though and would be more
difficult to use in reality.

Cheers,

Richard



More information about the hal mailing list