From 2bdead5bc3c4b64037224bde3fd8a9a07d33203a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jun 2004 11:28:23 +0000 Subject: hid is missing (and not needed) on kernel 2.6.7.0.rc2 --- perl-install/mouse.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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); } -- cgit v1.2.1