diff options
author | Ross Burton <ross.burton@intel.com> | 2012-08-30 18:07:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-02 05:52:12 -0700 |
commit | 175ba20246fa3889f409d1b4e7f828897867b70e (patch) | |
tree | e19193aa0696bbeb0f0fcbf3112cdbb2e619ed99 /meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch | |
parent | 8cb5c0216750f690ce9208c54888d3729b1981bc (diff) | |
download | poky-175ba20246fa3889f409d1b4e7f828897867b70e.tar.gz |
xserver-kdrive: remove.
kdrive is effectively unmaintained upstream (it's only kept for Xephyr).
Apart from two headless machines in meta-yocto (patches sent), every BSP I
looked at (oe-core, meta-intel, meta-oe, meta-ti, meta-smartphone) is using the
traditional X.org X server. Changing kdrive to Xorg means an extra ~200kb of
disk usage but extra features and more importantly continued maintenance.
(From OE-Core rev: f8bc059883a9bae92434bfb74fca352ad1e10199)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch b/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch deleted file mode 100644 index 00626611ad..0000000000 --- a/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/keyboard-resume-workaround.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
4 | |||
5 | Index: xorg-server-1.4/hw/kdrive/linux/keyboard.c | ||
6 | =================================================================== | ||
7 | --- xorg-server-1.4.orig/hw/kdrive/linux/keyboard.c 2007-09-29 18:31:15.000000000 +0200 | ||
8 | +++ xorg-server-1.4/hw/kdrive/linux/keyboard.c 2007-09-29 18:33:02.000000000 +0200 | ||
9 | @@ -486,6 +486,8 @@ | ||
10 | ki->minScanCode = minKeyCode; | ||
11 | ki->maxScanCode = maxKeyCode; | ||
12 | #endif | ||
13 | + ki->minScanCode = 0; | ||
14 | + ki->maxScanCode = NR_KEYS; | ||
15 | } | ||
16 | |||
17 | /* | ||
18 | @@ -743,11 +743,6 @@ | ||
19 | cfsetispeed(&nTty, 9600); | ||
20 | cfsetospeed(&nTty, 9600); | ||
21 | tcsetattr(fd, TCSANOW, &nTty); | ||
22 | - /* | ||
23 | - * Flush any pending keystrokes | ||
24 | - */ | ||
25 | - while ((n = read (fd, buf, sizeof (buf))) > 0) | ||
26 | - ; | ||
27 | KdRegisterFd (fd, LinuxKeyboardRead, ki); | ||
28 | return Success; | ||
29 | } | ||