From 97f8ee74b067c438ff0d550724cdaba6326fc107 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 24 Aug 2008 21:53:04 +0000 Subject: Improved Synaptics Touchpad detection (via dmesg). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2092 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/xserver/XX_xserver.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os-plugins') diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh index 0280b2c6..d37592ff 100644 --- a/os-plugins/plugins/xserver/XX_xserver.sh +++ b/os-plugins/plugins/xserver/XX_xserver.sh @@ -147,7 +147,8 @@ EndSection testmkd /mnt/${file} done # if a synaptic touchpad is present, add it to the device list - if grep -q -E "ynaptics" /etc/hwinfo.mouse ; then + if grep -q -E "ynaptics" /etc/hwinfo.mouse || \ + dmesg | grep -q -E "ynaptics" ; then sed -e '/\"CorePointer\"/ { a\ EndSection\ -- cgit v1.2.3-55-g7522