* Re: problem webcam gspca 2.6.32
@ 2010-01-28 10:40 sacarde
0 siblings, 0 replies; 6+ messages in thread
From: sacarde @ 2010-01-28 10:40 UTC (permalink / raw)
To: linux-media
ok
solved in 2.6.32-6
thanks
sacarde@tiscali.it
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem webcam gspca 2.6.32
@ 2010-01-13 8:32 sacarde
0 siblings, 0 replies; 6+ messages in thread
From: sacarde @ 2010-01-13 8:32 UTC (permalink / raw)
To: linux-media
Alle sabato 09 gennaio 2010, hai scritto:
> On Sat, 9 Jan 2010 15:06:14 +0100
... Jean-Francois Moine write:
> I got the source of sunplus.c in the last kernel 2.6.32 and I build the
> attached patch. May you test it?
ok, I build with your patch diff-2.6.32
- now "mplayer tv:// " works OK !!
- now "cheese -v" once it works and once no (I can view only black-window)
...when works...
Probing devices with HAL...
Found device 0471:0322, getting capabilities...
Detected v4l2 device: USB Camera (0471:0322)
Driver: sunplus, version: 132864
Capabilities: 0x05000001
Probing supported video formats...
Device: USB Camera (0471:0322) (/dev/video0)
FractionRange: 0/1 - 100/1
video/x-raw-rgb 640 x 480 num_framerates 101
0/1 1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10 ... ...
... etc
thanks
sacarde@tiscali.it
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem webcam gspca 2.6.32
2010-01-09 8:32 sacarde
@ 2010-01-09 11:14 ` Jean-Francois Moine
0 siblings, 0 replies; 6+ messages in thread
From: Jean-Francois Moine @ 2010-01-09 11:14 UTC (permalink / raw)
To: sacarde; +Cc: linux-media
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
On Sat, 9 Jan 2010 09:32:39 +0100
sacarde <sacarde@tiscali.it> wrote:
> on my archlinux-64 I have a webcam: 0471:0322 Philips DMVC1300K PC
> Camera
> until one mounth ago this works OK with driver: gspca_sunplus
>
> now with kernel 2.6.32 not works....
Hi,
Oops, I introduced a bug in the sunplus driver of the kernel 2.6.32.
I attach a patch, but this one applies to my gspca development
repository at LinuxTv.org (http://linuxtv.org/hg/~jfrancois/gspca).
May you get this last version and check the patch?
Thank you.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
[-- Attachment #2: sunplus.pat --]
[-- Type: application/octet-stream, Size: 2143 bytes --]
diff -r 6ca4624fadfb linux/drivers/media/video/gspca/sunplus.c
--- a/linux/drivers/media/video/gspca/sunplus.c Fri Jan 08 12:08:12 2010 +0100
+++ b/linux/drivers/media/video/gspca/sunplus.c Sat Jan 09 12:11:02 2010 +0100
@@ -740,7 +740,7 @@
spca504B_PollingDataReady(gspca_dev);
/* Init the cam width height with some values get on init ? */
- reg_w_riv(gspca_dev, 0x31, 0, 0x04);
+ reg_w_riv(gspca_dev, 0x31, 0x0004, 0x00);
spca504B_WaitCmdStatus(gspca_dev);
spca504B_PollingDataReady(gspca_dev);
break;
@@ -838,14 +838,14 @@
default:
/* case BRIDGE_SPCA533: */
/* case BRIDGE_SPCA504B: */
- reg_w_riv(gspca_dev, 0, 0x00, 0x21ad); /* hue */
- reg_w_riv(gspca_dev, 0, 0x01, 0x21ac); /* sat/hue */
- reg_w_riv(gspca_dev, 0, 0x00, 0x21a3); /* gamma */
+ reg_w_riv(gspca_dev, 0, 0x21ad, 0x00); /* hue */
+ reg_w_riv(gspca_dev, 0, 0x21ac, 0x01); /* sat/hue */
+ reg_w_riv(gspca_dev, 0, 0x21a3, 0x00); /* gamma */
break;
case BRIDGE_SPCA536:
- reg_w_riv(gspca_dev, 0, 0x40, 0x20f5);
- reg_w_riv(gspca_dev, 0, 0x01, 0x20f4);
- reg_w_riv(gspca_dev, 0, 0x00, 0x2089);
+ reg_w_riv(gspca_dev, 0, 0x20f5, 0x40);
+ reg_w_riv(gspca_dev, 0, 0x20f4, 0x01);
+ reg_w_riv(gspca_dev, 0, 0x2089, 0x00);
break;
}
if (pollreg)
@@ -918,11 +918,11 @@
switch (sd->bridge) {
case BRIDGE_SPCA504B:
reg_w_riv(gspca_dev, 0x1d, 0x00, 0);
- reg_w_riv(gspca_dev, 0, 0x01, 0x2306);
- reg_w_riv(gspca_dev, 0, 0x00, 0x0d04);
- reg_w_riv(gspca_dev, 0, 0x00, 0x2000);
- reg_w_riv(gspca_dev, 0, 0x13, 0x2301);
- reg_w_riv(gspca_dev, 0, 0x00, 0x2306);
+ reg_w_riv(gspca_dev, 0x00, 0x2306, 0x01);
+ reg_w_riv(gspca_dev, 0x00, 0x0d04, 0x00);
+ reg_w_riv(gspca_dev, 0x00, 0x2000, 0x00);
+ reg_w_riv(gspca_dev, 0x00, 0x2301, 0x13);
+ reg_w_riv(gspca_dev, 0x00, 0x2306, 0x00);
/* fall thru */
case BRIDGE_SPCA533:
spca504B_PollingDataReady(gspca_dev);
@@ -1031,7 +1031,7 @@
spca504B_WaitCmdStatus(gspca_dev);
break;
default:
- reg_w_riv(gspca_dev, 0x31, 0, 0x04);
+ reg_w_riv(gspca_dev, 0x31, 0x0004, 0x00);
spca504B_WaitCmdStatus(gspca_dev);
spca504B_PollingDataReady(gspca_dev);
break;
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem webcam gspca 2.6.32
2010-01-09 9:05 Sean
@ 2010-01-09 11:01 ` leandro Costantino
0 siblings, 0 replies; 6+ messages in thread
From: leandro Costantino @ 2010-01-09 11:01 UTC (permalink / raw)
To: knife; +Cc: linux-media
Also, if you can, try the lastest from linuxtv.org
On Sat, Jan 9, 2010 at 10:05 AM, Sean <knife@toaster.net> wrote:
> What kind of errors or problems are you getting?
>
> Can you turn on debugging and give us some output?
>
> Sean
> ------Original Message------
> From: sacarde
> Sender: linux-media-owner@vger.kernel.org
> To: linux-media@vger.kernel.org
> Subject: problem webcam gspca 2.6.32
> Sent: Jan 9, 2010 12:32 AM
>
> hi,
> on my archlinux-64 I have a webcam: 0471:0322 Philips DMVC1300K PC Camera
>
> until one mounth ago this works OK with driver: gspca_sunplus
>
> now with kernel 2.6.32 not works....
> I start cheese and I view: http://sacarde.interfree.it/errore-cheese.png
> and this messages:
> Cheese 2.28.1
> Probing devices with HAL...
> Found device 0471:0322, getting capabilities...
> Detected v4l2 device: USB Camera (0471:0322)
> Driver: sunplus, version: 132864
> Capabilities: 0x05000001
> Probing supported video formats...
>
>
> from dmesg:
> ...
> gspca: probing 0471:0322
> gspca: probe ok
> ...
> /dev/video0 is created
>
>
> I try to downgrade previus kernel kernel26 2.6.31.6-1 and dependencies
>
> and it works:
>
> when it works 2.6.31: Driver: sunplus, version: 132608
>
>
> thankyou
>
>
>
> sacarde@tiscali.it
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problem webcam gspca 2.6.32
@ 2010-01-09 9:05 Sean
2010-01-09 11:01 ` leandro Costantino
0 siblings, 1 reply; 6+ messages in thread
From: Sean @ 2010-01-09 9:05 UTC (permalink / raw)
To: linux-media
What kind of errors or problems are you getting?
Can you turn on debugging and give us some output?
Sean
------Original Message------
From: sacarde
Sender: linux-media-owner@vger.kernel.org
To: linux-media@vger.kernel.org
Subject: problem webcam gspca 2.6.32
Sent: Jan 9, 2010 12:32 AM
hi,
on my archlinux-64 I have a webcam: 0471:0322 Philips DMVC1300K PC Camera
until one mounth ago this works OK with driver: gspca_sunplus
now with kernel 2.6.32 not works....
I start cheese and I view: http://sacarde.interfree.it/errore-cheese.png
and this messages:
Cheese 2.28.1
Probing devices with HAL...
Found device 0471:0322, getting capabilities...
Detected v4l2 device: USB Camera (0471:0322)
Driver: sunplus, version: 132864
Capabilities: 0x05000001
Probing supported video formats...
from dmesg:
...
gspca: probing 0471:0322
gspca: probe ok
...
/dev/video0 is created
I try to downgrade previus kernel kernel26 2.6.31.6-1 and dependencies
and it works:
when it works 2.6.31: Driver: sunplus, version: 132608
thankyou
sacarde@tiscali.it
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* problem webcam gspca 2.6.32
@ 2010-01-09 8:32 sacarde
2010-01-09 11:14 ` Jean-Francois Moine
0 siblings, 1 reply; 6+ messages in thread
From: sacarde @ 2010-01-09 8:32 UTC (permalink / raw)
To: linux-media
hi,
on my archlinux-64 I have a webcam: 0471:0322 Philips DMVC1300K PC Camera
until one mounth ago this works OK with driver: gspca_sunplus
now with kernel 2.6.32 not works....
I start cheese and I view: http://sacarde.interfree.it/errore-cheese.png
and this messages:
Cheese 2.28.1
Probing devices with HAL...
Found device 0471:0322, getting capabilities...
Detected v4l2 device: USB Camera (0471:0322)
Driver: sunplus, version: 132864
Capabilities: 0x05000001
Probing supported video formats...
from dmesg:
...
gspca: probing 0471:0322
gspca: probe ok
...
/dev/video0 is created
I try to downgrade previus kernel kernel26 2.6.31.6-1 and dependencies
and it works:
when it works 2.6.31: Driver: sunplus, version: 132608
thankyou
sacarde@tiscali.it
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-01-28 10:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28 10:40 problem webcam gspca 2.6.32 sacarde
-- strict thread matches above, loose matches on Subject: below --
2010-01-13 8:32 sacarde
2010-01-09 9:05 Sean
2010-01-09 11:01 ` leandro Costantino
2010-01-09 8:32 sacarde
2010-01-09 11:14 ` Jean-Francois Moine
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.