Re: [PATCH] LED control

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

 



On Sunday 15 March 2009 10:50:37 Jean-Francois Moine wrote:
> On Sat, 14 Mar 2009 13:16:11 -0700 (PDT)
>
> Trent Piepho <xyzzy@xxxxxxxxxxxxx> wrote:
> > There is already a sysfs led interface, you could just have the driver
> > export the leds to the led subsystem and use that.
>
> Yes, but:
> - this asks to have a kernel generated with CONFIG_NEW_LEDS,
> - the user must use some new program to access /sys/class/leds/<device>,
> - he must know how the LEDs of his webcam are named in the /sys tree.
>
> While, when the LEDs are handled by a simple control, the user may
> quickly change all webcam parameters from a single program as v4l2-ctl.

This would work if devices only exported a few simple LED controls. If we 
throw multi-color blinking LEDs in the mix we will need a complete LED API 
anyway.

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux