public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* VFlip problem in gspca_pac7311
@ 2009-11-23 17:10 Gustavo Chaín Dumit
  2009-11-23 18:27 ` Németh Márton
  2009-11-24 18:02 ` Jean-Francois Moine
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Chaín Dumit @ 2009-11-23 17:10 UTC (permalink / raw)
  To: linux-media

Hi

I'm testing a Pixart Imaging device (0x93a:0x2622)
Everything works fine, but vertical orientation. Image looks rotated.
So I wrote a little hack to prevent it.

diff --git a/drivers/media/video/gspca/pac7311.c
b/drivers/media/video/gspca/pac 7311.c
index 0527144..f7904ec 100644
--- a/drivers/media/video/gspca/pac7311.c
+++ b/drivers/media/video/gspca/pac7311.c
@@ -690,27 +690,28 @@ static int sd_start(struct gspca_dev *gspca_dev)
        }
        setgain(gspca_dev);
        setexposure(gspca_dev);
-       sethvflip(gspca_dev);
+       if (gspca_dev->dev->descriptor.idProduct != 0x2622)
+               sethvflip(gspca_dev);

Any one has the same problem ?
Thanks!

-- 
Gustavo Chaín Dumit
http://0xff.cl

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-24 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 17:10 VFlip problem in gspca_pac7311 Gustavo Chaín Dumit
2009-11-23 18:27 ` Németh Márton
2009-11-23 18:46   ` Gustavo Chaín Dumit
2009-11-24 18:02 ` Jean-Francois Moine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox