USB scanning and printing broken on focal by ippusbxd (was: hpmud and ippusbxd conflict)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Invalid
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
ippusbxd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
SOLUTION : sudo apt remove ippusbxd
---- Initial report -----
On Ubuntu 20.04 focal (with -proposed enabled). HPLIP=3.20.3.
Previously there was a libmtp (udev) bug erroneously detecting HP printers as mtp devices. This was fixed. Now, I can try to scan-- from both simple-scan and hp-scan, hplip errors out:
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 427: Found interface conf=0, iface=1, altset=0, index=1
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 389: Active kernel driver on interface=1 ret=0
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 515: invalid claim_interface 7/1/2: Device or resource busy
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=1, index=3
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 515: invalid claim_interface 7/1/4: Device or resource busy
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 427: Found interface conf=0, iface=3, altset=0, index=9
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 389: Active kernel driver on interface=3 ret=0
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 515: invalid claim_interface ff/4/1: Device or resource busy
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 427: Found interface conf=0, iface=0, altset=0, index=11
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 389: Active kernel driver on interface=0 ret=0
Apr 05 21:27:37 dani-mbp15 simple-scan[3464]: io/hpmud/musb.c 515: invalid claim_interface ff/cc/0: Device or resource busy
Printer/scanner is an Officejet 4635. Scanning previously worked just fine a few months ago. Regression?
summary: |
- Scanning does not work + Scanning does not work on focal |
summary: |
- Scanning broken on focal --> hpmud and ippusbxd conflict + USB scanning broken on focal --> hpmud and ippusbxd conflict |
summary: |
- USB scanning broken on focal --> hpmud and ippusbxd conflict + USB scanning broken on focal by ippusbxd (was: hpmud and ippusbxd + conflict) |
UPDATE: *found the problem*.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
[17588.183580] usb 2-1.3: new high-speed USB device number 5 using ehci-pci
[17588.216712] usb 2-1.3: New USB device found, idVendor=03f0, idProduct=c611, bcdDevice= 1.00
[17588.216717] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17588.216720] usb 2-1.3: Product: Officejet 4630 series
[17588.216722] usb 2-1.3: Manufacturer: HP
[17588.216724] usb 2-1.3: SerialNumber: CN539571JP05Y0
[17589.319216] usblp 2-1.3:1.1: usblp1: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x03F0 pid 0xC611
[17589.319806] usblp 2-1.3:1.2: usblp2: USB Bidirectional printer dev 5 if 2 alt 0 proto 2 vid 0x03F0 pid 0xC611
[17589.319857] usbcore: registered new interface driver usblp
[17589.515543] usb 2-1.3: usbfs: process 28902 (ippusbxd) did not claim interface 0 before use
[17589.516122] usblp1: removed
[17589.516494] usblp2: removed
-------
Upon plugging in the printer, there is a conflict between hpmud and ippusbxd (enabled by default?). ippusbxd wins, and thus claims the usb interface... blocking hpmud from working.
All I had to do to get scanning working again was `systemctl stop ippusbxd@ (bus):( device) ` and everything works again.
How can this be fixed?