All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: martin-eric.racine@iki.fi
Cc: Jean-Francois Moine <moinejf@free.fr>,
	Jonathan Nieder <jrnieder@gmail.com>,
	677533@bugs.debian.org, linux-media@vger.kernel.org
Subject: Re: video: USB webcam fails since kernel 3.2
Date: Wed, 11 Jul 2012 15:27:36 +0200	[thread overview]
Message-ID: <4FFD7F48.6060905@redhat.com> (raw)
In-Reply-To: <CAPZXPQeDKLAu13Qs-MhhxJEBrF-5620HNZDmPiH+4NRmkxx3Ag@mail.gmail.com>

Hi,

On 07/11/2012 02:01 PM, Martin-Éric Racine wrote:
> 2012/7/11 Jean-Francois Moine <moinejf@free.fr>:
>> On Wed, 11 Jul 2012 14:14:24 +0300
>> Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:
>>
>>>    CC [M]  /home/perkelix/gspca-2.15.18/build/ov534_9.o
>>> /home/perkelix/gspca-2.15.18/build/ov534_9.c: In function ‘sd_init’:
>>> /home/perkelix/gspca-2.15.18/build/ov534_9.c:1353:3: error: implicit
>>> declaration of function ‘err’ [-Werror=implicit-function-declaration]
>>> cc1: some warnings being treated as errors
>>> make[2]: *** [/home/perkelix/gspca-2.15.18/build/ov534_9.o] Virhe 1
>>> make[1]: *** [_module_/home/perkelix/gspca-2.15.18/build] Error 2
>>> make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-rc6+'
>>> make: *** [modules] Error 2
>>
>> Sorry, I did not compile yet with kernel >= 3.4.
>>
>> So, please, edit the file build/ov534_9.c (and possibly other sources),
>> changing  the calls to 'err' to 'pr_err'.
>
> This was was required for both build/ov534_9.c and build/spca505.c to
> build agaist 3.5.
>
> Sure enough, this seems to fix support for this camera in both Cheese
> and Skype. Hurray! :-)

Ok, so it seems that increasing the bandwidth we claim for the camera
(which is what my suggested "return 2000 * 2000 * 120;" change does, helps
a bit, where as the changes to vc032x which are in Jean-Francois Moine's
gspca-2.15.18 tarbal fix the problem entirely, correct?

>
> Now, the only thing that remains is for this to be merged in the 3.5
> tree, then backported to the 3.2 tree that is used for Debian's
> upcoming Wheezy stable release (and for Ubuntu's recently released
> Precise also).

Well we first need to turn the changes made in gspca-2.15.18 into
a patch will which apply to the latest gspca tree:
http://git.linuxtv.org/hgoede/gspca.git/shortlog/refs/heads/media-for_v3.6

And then apply them there, before the can be backported to older
kernels. Unfortunately I'm leaving for a week vacation Friday, and I
probably won't get around to this before then.

Jean-Francois, can you perhaps make a patch against my latest tree for
the poXXXX / PO3130 changes in your tarbal?

Regards,

Hans

  parent reply	other threads:[~2012-07-11 13:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120614162609.4613.22122.reportbug@henna.lan>
     [not found] ` <20120614215359.GF3537@burratino>
     [not found]   ` <CAPZXPQd9gNCxn7xGyqj_xymPaF5OxvRtxRFkt+SsLs942te4og@mail.gmail.com>
     [not found]     ` <20120616044137.GB4076@burratino>
2012-06-17 11:23       ` video: USB webcam fails since kernel 3.2 Martin-Éric Racine
2012-06-17 17:11         ` Jonathan Nieder
2012-06-17 17:12           ` Jonathan Nieder
2012-07-08 13:01         ` Martin-Éric Racine
2012-07-08 17:58           ` Hans de Goede
2012-07-08 18:33             ` Jean-Francois Moine
2012-07-09  8:43               ` Hans de Goede
2012-07-09 11:33             ` Martin-Éric Racine
2012-07-09 13:12               ` Hans de Goede
2012-07-09 20:39                 ` Jonathan Nieder
2012-07-10 12:56                   ` Martin-Éric Racine
2012-07-10 14:36                     ` Jean-Francois Moine
2012-07-11  7:02                       ` Martin-Éric Racine
2012-07-11  8:04                         ` Jean-Francois Moine
2012-07-11 10:21                           ` Martin-Éric Racine
2012-07-11 10:44                             ` Jean-Francois Moine
2012-07-11 11:14                               ` Martin-Éric Racine
2012-07-11 11:27                                 ` Jean-Francois Moine
     [not found]                                   ` <CAPZXPQeDKLAu13Qs-MhhxJEBrF-5620HNZDmPiH+4NRmkxx3Ag@mail.gmail.com>
2012-07-11 12:19                                     ` Jonathan Nieder
2012-07-11 13:27                                     ` Hans de Goede [this message]
2012-07-11 13:43                                       ` Martin-Éric Racine
2012-07-11 17:18                                         ` Jean-Francois Moine
2012-07-11 18:08                                           ` Martin-Éric Racine
2012-10-09 22:54                                             ` Jonathan Nieder
2012-10-10  5:53                                               ` Martin-Éric Racine
2012-10-10  6:23                                               ` Jean-Francois Moine
2012-10-10  6:32                                                 ` Jonathan Nieder
2012-10-10  6:49                                                 ` Martin-Éric Racine

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=4FFD7F48.6060905@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=677533@bugs.debian.org \
    --cc=jrnieder@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=martin-eric.racine@iki.fi \
    --cc=moinejf@free.fr \
    /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.