hp-config_usb_printer is trying to configure HP keyboard and mouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After booting the computer (HP Elite 8300) with Ubuntu 13.10 load increases to 1.0. Syslog reports:
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096318] INFO: task hp-config_usb_p:496 blocked for more than 120 seconds.
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096323] "echo 0 > /proc/sys/
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096326] hp-config_usb_p D ffff88021ea54580 0 496 1 0x00000000
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096332] ffff880203de5e10 0000000000000046 ffff880203de5fd8 0000000000014580
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096336] ffff880203de5fd8 0000000000014580 ffff880203db2ee0 ffffffffa03ba040
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096340] ffffffffa03ba044 ffff880203db2ee0 00000000ffffffff ffffffffa03ba048
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096343] Call Trace:
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096360] [<ffffffff816ed
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096364] [<ffffffff816eb
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096369] [<ffffffff816ea
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096375] [<ffffffffa03b7
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096379] [<ffffffff811b9
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096382] [<ffffffff811b9
Jan 7 11:11:09 andrej-saucy kernel: [ 1321.096388] [<ffffffff816f7
There are two processes hp-config_
$ ps -ef | grep hp-
root 492 1 0 10:49 ? 00:00:00 /usr/bin/python /usr/bin/
root 496 1 0 10:49 ? 00:00:00 /usr/bin/python /usr/bin/
Usb device 003:004 is HP Smart Card Terminal keyboard and Usb device 003:005 is HP mouse:
$ lsusb -D /dev/bus/
Device: ID 03f0:0036 Hewlett-Packard
Device Descriptor:
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bcdDevice 1.24
bInterfac
HID Device Descriptor:
bInterfac
HID Device Descriptor:
Device Status: 0x0000
$ lsusb -D /dev/bus/
Device: ID 03f0:0c4a Hewlett-Packard
Device Descriptor:
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bcdDevice 0.00
bInterfac
HID Device Descriptor:
Device Status: 0x0000
After killing both processes load becomes normal.
After modifying /lib/udev/ rules.d/ 56-hpmud. rules to exclude keyboard and mouse problem does not appear anymore:
*** /tmp/56-hpmud.rules 2014-01-07 11:40:08.970600087 +0100 rules.d/ 56-hpmud. rules 2014-01-07 11:36:58.739442543 +0100 =="usb_ dev "hpmud_ usb_rules"
--- /lib/udev/
*************** SUBSYSTEM=="usb", ENV{DEVTYPE}
*** 8,14 ****
LABEL=
# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl =="03f0" , ATTR{idProduct} =="???? ", OWNER="root", GROUP="lp", MODE="0660", ENV{sane_ hpaio}= "yes", ENV{libsane_ matched} ="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
! ATTR{idVendor}
# This rule will add the printer and install plugin test}== "yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@ $env{BUSNUM} :$env{DEVNUM} .service; else /usr/bin/nohup /usr/bin/ hp-config_ usb_printer $env{BUSNUM} :$env{DEVNUM} ; fi'" "hpmud_ usb_rules"
ENV{hp_
--- 8,14 ----
LABEL=
# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl =="03f0" , ATTR{idProduct} !="0036" , ATTR{idProduct} !="0c4a" , ATTR{idProduct} =="???? ", OWNER="root", GROUP="lp", MODE="0660", ENV{sane_ hpaio}= "yes", ENV{libsane_ matched} ="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
! ATTR{idVendor}
# This rule will add the printer and install plugin test}== "yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@ $env{BUSNUM} :$env{DEVNUM} .service; else /usr/bin/nohup /usr/bin/ hp-config_ usb_printer $env{BUSNUM} :$env{DEVNUM} ; fi'"
ENV{hp_