diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-18 05:44:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-18 05:44:25 +0000 |
commit | 6b69393d2b0c2911f486ca6c0046ccf6e1a3f238 (patch) | |
tree | d0f131da5b1d5ae7f370b0cd3411242eee1a7990 /perl-install/detect_devices.pm | |
parent | 94f257d030c1fd411ec48e438db18c657cd97e40 (diff) | |
download | drakx-backup-do-not-use-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar drakx-backup-do-not-use-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.gz drakx-backup-do-not-use-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.bz2 drakx-backup-do-not-use-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.tar.xz drakx-backup-do-not-use-6b69393d2b0c2911f486ca6c0046ccf6e1a3f238.zip |
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 54893ade3..a5d15dbd9 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -273,26 +273,6 @@ sub whatPrinterPort() { grep { tryWrite($_)} qw(/dev/lp0 /dev/lp1 /dev/lp2 /dev/usb/lp0); } -sub probeUSB { - require modules; - defined($usb_interface) and return $usb_interface; - arch() =~ /sparc/ and return $usb_interface = ''; - if (($usb_interface) = grep { /usb-/ } map { $_->{driver} } probeall()) { - eval { modules::load($usb_interface, "SERIAL_USB") }; - if ($@) { - $usb_interface = ''; - } else { - eval { - modules::load("usbkbd"); - modules::load("keybdev"); - }; - } - } else { - $usb_interface = ''; - } - $usb_interface; -} - sub probeSerialDevices { #- make sure the device are created before probing. foreach (0..3) { devices::make("/dev/ttyS$_") } |