Jean-Francois Moine wrote: > On Sun, 28 Feb 2010 08:55:04 +0100 > Németh Márton <nm127@xxxxxxxxxxx> wrote: > >> On some webcams a feedback LED can be found. This LED usually shows >> the state of streaming mode: this is the "Auto" mode. The LED can >> be programmed to constantly switched off state (e.g. for power saving >> reasons, preview mode) or on state (e.g. the application shows motion >> detection or "on-air"). > > Hi, > > There may be many LEDs on the webcams. One LED may be used for > the streaming state, Some other ones may be used to give more light in > dark rooms. One webcam, the microscope 093a:050f, has a top and a bottom > lights/illuminators; an other one, the MSI StarCam 370i 0c45:60c0, has > an infra-red light. > > That's why I proposed to have bit fields in the control value to switch > on/off each LED. With a bitfield on and off state can be specified. What about the "auto" mode? Should two bits grouped together to have auto, on and off state? Is there already a similar control? Is the brightness of the background light LEDs adjustable or are they just on/off? If yes, then maybe the feedback LEDs and the background light LEDs should be treated as different kind. Regards, Márton Németh -- 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