From: "Németh Márton" <nm127@freemail.hu>
To: Lars Noschinski <lars@public.noschinski.de>
Cc: linux-media@vger.kernel.org
Subject: Re: pac7311
Date: Tue, 18 Oct 2011 22:14:11 +0200 [thread overview]
Message-ID: <4E9DDE13.103@freemail.hu> (raw)
In-Reply-To: <20111017060334.GA16001@lars.home.noschinski.de>
Hi Lars,
Lars Noschinski wrote:
> I'm using a webcam (Philipps SPC500NC) which identifies itself as
>
> 093a:2603 Pixart Imaging, Inc. PAC7312 Camera
>
> and is sort-of supported by the gspca_pac7311 module. "sort-of" because
> the image alternates quickly between having a red tint or a green tint
> (using the gspac driver from kernel 3.0.0, but this problem is present
> since at least 2.6.31).
The most important source code for your webcam is drivers/media/video/gspca/pac7311.c .
You can see it online at http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/media/video/gspca/pac7311.c .
> If I remove and re-plugin the camera a few times (on average around 3
> times), the colors are stable.
When you plug and remove the webcam and the colors are wrong, do you get any
message in the "dmesg"?
Once the colors are stable and you unplug and replug the webcam, what happens then?
Is there again around 3 times when the webcam is not working properly?
> Then a second issue becomes apparent:
> There is almost no saturation in the image. Toying around with Contrast,
> Gamma, Exposure or Gain does not help. What _does_ help is the Vflip
> switch: If I enable it, the image is flipped vertically (as expected),
> but also the color become a lot better.
Is there any difference when you use the "Mirror" control? What about the
combination of the "Vflip" and "Mirror" controls?
What about the "Auto Gain" setting? Is it enabled or disabled in your case?
> Is there something I can do to debug/fix this problem?
You can try testing the webcam with different resolutions. The webcam
supports 160x120, 320x240 and 640x480 resolutions based on the source code.
You can try the different resolutions for example with "cheese"
( http://projects.gnome.org/cheese/ ) or any of your favorite V4L2 program.
You can load the usbmon kernel module and use Wireshark to log the USB communication
between your computer and the webcam starting with plug-in. You can compare
the communication when the webcam starts to work correctly with the one when
the webcam doesn't work as expected.
Regards,
Márton Németh
next prev parent reply other threads:[~2011-10-18 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 6:03 pac7311 Lars Noschinski
2011-10-18 20:14 ` Németh Márton [this message]
2011-10-20 19:18 ` pac7311 Lars Noschinski
2011-10-21 5:19 ` pac7311 Németh Márton
-- strict thread matches above, loose matches on Subject: below --
2009-11-05 23:38 pac7311 Lars Noschinski
2009-11-06 7:36 ` pac7311 Jean-Francois Moine
2009-11-06 9:30 ` pac7311 Lars Noschinski
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=4E9DDE13.103@freemail.hu \
--to=nm127@freemail.hu \
--cc=lars@public.noschinski.de \
--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;
as well as URLs for NNTP newsgroup(s).