summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 1e1827a25..f535ffcc2 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -117,8 +117,8 @@ sub detect() {
#- @l{qw(FULLNAME nbuttons MOUSETYPE XMOUSETYPE device)} = split("\n", `mouseconfig --nointeractive 2>/dev/null`) and return \%l;
#- modules::unload("serial");
- if (my ($c) = pci_probing::main::probe("SERIAL_USB")) {
- eval { modules::load($c->[1], 'usbmouse') };
+ if (my ($c) = pci_probing::main::probe("serial_usb")) {
+ eval { modules::load($c->[1], "serial_usb") };
sleep(1);
do { modules::unload("serial"); return name2mouse("USB Mouse") } if !$@ && detect_devices::tryOpen("usbmouse");
modules::unload($c->[1]);