Skip to content

Instantly share code, notes, and snippets.

@philcrump
Created November 22, 2012 09:42
Show Gist options
  • Save philcrump/4130260 to your computer and use it in GitHub Desktop.
Save philcrump/4130260 to your computer and use it in GitHub Desktop.
A kernel patch for the cx231xx Composite Video => USB Dongle V4L driver that removes the blue screen normally visible when the device can't detect a SYNC signal.
--- a/drivers/media/video/cx231xx/cx231xx-avcore.c 2011-11-06 22:53:31.610479790 +0000
+++ b/drivers/media/video/cx231xx/cx231xx-avcore.c 2011-11-06 22:55:18.235967499 +0000
@@ -654,7 +654,7 @@
status = vid_blk_write_word(dev, AFE_CTRL, value);
status = vid_blk_read_word(dev, OUT_CTRL1, &value);
- value |= (1 << 7);
+ value |= (0 << 7);
status = vid_blk_write_word(dev, OUT_CTRL1, value);
/* Set output mode */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment