summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-07 11:28:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-07 11:28:23 +0000
commit2bdead5bc3c4b64037224bde3fd8a9a07d33203a (patch)
tree2fe0afff971b48e70c6d50e2932c3cb2cd070c3b /perl-install
parent99a4bfdc80eba3784f6bb1690a9d02cc7e02de72 (diff)
downloaddrakx-2bdead5bc3c4b64037224bde3fd8a9a07d33203a.tar
drakx-2bdead5bc3c4b64037224bde3fd8a9a07d33203a.tar.gz
drakx-2bdead5bc3c4b64037224bde3fd8a9a07d33203a.tar.bz2
drakx-2bdead5bc3c4b64037224bde3fd8a9a07d33203a.tar.xz
drakx-2bdead5bc3c4b64037224bde3fd8a9a07d33203a.zip
hid is missing (and not needed) on kernel 2.6.7.0.rc2
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 7c53d5415..9db02e309 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -283,7 +283,7 @@ sub detect() {
my @wacom = probe_wacom_devices();
if (c::kernel_version() =~ /^\Q2.6/) {
- modules::get_probeall("usb-interface") and modules::load('hid');
+ modules::get_probeall("usb-interface") and eval { modules::load('hid') };
if (cat_('/proc/bus/input/devices') =~ /^H: Handlers=mouse/m) {
return fullname2mouse('Universal|Any PS/2 & USB mice', wacom => \@wacom);
}