/dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmtp (Debian) |
Fix Released
|
Unknown
|
|||
libmtp (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When testing HPLIP I found out that CUPS backends can access my printer only when they are running as root, when they are running as the special user lp, as it is usually the case, they cannot access the printer.
So I tried to find out why and saw that the /dev/bus/usb/*/* device file for the printer has group ownership "audio" and not "lp":
till@till-
crw-rw-r-- 1 root root 189, 0 Feb 11 14:17 /dev/bus/
crw-rw-r-- 1 root root 189, 2 Feb 11 14:17 /dev/bus/
crw-rw-r-- 1 root root 189, 3 Feb 11 14:17 /dev/bus/
crw-rw-r-- 1 root plugdev 189, 4 Feb 14 12:23 /dev/bus/
crw-rw-r-- 1 root root 189, 5 Feb 11 14:17 /dev/bus/
crw-rw----+ 1 root audio 189, 62 Feb 14 12:37 /dev/bus/
crw-rw-r-- 1 root root 189, 128 Feb 11 14:17 /dev/bus/
crw-rw-r-- 1 root root 189, 130 Feb 13 09:38 /dev/bus/
till@till-
The printer is the device /dev/bus/
till@till-
Bus 002 Device 003: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 138a:0097 Validity Sensors, Inc.
Bus 001 Device 004: ID 04f2:b5ce Chicony Electronics Co., Ltd Integrated Camera
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 006: ID 056a:50b7 Wacom Co., Ltd Pen and multitouch sensor
Bus 001 Device 063: ID 03f0:7a12 HP, Inc HP OfficeJet Pro 8730
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
till@till-
There must be a bug somewhere in the UDEV rules.
description: | updated |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in pulseaudio (Ubuntu): | |
importance: | Undecided → High |
Changed in systemd (Ubuntu): | |
milestone: | none → ubuntu-20.04 |
Changed in pulseaudio (Ubuntu): | |
milestone: | none → ubuntu-20.04 |
Changed in libmtp (Ubuntu): | |
milestone: | none → ubuntu-20.04 |
importance: | Undecided → High |
tags: | added: focal |
Changed in libmtp (Ubuntu): | |
importance: | High → Critical |
Changed in pulseaudio (Ubuntu): | |
importance: | High → Critical |
Changed in systemd (Ubuntu): | |
importance: | High → Critical |
Changed in udev (Ubuntu): | |
importance: | High → Critical |
tags: | added: rls-ff-incoming |
no longer affects: | pulseaudio (Ubuntu) |
no longer affects: | systemd (Ubuntu) |
no longer affects: | udev (Ubuntu) |
Changed in libmtp (Debian): | |
status: | Unknown → Fix Released |
An additional remark:
If a Focal system is booted with the printer plugged in and turned on, the group ownership gets correctly set to "lp", but if the printer is only plugged in and/or turned on after boot, it gets "audio" group ownership.