clearer handling of firmware

this also fix some spurious warnings.
[dev] fix expected results
another strategy to find USB printer serial

closes: #2213