Ubuntu 22.04 - HP 107a USB printer not recognized

Bug #1970055 reported by Gábor Márián
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ipp-usb (Ubuntu)
New
Undecided
Till Kamppeter

Bug Description

In Ubuntu 22.04 after plugging in an HP 107a printer it is neither automatically recognized, nor appearing in the list of printers that can be added ( Settings > Printers > Add Printer ).

Following the instructions described in wiki DebuggingPrintingProblems and checking /var/log/syslog after plugging in the printer I found the following entries:
Apr 23 20:22:40 gillette kernel: [ 2326.741264] usb 2-2: new high-speed USB device number 9 using xhci_hcd
Apr 23 20:22:40 gillette kernel: [ 2326.890843] usb 2-2: New USB device found, idVendor=03f0, idProduct=e82a, bcdDevice= 1.00
Apr 23 20:22:40 gillette kernel: [ 2326.890858] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 23 20:22:40 gillette kernel: [ 2326.890864] usb 2-2: Product: HP Laser 107a
Apr 23 20:22:40 gillette kernel: [ 2326.890869] usb 2-2: Manufacturer: HP Inc.
Apr 23 20:22:40 gillette kernel: [ 2326.890873] usb 2-2: SerialNumber: XXXXXXXX
Apr 23 20:22:40 gillette kernel: [ 2326.895145] usblp 2-2:1.0: usblp2: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0xE82A
Apr 23 20:22:40 gillette root: loading HP Device 002 009
Apr 23 20:22:40 gillette python3: io/hpmud/musb.c 2189: [14608] hpmud_make_usb_uri() bus=002 dev=009
Apr 23 20:22:40 gillette python3: io/hpmud/musb.c 2287: hpmud_make_usb_uri() uri=hp:/usb/HP_Laser_107a?serial=XXXXXXXX bytes_read=39
Apr 23 20:22:41 gillette hp-config_usb_printer: hp-config_usb_printer[14608]: error: This is not a valid device
Apr 23 20:22:41 gillette systemd[1]: Started Daemon for IPP over USB printer support.
Apr 23 20:22:41 gillette kernel: [ 2327.130657] usblp2: removed
Apr 23 20:22:42 gillette colord-sane: io/hpmud/musb.c 2101: Invalid usb_open: Permission denied

lsusb detects the printer properly:
Bus 002 Device 009: ID 03f0:e82a HP, Inc HP Laser 107a

Result of ls -l /dev/usb/lp*:
ls: cannot access '/dev/usb/lp*': No such file or directory

The same printer works properly in Ubuntu 20.04.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ipp-usb 0.9.20-1
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 23 20:26:05 2022
InstallationDate: Installed on 2022-04-23 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: ipp-usb
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gábor Márián (gabmarian) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ipp-usb (Ubuntu):
status: New → Confirmed
Revision history for this message
gg (geomix7) wrote :

same issue. any update?

Changed in ipp-usb (Ubuntu):
assignee: nobody → Till Kamppeter (till-kamppeter)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Could you run the command

driverless

and post the output here?

Could you also run the command

sudo lsusb -vvv > lsusb-out.txt

and attach lsusb-out.txt?

Do not compress the file before attaching it. Thanks.

Also have a look at

https://github.com/OpenPrinting/ipp-usb/issues/48

and check instructions/give comments there. The problem is similar and the original author of ipp-usb is working on a solution with the poster of this issue.

Changed in ipp-usb (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
gg (geomix7) wrote :

> driverless commands does not provide any output
> sudo lsusb -vvv > lsusb-out.txt
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable

My device data are:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy

$ apt-cache madison ipp-usb
   ipp-usb | 0.9.20-1 | http://cy.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
$ apt policy cups ipp-usb hplip
cups:
  Installed: 2.4.1op1-1ubuntu4
  Candidate: 2.4.1op1-1ubuntu4
  Version table:
 *** 2.4.1op1-1ubuntu4 500
        500 http://cy.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
ipp-usb:
  Installed: 0.9.20-1
  Candidate: 0.9.20-1
  Version table:
 *** 0.9.20-1 500
        500 http://cy.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
hplip:
  Installed: 3.21.12+dfsg0-1
  Candidate: 3.21.12+dfsg0-1
  Version table:
 *** 3.21.12+dfsg0-1 500
        500 http://cy.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Any advice?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Could you run the command

sudo lsusb -vvv > lsusb-out.txt

again, and even if it produces error messages attach the lsusb-out.txt file to this bug report?

Thanks.

Revision history for this message
gg (geomix7) wrote :

Hello ,

Yes please find attached.

Thanks

Revision history for this message
Ronald (ronaldusvd) wrote (last edit ):

It is originally a rebranded Samsung printer.

To install the printer in 22.04 (I have 2 HP Laser 107a printers on different desktops):

sudo apt purge ipp-usb
(=for 22.04)(for 20.04: sudo apt purge ippusbxd)

wget https://ftp.hp.com/pub/softlib/software13/printers/CLP150/uld-hp_V1.00.39.12_00.15.tar.gz

tar -xvf uld-hp_V1.00.39.12_00.15.tar.gz

cd uld/

sudo ./install.sh
(Make the terminal big, keep pressing the Enter-key. Not to fast, you have to accept the licence + you heve to accept the firewall exception for the printer.)

After that, power on the printer, go to the printsettings and add the printer.

Revision history for this message
Ronald (ronaldusvd) wrote :
Changed in ipp-usb (Ubuntu):
status: Incomplete → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I will escalate this to the author of ipp-usb, Alexander Pevzner. He will either find a solution or add a quirk rule for this printer not fulfilling the driverless printing standards properly.

Did you try whether you can do driverless printing when connecting your printer via the network (Ethernet or Wi-Fi)?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Alexander, can you have a look into this and work out a solution with the users?

The printer in question here is a re-branded Samsung, from the acquisition of Samsung's printer section by HP. Note that it is named "HP Laser ..." and not "HP LaserJet ...". It also has only 2 7/1/4 channels and not 3 as actual HP printers.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Mentioned this issue also in upstream discussion on ipp-usb:

https://github.com/OpenPrinting/ipp-usb/issues/50

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Alexander, as ipp-usb starts to communicate with the printer as soon as it attaches to it, you could perhaps add a mechanism that somehow finds out whether the printer is actually driverless or not, and if not, unattach ipp-usb immediately to give way for classic access (CUPS backend or Printer Application).

Revision history for this message
Alexander Pevzner (pzz) wrote :

Looks like bug, investigated here:

https://github.com/alexpevzner/sane-airscan/issues/68

To be sure, please attach here the ipp-usb logs. These log files are located at /var/log/ipp-usb/

If this is the same situation, the only one thing that I can do is to blacklist this device in the ipp-usb, so ipp-usb will not conflict with legacy drivers

Revision history for this message
Ronald (ronaldusvd) wrote :
Revision history for this message
Ronald (ronaldusvd) wrote :
Revision history for this message
Alexander Pevzner (pzz) wrote :

Thanks, Ronald,

yes, this is exactly the same story as with HP Inc. HP Laser MFP 135a.

I've added your device to the blacklist, and you will receive this change with the next release. For now, you can add by yourself the following lines to the /usr/share/ipp-usb/quirks/blacklist.conf file:

[HP Inc. HP Laser 107a]
  blacklist = true

Just for records, the corresponding issue in the ipp-usb project located here:

https://github.com/OpenPrinting/ipp-usb/issues/51

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.