aboutsummaryrefslogtreecommitdiff
path: root/7inch.patch
diff options
context:
space:
mode:
authorderekhe <derekhe@april1985.com>2015-06-27 18:15:41 +0800
committerderekhe <derekhe@april1985.com>2015-06-27 18:15:41 +0800
commitd7c40afa4334c25c967e8a83401ac1a968a0c084 (patch)
tree8fb36b1428ff96d6f03a75bfbbc47510fa82c37a /7inch.patch
downloadwaveshare-7inch-touchscreen-driver-d7c40afa4334c25c967e8a83401ac1a968a0c084.tar.xz
waveshare-7inch-touchscreen-driver-d7c40afa4334c25c967e8a83401ac1a968a0c084.zip
Add touch support.
Diffstat (limited to '7inch.patch')
-rw-r--r--7inch.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/7inch.patch b/7inch.patch
new file mode 100644
index 0000000..5c47a13
--- /dev/null
+++ b/7inch.patch
@@ -0,0 +1,17 @@
+diff -r C:\Users\hesicong\Desktop\compare\config.txt C:\Users\hesicong\Desktop\compare\touch\boot\config.txt
+25c24
+< #hdmi_force_hotplug=1
+---
+> hdmi_force_hotplug=1
+27,29c26,30
+< # uncomment to force a specific HDMI mode (this will force VGA)
+< #hdmi_group=1
+< #hdmi_mode=1
+---
+> # uncomment to force a specific HDMI mode (here we are forcing 800x480!)
+> hdmi_group=2
+> hdmi_mode=1
+> hdmi_mode=87
+> hdmi_cvt 800 480 60 6 0 0 0
+30a32
+> max_usb_current=1