summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
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);
}