summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-12 16:35:01 +0200
committerDirk von Suchodoletz2010-08-12 16:35:01 +0200
commit358de50c1903dba4c6ac74fc1c5a59014f68b2a0 (patch)
treeaad192340eaf3afa70cccf5733368747302bc7b8 /os-plugins
parentPlymouth is most probably not needed for bootsplash in Ubuntu 10.04 ... (diff)
downloadcore-358de50c1903dba4c6ac74fc1c5a59014f68b2a0.tar.gz
core-358de50c1903dba4c6ac74fc1c5a59014f68b2a0.tar.xz
core-358de50c1903dba4c6ac74fc1c5a59014f68b2a0.zip
Evdev configuration needed for SuSE11.3 (xserver).
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm31
1 files changed, 31 insertions, 0 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
index 55f42117..29342f3b 100644
--- a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
+++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm
@@ -41,6 +41,37 @@ sub setupXserverScript
# add stuff to the script generated via Base.pm
$script .= unshiftHereDoc(<<' End-of-Here');
# SuSE specific extension to stage3 xserver.sh
+ # Add InputClass to proper setup the keyboard and other input
+ echo 'Section "InputClass"
+ Identifier "evdev pointer catchall"
+ MatchIsPointer "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ EndSection
+ Section "InputClass"
+ Identifier "evdev keyboard catchall"
+ MatchIsKeyboard "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ EndSection
+ Section "InputClass"
+ Identifier "evdev touchpad catchall"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ EndSection
+ Section "InputClass"
+ Identifier "evdev tablet catchall"
+ MatchIsTablet "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ EndSection
+ Section "InputClass"
+ Identifier "evdev touchscreen catchall"
+ MatchIsTouchscreen "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ EndSection' >/mnt/etc/X11/xorg.conf.d/10-evdev.conf
# Xorg hardware is autodetected, so no module information provided
[ -z "${xmodule}" ] && \
sed "/Section \"Device\"/,/EndSection/d" -i ${xfc}