summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index c97a23268..59cfb95bc 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -285,6 +285,7 @@ sub whatUsbport() {
my ($i, $elem, @res) = (0, {});
foreach (grep { $_->{type} =~ /Printer/ } usb_probe()) {
my ($manufacturer, $model) = split '\|', $_->{description};
+ $_->{description} =~ s/Hewlett[-\s_]Packard/HP/;
push @res, { port => "/dev/usb/lp$i", val => { CLASS => 'PRINTER',
MODEL => $model,
MANUFACTURER => $manufacturer,