All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Yuri Glushkov <yglushkov@yahoo.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"525959@bugs.launchpad.net" <525959@bugs.launchpad.net>
Subject: Re: 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
Date: Thu, 29 Nov 2012 15:27:51 +0100	[thread overview]
Message-ID: <50B770E7.8020509@redhat.com> (raw)
In-Reply-To: <1353598043.25176.YahooMailNeo@web113301.mail.gq1.yahoo.com>

Hi,

On 11/22/2012 04:27 PM, Yuri Glushkov wrote:
> [1.] One line summary of the problem:
> 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic
>
> [2.] Full description of the problem/report:
> The LED on this webcam is always turned on when connected to USB, unless
>   some application uses it - the behavior that is opposite to what is
> expected.
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/525959
> The problem persists on all versions of Ubuntu I've tested.

I've a webcam with the same usb-id where the LED is not inverted, so
I'm afraid that it is impossible to tell from the driver side if
the led is inverted or not.

Therefor I've written a patch for the gspca_pac207 driver which adds
a led_invert module parameter, when you set this to 1, it will
invert the turning on/off of the led.

You can find the patch for this here:
http://git.linuxtv.org/hgoede/gspca.git/commitdiff/8806976535f7da2ed1d93bc1230d68e5ca1acd9d

This patch should make it into 3.8.

Regards,

Hans

      reply	other threads:[~2012-11-29 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 15:27 093a:2460 Webcam (Pixart PAC207BCA) - inverted LED logic Yuri Glushkov
2012-11-29 14:27 ` Hans de Goede [this message]

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=50B770E7.8020509@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=525959@bugs.launchpad.net \
    --cc=linux-media@vger.kernel.org \
    --cc=yglushkov@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.