summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-27 16:28:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-27 16:28:25 +0000
commit5976b3df2479955d6c1a57992ab5b8c5ed7b481a (patch)
tree89c42499a2dd0595fd61270a2d72fd542e466e7f /perl-install/detect_devices.pm
parentc53e1ebc11f7777852b23781edbb39480655e80c (diff)
downloaddrakx-5976b3df2479955d6c1a57992ab5b8c5ed7b481a.tar
drakx-5976b3df2479955d6c1a57992ab5b8c5ed7b481a.tar.gz
drakx-5976b3df2479955d6c1a57992ab5b8c5ed7b481a.tar.bz2
drakx-5976b3df2479955d6c1a57992ab5b8c5ed7b481a.tar.xz
drakx-5976b3df2479955d6c1a57992ab5b8c5ed7b481a.zip
(getUPS) fix again MGE USB UPSes
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 2f3909af5..e78de8480 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -584,9 +584,9 @@ sub getUPS() {
# USB UPSs;
(grep { $_->{description} =~ /American Power Conversion\|Back-UPS/ } @usb_devices),
(map {
- $_->{port} = "/dev/hiddev0";
+ $_->{port} = "auto";
$_->{media_type} = 'UPS';
- $_->{driver} = 'hidups';
+ $_->{driver} = 'newhidups';
$_;
} grep { $_->{driver} =~ /ups$/ } @usb_devices);
}