diff options
author | Francois Pons <fpons@mandriva.com> | 2000-05-05 18:45:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-05-05 18:45:23 +0000 |
commit | 969bc065596476bce5cfed0bb7ffd263f48eb1d5 (patch) | |
tree | 8f890d39f7b1ccfa6dbeb8f7cc3281748ee30f46 /perl-install/mouse.pm | |
parent | 8255a2010a0698471fb35f42b1ebcad3462f153a (diff) | |
download | drakx-969bc065596476bce5cfed0bb7ffd263f48eb1d5.tar drakx-969bc065596476bce5cfed0bb7ffd263f48eb1d5.tar.gz drakx-969bc065596476bce5cfed0bb7ffd263f48eb1d5.tar.bz2 drakx-969bc065596476bce5cfed0bb7ffd263f48eb1d5.tar.xz drakx-969bc065596476bce5cfed0bb7ffd263f48eb1d5.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 09ccbc365..8f8607990 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -139,23 +139,18 @@ sub detect() { eval { commands::modprobe("serial") }; my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r; - require pci_probing::main; - if (my ($c) = grep { /usb-/ } map { $_->[1] } pci_probing::main::probe('')) { + if (detect_devices::probeUSB()) { eval { - modules::load($c, "SERIAL_USB"); modules::load("usbmouse"); modules::load("mousedev"); }; sleep(1); if (!$@ && detect_devices::tryOpen("usbmouse")) { $wacom or modules::unload("serial"); - modules::load("usbkbd"); - modules::load("keybdev"); return name2mouse("USB Mouse"), $wacom; } modules::unload("mousedev"); modules::unload("usbmouse"); - modules::unload($c, 'remove_alias'); } #- defaults to generic ttyS0 |