summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 19:36:59 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 19:36:59 +0000
commitce73cb729e295da6d130da3e0049f2cbb5fd445c (patch)
tree9727ad92bb9b8b3a074ceeb635ab9bf97dca4694 /perl-install
parentaee03329d5fc4452cfe64e72f15cd24429d44185 (diff)
downloaddrakx-ce73cb729e295da6d130da3e0049f2cbb5fd445c.tar
drakx-ce73cb729e295da6d130da3e0049f2cbb5fd445c.tar.gz
drakx-ce73cb729e295da6d130da3e0049f2cbb5fd445c.tar.bz2
drakx-ce73cb729e295da6d130da3e0049f2cbb5fd445c.tar.xz
drakx-ce73cb729e295da6d130da3e0049f2cbb5fd445c.zip
append evdev in modprobe.preload if a touchpad is detected
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 99c27258b..fa5618b29 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -196,6 +196,7 @@ sub write_preload_conf {
push @l, map { $_->{driver} } probe_category('multimedia/joystick');
push @l, map { $_->{driver} } probe_category('various/crypto');
push @l, 'padlock' if cat_("/proc/cpuinfo") =~ /rng_en/;
+ push @l, 'evdev' if detect_devices::getSynapticsTouchpads();
my @l_26 = @l;
push @l_26, map { $_->{driver} } probe_category('various/agpgart');
append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l);