- moved common (1.3.0.0/1.4.99.901) patches to xserver-kdrive TODO: merge xmodmap and "-mouse tslib" from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4317 311d38ba-8fff-0310-9ca6-ca027cbcb966
16 lines
702 B
Diff
16 lines
702 B
Diff
Index: xorg-server-1.4/hw/kdrive/linux/tslib.c
|
|
===================================================================
|
|
--- xorg-server-1.4.orig/hw/kdrive/linux/tslib.c 2007-09-08 19:58:08.000000000 +0200
|
|
+++ xorg-server-1.4/hw/kdrive/linux/tslib.c 2007-09-08 19:58:09.000000000 +0200
|
|
@@ -121,6 +121,10 @@
|
|
|
|
private->raw_event_hook = NULL;
|
|
private->raw_event_closure = NULL;
|
|
+ if (!pi->path) {
|
|
+ pi->path = "/dev/input/touchscreen0";
|
|
+ ErrorF("[tslib/TslibEnable] no device path given, trying %s\n", pi->path);
|
|
+ }
|
|
private->tsDev = ts_open(pi->path, 0);
|
|
private->fd = ts_fd(private->tsDev);
|
|
if (!private->tsDev || ts_config(private->tsDev) || private->fd < 0) {
|