HP-LaserJet-Professional-P1102 furcation

Bug #1753541 reported by Bill Williamson on 2018-03-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Afshan F

Bug Description

After installing one HP-LaserJet-Professional-P1102 printer when you reconnect the USB cable, a duplicate printer appears. Video for clarity: https://youtu.be/I9ghURfr9dE
hplip: 3.16.11+repack0-3
cups: 2.2.1-8

summary: - hplip
+ HP-LaserJet-Professional-P1102 furcation
brian_p (claremont102) wrote :

Please provide the output of 'lpstat -t' when the two print queues show.

Cheers,

Brian.

Bill Williamson (williamson007) wrote :

lpstat -t
планировщик запущен
назначение системы по умолчанию: HP-LaserJet-Professional-P1102
устройство для HP-LaserJet-Professional-P1102: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCSI1c
устройство для HP-LaserJet-Professional-P1102-2: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCPR1a
устройство для PDF: cups-pdf:/
HP-LaserJet-Professional-P1102 принимает запросы с момента Вт 06 мар 2018 21:51:16
HP-LaserJet-Professional-P1102-2 принимает запросы с момента Вс 04 мар 2018 20:45:36
PDF принимает запросы с момента Вс 25 фев 2018 04:51:28
принтер HP-LaserJet-Professional-P1102 свободен. Включен с момента Вт 06 мар 2018 21:51:16
принтер HP-LaserJet-Professional-P1102-2 отключен с момента Вс 04 мар 2018 20:45:36 -
 Unplugged or turned off
принтер PDF свободен. Включен с момента Вс 25 фев 2018 04:51:28

Translate version:
LC_ALL=en_US.UTF-8 lpstat -t
scheduler is running
system default destination: HP-LaserJet-Professional-P1102
device for HP-LaserJet-Professional-P1102: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCSI1c
device for HP-LaserJet-Professional-P1102-2: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCPR1a
device for PDF: cups-pdf:/
HP-LaserJet-Professional-P1102 accepting requests since Tue Mar 6 21:52:07 2018
HP-LaserJet-Professional-P1102-2 accepting requests since Tue Mar 6 21:52:14 2018
PDF accepting requests since Sun Feb 25 04:51:28 2018
printer HP-LaserJet-Professional-P1102 disabled since Tue Mar 6 21:52:07 2018 -
 Unplugged or turned off
printer HP-LaserJet-Professional-P1102-2 is idle. enabled since Tue Mar 6 21:52:14 2018
printer PDF is idle. enabled since Sun Feb 25 04:51:28 2018

Afshan F (afshan) wrote :

Hi Bill,

Please use HPLIP latest driver and check whether you are still facing the duplicate printer issue . You can download 3.17.11 HPLIP Driver from the below link provided:

https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

Thanks,
Afshan

Changed in hplip:
assignee: nobody → Afshan F (afshan)
status: New → In Progress
brian_p (claremont102) wrote :

There is a single device but the URIs of the two queues have two serial numbers. 000000000Q87Q2ZCSI1c and 000000000Q87Q2ZCPR1a. I wonder how that comes about and which one is the real one for the printer?

Get the Bus and Device of the printer from 'lsusb' and do 'lsusb -D /dev/bus/usb/<Bus>/<Device> | grep iSerial'. Assume this is the real serial number and delete the other queue with 'lpadmin -x <other_queue_name>. How do you go on now?

Cheers,

Brian.

Bill Williamson (williamson007) wrote :

Hi, Afshan F.
"error: debian-9.3 version is not supported, so all dependencies may not be installed. However trying to install using debian-9.1 version packages."
I would not want to risk not the future is confident that this will solve my problem.

Bill Williamson (williamson007) wrote :

After my attempts to update hplip and return to the original state:
LC_ALL=en_US.UTF-8 lpstat -t
scheduler is running
system default destination: HP-LaserJet-Professional-P1102
device for HP-LaserJet-Professional-P1102: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCSI1c
device for HP-LaserJet-Professional-P1102-2: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCPR1a
device for PDF: cups-pdf:/
HP-LaserJet-Professional-P1102 accepting requests since Wed Mar 7 20:07:49 2018
HP-LaserJet-Professional-P1102-2 accepting requests since Wed Mar 7 20:08:05 2018
PDF accepting requests since Sun Feb 25 04:51:28 2018
printer HP-LaserJet-Professional-P1102 disabled since Wed Mar 7 20:07:49 2018 -
 Unplugged or turned off
printer HP-LaserJet-Professional-P1102-2 is idle. enabled since Wed Mar 7 20:08:05 2018
printer PDF is idle. enabled since Sun Feb 25 04:51:28 2018

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
Bus 001 Device 002: ID 5986:1111 Acer, Inc
Bus 001 Device 006: ID 03f0:002a Hewlett-Packard LaserJet P1102
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -D /dev/bus/usb/001/006 | grep iSerial
  iSerial 3 000000000Q87Q2ZCPR1a

lpadmin -x HP-LaserJet-Professional-P1102

The printer 000000000Q87Q2ZCSI1c is deleted, but is added again when reconnected.

LC_ALL=en_US.UTF-8 lpstat -t
scheduler is running
system default destination: HP-LaserJet-Professional-P1102
device for HP-LaserJet-Professional-P1102: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCSI1c
device for HP-LaserJet-Professional-P1102-2: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q87Q2ZCPR1a
device for PDF: cups-pdf:/
HP-LaserJet-Professional-P1102 accepting requests since Wed Mar 7 20:21:39 2018
HP-LaserJet-Professional-P1102-2 accepting requests since Wed Mar 7 20:21:46 2018
PDF accepting requests since Sun Feb 25 04:51:28 2018
printer HP-LaserJet-Professional-P1102 disabled since Wed Mar 7 20:21:39 2018 -
 Unplugged or turned off
printer HP-LaserJet-Professional-P1102-2 is idle. enabled since Wed Mar 7 20:21:46 2018
printer PDF is idle. enabled since Sun Feb 25 04:51:28 2018

brian_p (claremont102) wrote :

The serial number of the printer is surely given by iSerial 3 000000000Q87Q2ZCPR1a. Is this shown in the URI for the HP-LaserJet-Professional-P1102 queue when it is the only print queue shown by system-config printer and 'lpstat -t'?

I ask because, when the second print queue appears the serial number of the the HP-LaserJet-Professional-P1102 queue appears to change. The queue also becomes disabled. Where 000000000Q87Q2ZCSI1c comes from is still a mystery.

Which OS do you use? Are you using GNOME?

Cheers,

Brian.

Bill Williamson (williamson007) wrote :

LC_ALL=en_US.UTF-8 inxi -Fxz
System: Host: debian Kernel: 4.9.0-6-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.30)
           Distro: Debian GNU/Linux 9 (stretch)
Machine: Device: laptop System: ICL product: RAYbook Bi1010
           Mobo: Notebook model: W51PU
           UEFI: American Megatrends v: 5.12 date: 04/05/2017
Battery BAT0: charge: 26.8 Wh 100.0% condition: 26.8/28.0 Wh (96%)
           model: Notebook BAT status: Full
CPU: Quad core Intel Celeron N3450 (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 8755
           clock speeds: max: 2200 MHz 1: 1508 MHz 2: 1295 MHz 3: 1399 MHz
           4: 1206 MHz
Graphics: Card: Intel Device 5a85 bus-ID: 00:02.0
           Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 500 (Broxton 2x6)
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Audio: Card Intel Atom/Celeron/Pentium Processor N4200/N3350/E3900 Series Audio Cluster
           driver: snd_hda_intel bus-ID: 00:0e.0
           Sound: Advanced Linux Sound Architecture v: k4.9.0-6-amd64
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 01:00.1
           IF: enp1s0f1 state: down mac: <filter>
           Card-2: Intel Device 24fb driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up speed: N/A duplex: N/A mac: <filter>
Drives: HDD Total Size: 500.1GB (19.7% used)
           ID-1: /dev/sda model: HGST_HTS545050B7 size: 500.1GB
Partition: ID-1: / size: 28G used: 8.3G (32%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 189G used: 1.7G (1%) fs: ext4 dev: /dev/sda7
           ID-3: swap-1 size: 4.12GB used: 0.19GB (5%) fs: swap dev: /dev/sda6
Sensors: System Temperatures: cpu: 55.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info: Processes: 173 Uptime: 4:51 Memory: 1054.2/3788.7MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (zsh 5.3.1) inxi: 2.3.5

Bill Williamson (williamson007) wrote :

I also have a second laptop with the installed OS Arсhlinux. There such is not observed, there does not work at all autoaddition of the printer. I would be glad of such a decision and in Debian.

brian_p (claremont102) wrote :

I can now reproduce your observations.

Delete all print queues and do 'apt purge system-config-printer-udev. Setup the queue again with hp-setup.

Or do not purge system-config-printer-udev but do not set a queue with hp-setup.

Or leave things as they are and use the queue with a tick against it. No harm will come from doing this.

There is no bug in hplip.

Cheers,

Brian.

Many thanks to brian_p! The solution with the removal of system-config-printer-udev solved my problem in Debian!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers