diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-10-27 16:28:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-10-27 16:28:25 +0000 |
commit | 5976b3df2479955d6c1a57992ab5b8c5ed7b481a (patch) | |
tree | 89c42499a2dd0595fd61270a2d72fd542e466e7f /perl-install/detect_devices.pm | |
parent | c53e1ebc11f7777852b23781edbb39480655e80c (diff) | |
download | drakx-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.pm | 4 |
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); } |