2020-02-14 11:49:03 |
Till Kamppeter |
bug |
|
|
added bug |
2020-02-14 11:50:17 |
Till Kamppeter |
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-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$ ll /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Feb 11 14:17 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 Feb 11 14:17 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 3 Feb 11 14:17 /dev/bus/usb/001/004
crw-rw-r-- 1 root plugdev 189, 4 Feb 14 12:23 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 5 Feb 11 14:17 /dev/bus/usb/001/006
crw-rw----+ 1 root audio 189, 62 Feb 14 12:37 /dev/bus/usb/001/063
crw-rw-r-- 1 root root 189, 128 Feb 11 14:17 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 130 Feb 13 09:38 /dev/bus/usb/002/003
till@till-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$
There must be a bug somewhere in the UDEV rules. |
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-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$ ll /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 Feb 11 14:17 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 2 Feb 11 14:17 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 3 Feb 11 14:17 /dev/bus/usb/001/004
crw-rw-r-- 1 root plugdev 189, 4 Feb 14 12:23 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 5 Feb 11 14:17 /dev/bus/usb/001/006
crw-rw----+ 1 root audio 189, 62 Feb 14 12:37 /dev/bus/usb/001/063
crw-rw-r-- 1 root root 189, 128 Feb 11 14:17 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 130 Feb 13 09:38 /dev/bus/usb/002/003
till@till-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$
The printer is the device /dev/bus/usb/001/063:
till@till-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$ lsusb
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-x1yoga:~/ubuntu/hplip/focal/debian/hplip-3.19.12+dfsg0$
There must be a bug somewhere in the UDEV rules. |
|
2020-02-14 11:51:27 |
Till Kamppeter |
bug task added |
|
systemd (Ubuntu) |
|
2020-02-14 11:51:37 |
Till Kamppeter |
systemd (Ubuntu): importance |
Undecided |
High |
|
2020-02-14 11:51:51 |
Till Kamppeter |
bug task added |
|
pulseaudio (Ubuntu) |
|
2020-02-14 11:51:58 |
Till Kamppeter |
pulseaudio (Ubuntu): importance |
Undecided |
High |
|
2020-02-14 12:03:23 |
Till Kamppeter |
systemd (Ubuntu): milestone |
|
ubuntu-20.04 |
|
2020-02-14 12:03:26 |
Till Kamppeter |
pulseaudio (Ubuntu): milestone |
|
ubuntu-20.04 |
|
2020-02-14 12:03:45 |
Till Kamppeter |
bug task added |
|
libmtp (Ubuntu) |
|
2020-02-14 12:03:52 |
Till Kamppeter |
libmtp (Ubuntu): milestone |
|
ubuntu-20.04 |
|
2020-02-14 12:03:57 |
Till Kamppeter |
libmtp (Ubuntu): importance |
Undecided |
High |
|
2020-02-17 02:04:50 |
Daniel van Vugt |
tags |
|
focal |
|
2020-03-13 21:54:02 |
Till Kamppeter |
libmtp (Ubuntu): importance |
High |
Critical |
|
2020-03-13 21:54:06 |
Till Kamppeter |
pulseaudio (Ubuntu): importance |
High |
Critical |
|
2020-03-13 21:54:09 |
Till Kamppeter |
systemd (Ubuntu): importance |
High |
Critical |
|
2020-03-13 21:54:13 |
Till Kamppeter |
udev (Ubuntu): importance |
High |
Critical |
|
2020-03-17 17:23:17 |
Dimitri John Ledkov |
udev (Ubuntu): status |
New |
Invalid |
|
2020-03-17 17:24:05 |
Dimitri John Ledkov |
systemd (Ubuntu): status |
New |
Incomplete |
|
2020-03-17 17:25:30 |
Dimitri John Ledkov |
pulseaudio (Ubuntu): status |
New |
Invalid |
|
2020-03-19 18:04:16 |
Till Kamppeter |
attachment added |
|
udevadm-monitor-e-plug-hp-officejet-pro-8730-20200319-log.txt https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1863239/+attachment/5338953/+files/udevadm-monitor-e-plug-hp-officejet-pro-8730-20200319-log.txt |
|
2020-03-19 18:25:43 |
Till Kamppeter |
systemd (Ubuntu): status |
Incomplete |
Invalid |
|
2020-03-19 18:25:57 |
Till Kamppeter |
libmtp (Ubuntu): status |
New |
Confirmed |
|
2020-03-19 18:38:52 |
Till Kamppeter |
tags |
focal |
focal rls-ff-incoming |
|
2020-03-19 20:14:36 |
Till Kamppeter |
attachment added |
|
69-libmtp.rules.patch https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1863239/+attachment/5339056/+files/69-libmtp.rules.patch |
|
2020-03-19 20:15:18 |
Till Kamppeter |
tags |
focal rls-ff-incoming |
focal patch rls-ff-incoming |
|
2020-03-19 20:37:47 |
Till Kamppeter |
attachment added |
|
69-libmtp.rules.patch https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1863239/+attachment/5339060/+files/69-libmtp.rules.patch |
|
2020-03-21 18:25:16 |
Till Kamppeter |
attachment added |
|
libmtp_1.1.17-2_1.1.17-2ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1863239/+attachment/5339786/+files/libmtp_1.1.17-2_1.1.17-2ubuntu1.debdiff |
|
2020-03-21 18:25:35 |
Till Kamppeter |
libmtp (Ubuntu): status |
Confirmed |
Fix Committed |
|
2020-03-21 18:25:48 |
Till Kamppeter |
libmtp (Ubuntu): status |
Fix Committed |
In Progress |
|
2020-03-21 18:26:07 |
Till Kamppeter |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2020-03-25 13:59:44 |
Till Kamppeter |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954885 |
|
2020-03-25 14:00:29 |
Till Kamppeter |
bug task added |
|
libmtp (Debian) |
|
2020-03-26 06:02:08 |
Mathew Hodson |
bug task deleted |
pulseaudio (Ubuntu) |
|
|
2020-03-26 06:02:15 |
Mathew Hodson |
bug task deleted |
systemd (Ubuntu) |
|
|
2020-03-26 06:02:20 |
Mathew Hodson |
bug task deleted |
udev (Ubuntu) |
|
|
2020-03-26 13:00:59 |
Launchpad Janitor |
libmtp (Ubuntu): status |
In Progress |
Fix Released |
|
2020-03-31 00:07:01 |
Bug Watch Updater |
libmtp (Debian): status |
Unknown |
Fix Released |
|