summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-04-16 10:35:20 +0000
committerKoen Kooi <koen@openembedded.org>2008-04-16 10:35:20 +0000
commit6342a33cb83b46d646d68b10250ee98b895d75eb (patch)
treee64347301aec833e2c54bf2920d500ae5efa865a /packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch
parentcbae7b0c816348070e78e1933bb3b391988a7a18 (diff)
xserver-kdrive: add 1.5rc (1.4.99.901). WIP, Disabled by default:
patch status: * enable-tslib: patch updated * enable-xscalibrate: is upstream * xcalibrate-coords: doesn't maybe, maybe it's already upstream * root-ppm patch: doesn't apply, needs updating * fbdev-evdev: removed since input-hotplug is all the rage now build status: * needs newer libdrm (2.3.1, oe has 2.3.0)
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch')
-rw-r--r--packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch b/packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch
new file mode 100644
index 0000000000..4964ff5479
--- /dev/null
+++ b/packages/xorg-xserver/xserver-kdrive-1.4.99.901/keyboard-resume-workaround.patch
@@ -0,0 +1,16 @@
+Index: xorg-server-1.4/hw/kdrive/linux/keyboard.c
+===================================================================
+--- xorg-server-1.4.orig/hw/kdrive/linux/keyboard.c 2007-09-29 18:31:15.000000000 +0200
++++ xorg-server-1.4/hw/kdrive/linux/keyboard.c 2007-09-29 18:33:02.000000000 +0200
+@@ -743,11 +743,6 @@
+ cfsetispeed(&nTty, 9600);
+ cfsetospeed(&nTty, 9600);
+ tcsetattr(fd, TCSANOW, &nTty);
+- /*
+- * Flush any pending keystrokes
+- */
+- while ((n = read (fd, buf, sizeof (buf))) > 0)
+- ;
+ KdRegisterFd (fd, LinuxKeyboardRead, ki);
+ return Success;
+ }