VFlip problem in gspca_pac7311

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux