public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Xavion <xavion.0@gmail.com>
Cc: "Linux Kernel (Media) ML" <linux-media@vger.kernel.org>
Subject: Re: My Microdia (SN9C201) webcam doesn't work properly in Linux anymore
Date: Mon, 5 Mar 2012 18:27:36 +0100	[thread overview]
Message-ID: <20120305182736.563df8b4@tele> (raw)
In-Reply-To: <CAKnx8Y7A2Dd0JW0n9bJBBc+ScnagpdFEkAvbg_Jab3vt66Ky0Q@mail.gmail.com>

On Mon, 5 Mar 2012 08:58:30 +1100
Xavion <xavion.0@gmail.com> wrote:

> I can confirm that GSPCA v2.15.1 removes the bad pixels when I use
> Cheese or VLC.  However, I'm sorry to report that the Motion problems
> unfortunately still remain.  Is there something else I must do to
> overcome the below errors?  I'm happy to keep testing newer GSPCA
> versions for you until we get this fixed.

Hi again,

I looked at the driver again, and thanks to Hans, I found you could
easily lower the JPEG compression quality and stop buffer overflow.

At line 2093 of build/sn9c20x.c (gspca test), there is:

	sd->quality = 95;

Changing '95' to '80' should be enough.

I will add this parameter as a video control as soon as it will be
standard. Then you could adjust it with an external program as v4l2ucp.

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

  parent reply	other threads:[~2012-03-05 17:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKnx8Y7BAyR8A5r-eL13MVgZO2DcKndP3v-MTfkQdmXPvjjGJg@mail.gmail.com>
2012-03-03  0:23 ` My Microdia (SN9C201) webcam doesn't work properly in Linux anymore Xavion
2012-03-03  7:48   ` Hans de Goede
2012-03-04  0:25     ` Xavion
2012-03-04  7:25       ` Jean-Francois Moine
2012-03-04 21:58         ` Xavion
2012-03-05  8:33           ` Hans de Goede
2012-03-05 12:03             ` Jean-Francois Moine
2012-03-05 14:43               ` Hans de Goede
2012-03-05 17:27           ` Jean-Francois Moine [this message]
2012-03-06  0:44             ` Xavion
2012-03-06  9:40               ` Hans de Goede
2012-03-06 22:59                 ` Xavion
2012-03-06 23:44                   ` Theodore Kilgore
2012-03-08  5:15                     ` Xavion
2012-03-08  6:16                       ` Theodore Kilgore
2012-03-08 23:19                         ` Xavion
2012-03-07 15:32                   ` Jean-Francois Moine
2012-03-08  5:34                     ` Xavion

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=20120305182736.563df8b4@tele \
    --to=moinejf@free.fr \
    --cc=linux-media@vger.kernel.org \
    --cc=xavion.0@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox