Userspace LED triggers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a project in which I’m hoping to implement several interfaces in userspace (several char devices with CUSE, LEDs with uleds, virtual files with FUSE, inputs with uinput, etc).

One thing that I’d like to do, but can’t, in userspace is make some LED triggers.

So, I would like to write a new userspace LED trigger driver, similar to uleds or uinput. I would probably be able to contribute it back to the Linux mainline kernel.

* uledtriggers
* /dev/uledtriggers
* Setup by initially writing a struct with LED trigger name.
* Alternatively/additionally setup by ioctl() pointer to struct with LED trigger name (similar to uinput).
* Implement ioctls for led_trigger_event(), led_trigger_blink(), led_trigger_blink_oneshot().

Any comments on this before I start it?

-- 
Craig McQueen






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux