There was already a measure against wrongly identifying HP printers as
media players, but it is a rather dirty workaround which does not work
any more (therefore this bug). The rule in the end of 69-libmtp.rules
checks the absence of the env variable libsane_matched and this variable
is set for all HP printers by HPLIP. First, this rule fails miserably if
HPLIP is not installed, and I cannot imagine that the libmtp package
depends on HPLIP only to identify unsupported devices. Also the libmtp
rules are applied for both "add" and "bind" actions, whereas the rules
of HPLIP (56-hpmud.rules) are only applied for "add" and so the bug
happens on a "bind" action, here the HPLIP rules do not set said env
variable and so the libmtp rules probe the HP printers.

One can theoretically work around this problem by mucking with the UDEV
rules of HPLIP, but this is a REALLY DIRTY workaround, so please DO NOT
add an hplip task to this bug report.

In addition, HPLIP will not be installed by default any more in the not
too far future, as prnting and scanning will get snapped. Also we want
printer driver Snaps (Printer Applications) not to run as root if
possible, so we need to be sure that USB printer device files always
belong to the group "lp" for all printer manufacturers and without
HPLIP.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863239

Title:
  /dev/bus/usb/*/* device file of HP multi-function printer assigned to
  "audio" group

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1863239/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to