[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-30 Thread Bug Watch Updater
** Changed in: libmtp (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in Ubuntu. https://bugs.launchpad.net/bugs/1863239 Title: /dev/bus/usb/*/* device file of HP multi-function

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-26 Thread Launchpad Bug Tracker
This bug was fixed in the package libmtp - 1.1.17-2ubuntu1 --- libmtp (1.1.17-2ubuntu1) focal; urgency=medium * In 69-libmtp.rules skip all printers, including some weird ones from HP as some test positive on mtp-probe (LP: #1863239). -- Till Kamppeter Sat, 21 Mar 2020

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-26 Thread Mathew Hodson
** No longer affects: pulseaudio (Ubuntu) ** No longer affects: systemd (Ubuntu) ** No longer affects: udev (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in Ubuntu. https://bugs.launchpad.net/bugs/1863239 Title:

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-25 Thread Till Kamppeter
Also reported to Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954885 ** Bug watch added: Debian Bug tracker #954885 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954885 ** Also affects: libmtp (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954885

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-21 Thread Till Kamppeter
Attached debdiff fixes this bug in the libmtp package, applying effectively the patch of the previous comment. ** Patch added: "libmtp_1.1.17-2_1.1.17-2ubuntu1.debdiff"

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
Correction for the patch, please use this one. ** Patch added: "69-libmtp.rules.patch" https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1863239/+attachment/5339060/+files/69-libmtp.rules.patch -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
The attached patch would fix this bug. It adds two rules to skip printers. The second skips all kinds of printers by checking whether the standard interface of a printer is present in the USB device. The first skips HP printers, it is the same rule as HPLIP uses. I have added it because it covers

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
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

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
** Tags added: rls-ff-incoming -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in Ubuntu. https://bugs.launchpad.net/bugs/1863239 Title: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
Now I tried to investigate from which UDEV rule the wrong setting comes from. First I searched all UDEV rules for the word "audio": till@till-x1yoga:~$ grep -l '\baudio\b' /*/udev/rules.d/*.rules /lib/udev/rules.d/50-udev-default.rules /lib/udev/rules.d/60-persistent-v4l.rules

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-19 Thread Till Kamppeter
Attached is the output of sudo udevadm monitor -e Output of lsusb: till@till-x1yoga:~$ 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.

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-17 Thread Dimitri John Ledkov
Please provide the udevadm database dump about the device in question a) when it has correct group b) when it does not. ** Changed in: udev (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-17 Thread Dimitri John Ledkov
pulseaudio doesn't ship any udev rules that change group permissions of devices. Plus it doesn't run as root, but as an unprivileged user. ** Changed in: pulseaudio (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Desktop Packages, which

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-17 Thread Dimitri John Ledkov
udev source package is obsolete and is not used since precise. ** Changed in: systemd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in Ubuntu. https://bugs.launchpad.net/bugs/1863239

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-17 Thread Till Kamppeter
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. -- You received this bug notification because you are

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-03-13 Thread Till Kamppeter
** 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 -- You received this bug notification

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-02-16 Thread Daniel van Vugt
** Tags added: focal -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libmtp in Ubuntu. https://bugs.launchpad.net/bugs/1863239 Title: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group Status in

[Desktop-packages] [Bug 1863239] Re: /dev/bus/usb/*/* device file of HP multi-function printer assigned to "audio" group

2020-02-14 Thread Till Kamppeter
** Changed in: systemd (Ubuntu) Milestone: None => ubuntu-20.04 ** Changed in: pulseaudio (Ubuntu) Milestone: None => ubuntu-20.04 ** Also affects: libmtp (Ubuntu) Importance: Undecided Status: New ** Changed in: libmtp (Ubuntu) Milestone: None => ubuntu-20.04 ** Changed