summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/detect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/detect.pm b/perl-install/printer/detect.pm
index 28cb2a02c..ad5649b0d 100644
--- a/perl-install/printer/detect.pm
+++ b/perl-install/printer/detect.pm
@@ -124,7 +124,8 @@ sub whatUsbport() {
$description =~ s/HEWLETT[-\s_]PACKARD/HP/;
$itemfound = 1;
}
- if ($idstr =~ /SE*R*N:([^;]+);/) {
+ if (($idstr =~ /SE*R*N:([^;]+);/) ||
+ ($idstr =~ /SN:([^;]+);/)) {
$serialnumber = $1;
$itemfound = 1;
}