public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Andy Walls <awalls@md.metrocast.net>
Cc: linux-media@vger.kernel.org, Hans de Goede <hdgoede@redhat.com>
Subject: Re: [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope
Date: Fri, 3 Sep 2010 10:38:38 +0200	[thread overview]
Message-ID: <20100903103838.23d759c9@tele> (raw)
In-Reply-To: <1283476182.17527.4.camel@morgan.silverblock.net>

On Thu, 02 Sep 2010 21:09:42 -0400
Andy Walls <awalls@md.metrocast.net> wrote:
	[snip]
> Add a v4l2 control to get the lamp control code working for the Intel
> Play QX3 microscope.  My daughter in middle school thought it was
> cool, and is now examining the grossest specimens she can find.
	[snip]
> -		u8 toplight;            /* top light lit , R/W */
> -		u8 bottomlight;         /* bottom light lit, R/W */
> +		u8 toplamp;             /* top lamp lit , R/W */
> +		u8 bottomlamp;          /* bottom lamp lit, R/W */
	[snip]
> +#define V4L2_CID_LAMPS (V4L2_CID_PRIVATE_BASE+1)
	[snip]

Hi Andy,

First, I do not see why you changed the name 'light' to 'lamp' while
'light' is used in the other cpia driver (cpia2).

Then, you used a private control ID, and linux-media people don't like
that.

As many gspca users are waiting for a light/LED/illuminator/lamp
control, I tried to define a standard one in March 2009:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/3095

A second, but more restrictive, attempt was done by Németh Márton in
February 2010:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/16705

The main objection to that proposals was that the sysfs LED interface
should be used instead:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/3114

A patch in this way was done by Németh Márton in February 2010:
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/16670

but it was rather complex, and there was no consensus
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/17111

So, I don't think that your patch could be accepted...

Best regards.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

  reply	other threads:[~2010-09-03  8:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03  1:09 [PATCH] gspca_cpia1: Add lamp control for Intel Play QX3 microscope Andy Walls
2010-09-03  8:38 ` Jean-Francois Moine [this message]
2010-09-03 15:35   ` Andy Walls
2010-09-05  8:03 ` Hans de Goede
2010-09-05 18:02   ` Andy Walls
2010-09-05  8:24 ` Hans de Goede
2010-09-05 18:30   ` Andy Walls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100903103838.23d759c9@tele \
    --to=moinejf@free.fr \
    --cc=awalls@md.metrocast.net \
    --cc=hdgoede@redhat.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox