← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1397576] Re: USB printer no longer works (apparmor?)

 

Ran the 'disable' AppArmor cmds, seems fine now... still not working.  saw
a msg about needing some HP1020 driver, upgraded hplip to latest version
for Ubuntu 14.04.  Ran the HP setup (hplip-3.14.10.run) from GUI and it can
not find the printer.
See:
Nov 30 12:01:00 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:01:00 lizW500 hp-setup: io/hpmud/musb.c 2079: invalid product id
string ret=-7
Nov 30 12:01:05 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:01:05 lizW500 hp-setup: io/hpmud/musb.c 2084: invalid serial id
string ret=-7
Nov 30 12:01:10 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:01:10 lizW500 hp-setup: io/hpmud/musb.c 2089: invalid
manufacturer string ret=-7
Nov 30 12:01:10 lizW500 hp-setup: hp-setup[6768]: error: No devices found
on bus: usb
Nov 30 12:01:17 lizW500 kernel: [44201.923218] usb 1-1: USB disconnect,
device number 19
Nov 30 12:01:17 lizW500 udev-configure-printer: remove
/devices/pci0000:00/0000:00:1a.7/usb1/1-1
Nov 30 12:01:17 lizW500 colord: device removed:
sysfs-Hewlett-Packard-HP_LaserJet_1020
Nov 30 12:01:26 lizW500 kernel: [44211.196154] usb 2-2: new high-speed USB
device number 8 using ehci-pci
Nov 30 12:01:41 lizW500 kernel: [44226.308148] usb 2-2: device descriptor
read/64, error -110
Nov 30 12:02:02 lizW500 kernel: [44246.544146] usb 2-2: new high-speed USB
device number 9 using ehci-pci
Nov 30 12:02:02 lizW500 kernel: [44246.696384] usb 2-2: New USB device
found, idVendor=03f0, idProduct=2b17
Nov 30 12:02:02 lizW500 kernel: [44246.696395] usb 2-2: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Nov 30 12:02:02 lizW500 kernel: [44246.696401] usb 2-2: Product: HP
LaserJet 1020
Nov 30 12:02:02 lizW500 kernel: [44246.696407] usb 2-2: Manufacturer:
Hewlett-Packard
Nov 30 12:02:02 lizW500 kernel: [44246.696412] usb 2-2: SerialNumber:
JL3ZJDA
Nov 30 12:02:02 lizW500 kernel: [44246.699635] usblp 2-2:1.0: usblp0: USB
Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Nov 30 12:02:02 lizW500 logger: loading HP Device 002 009
Nov 30 12:02:06 lizW500 kernel: [44251.386312] usblp0: removed
Nov 30 12:02:08 lizW500 colord: Device added:
sysfs-Hewlett-Packard-HP_LaserJet_1020
Nov 30 12:02:00 lizW500 hp-setup: hp-setup[6768]: error: No devices found
on bus: usb
Nov 30 12:02:30 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:02:30 lizW500 hp-setup: io/hpmud/musb.c 2079: invalid product id
string ret=-7
Nov 30 12:02:35 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:02:35 lizW500 hp-setup: io/hpmud/musb.c 2084: invalid serial id
string ret=-7
Nov 30 12:02:40 lizW500 hp-setup: io/hpmud/musb.c 151: unable
get_string_descriptor -7: Resource temporarily unavailable
Nov 30 12:02:40 lizW500 hp-setup: io/hpmud/musb.c 2089: invalid
manufacturer string ret=-7
Nov 30 12:02:40 lizW500 hp-setup: hp-setup[6768]: error: No devices found
on bus: usb

Any suggestions?


On Sun, Nov 30, 2014 at 7:55 AM, Pascal De Vuyst <pascal.devuyst@xxxxxxxxx>
wrote:

> Does deactivating apparmor work, please follow the steps here:
>
> https://wiki.ubuntu.com/DebuggingPrintingProblems#AppArmor_Protection_of_the_printing_system
>
> ** Changed in: cups (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1397576
>
> Title:
>   USB printer no longer works (apparmor?)
>
> Status in cups package in Ubuntu:
>   Incomplete
>
> Bug description:
>   # cat /etc/os-release
>   NAME="Ubuntu"
>   VERSION="14.04.1 LTS, Trusty Tahr"
>   ID=ubuntu
>   ID_LIKE=debian
>   PRETTY_NAME="Ubuntu 14.04.1 LTS"
>   VERSION_ID="14.04"
>
>   HW is:
>   Manufacturer: LENOVO
>   Product Name: 4061-AC4
>   Version: ThinkPad W500
>   4 GB RAM, 250 GB disk (7% used)
>
>
>   usb printing to an HP1020 stopped working after applying all updates
> with apt-get upgrade.  Jobs get queued, but status indicates device never
> comes online.  Testpage won't even print now.
>
>   I suspect:
>   184 -rw-r--r-- 1 root root 184556 Sep  8 10:24
> cups_1.7.2-0ubuntu1.2_amd64.deb
>   312 -rw-r--r-- 1 root root 318794 Nov 20 15:43
> apparmor_2.8.95~2430-0ubuntu5.1_amd64.deb
>
>   I see several reports of problems with apparmor, from my syslog:
>
>   Nov 29 12:35:01 eW500 python: io/hpmud/musb.c 2085: invalid serial id
> string ret=-7
>   Nov 29 12:35:05 eW500 kernel: [ 2521.005901] type=1400
> audit(1417282505.501:112): apparmor="DENIED" operation="signal"
> profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced"
> requested_mask="send" denied_mask="send" signal=term peer="unconfined"
>   Nov 29 12:35:05 eW500 kernel: [ 2521.005923] type=1400
> audit(1417282505.501:113): apparmor="DENIED" operation="signal"
> profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced"
> requested_mask="send" denied_mask="send" signal=term peer="unconfined"
>   Nov 29 12:35:05 eW500 kernel: [ 2521.008337] type=1400
> audit(1417282505.501:114): apparmor="DENIED" operation="signal"
> profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send"
> denied_mask="send" signal=term peer="unconfined"
>   Nov 29 12:35:05 eW500 kernel: [ 2521.008354] type=1400
> audit(1417282505.501:115): apparmor="DENIED" operation="signal"
> profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send"
> denied_mask="send" signal=term peer="unconfined"
>   Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 150: unable
> get_string_descriptor -7: Resource temporarily unavailable
>   Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 2090: invalid
> manufacturer string ret=-7
>   Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 150: unable
> get_string_descriptor -7: Resource temporarily unavailable
>   Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 2090: invalid manufacturer
> string ret=-7
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1397576/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1397576

Title:
  USB printer no longer works (apparmor?)

Status in cups package in Ubuntu:
  Incomplete

Bug description:
  # cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="14.04.1 LTS, Trusty Tahr"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 14.04.1 LTS"
  VERSION_ID="14.04"

  HW is:
  Manufacturer: LENOVO
  Product Name: 4061-AC4
  Version: ThinkPad W500
  4 GB RAM, 250 GB disk (7% used)

  
  usb printing to an HP1020 stopped working after applying all updates with apt-get upgrade.  Jobs get queued, but status indicates device never comes online.  Testpage won't even print now.

  I suspect:
  184 -rw-r--r-- 1 root root 184556 Sep  8 10:24 cups_1.7.2-0ubuntu1.2_amd64.deb
  312 -rw-r--r-- 1 root root 318794 Nov 20 15:43 apparmor_2.8.95~2430-0ubuntu5.1_amd64.deb

  I see several reports of problems with apparmor, from my syslog:

  Nov 29 12:35:01 eW500 python: io/hpmud/musb.c 2085: invalid serial id string ret=-7
  Nov 29 12:35:05 eW500 kernel: [ 2521.005901] type=1400 audit(1417282505.501:112): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.005923] type=1400 audit(1417282505.501:113): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.008337] type=1400 audit(1417282505.501:114): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.008354] type=1400 audit(1417282505.501:115): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
  Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 2090: invalid manufacturer string ret=-7
  Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
  Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 2090: invalid manufacturer string ret=-7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1397576/+subscriptions


References