20.04 usb printing problem HP Envy 5640

Bug #1876704 reported by gja
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

USB printing worked fine with 18.04.
After upgrade to 20.04 printer appears multiple times.

Some data in this thread: NOT solved for USB:
https://ubuntuforums.org/showthread.php?t=2442142

https://wiki.ubuntu.com/DebuggingPrintingProblems#USB_printer
Just noticed this in syslog while following debugging thread:

May 4 12:23:46 gja-desktop root: loading HP Device 002 012
May 4 12:23:47 gja-desktop python3: io/hpmud/musb.c 2189: [7538] hpmud_make_usb_uri() bus=002 dev=012
May 4 12:23:47 gja-desktop python3: io/hpmud/musb.c 2287: hpmud_make_usb_uri() uri=hp:/usb/ENVY_5640_series?serial=TH66P9W21D05ZC bytes_read=46
May 4 12:23:47 gja-desktop systemd[1]: Starting Daemon to make IPP-over-USB printers available as network printers (002:012)...
May 4 12:23:47 gja-desktop systemd[1]: Started Daemon to make IPP-over-USB printers available as network printers (002:012).
May 4 12:23:53 gja-desktop colord-sane: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied

There seems to be a permission error.

Thanks for looking into this.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CupsErrorLog:
 W [04/May/2020:12:15:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-5640-Gray..\' already exists
 W [04/May/2020:12:15:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-5640-RGB..\' already exists
 E [04/May/2020:12:18:00 +0200] [Job 51] Job held by \"gja\".
 E [04/May/2020:12:18:01 +0200] [Job 52] Job held by \"gja\".
 E [04/May/2020:12:23:07 +0200] [Job 51] Stopping unresponsive job.
CurrentDesktop: ubuntu:GNOME
Date: Mon May 4 12:26:02 2020
InstallationDate: Installed on 2020-02-22 (72 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Lpstat: device for ENVY-5640: hp:/usb/ENVY_5640_series?serial=TH66P9W21D05ZC
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/ENVY-5640.ppd'] failed with exit code 2: grep: /etc/cups/ppd/ENVY-5640.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic root=UUID=7d1dd584-c6b2-4d9c-b32c-8e58889d3049 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: Upgraded to focal on 2020-04-25 (8 days ago)
dmi.bios.date: 10/19/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.00
dmi.board.name: FM2A85X Extreme4-M
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.00:bd10/19/2012:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnFM2A85XExtreme4-M:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
gja (geertjacobs) wrote :
Revision history for this message
gja (geertjacobs) wrote :

Found a solution on German forum:
https://forum.ubuntuusers.de/topic/h...oblem-unter/4/

Apparently ippusbxd causes problems and can simply be removed to make the printer work again.

I used:
sudo apt purge ippusbxd

Revision history for this message
gja (geertjacobs) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.