[Desktop-packages] [Bug 827196] Re: HP LaserJet P1102, hp backend failed, open device failed stat=12

2018-10-12 Thread gf
Hello Gard,
Thank you for submitting this bug and reporting a problem with the hplip 
package.  You made this bug report in 2011 and Ubuntu and hplip have been 
updated since then. 

Could you confirm that this is no longer a problem and that we can close the 
ticket? 
If it is still a problem, are you still interested in finding a solution to 
this bug? 
If you are, could you let us know and, in the current version, could you run 
the following (only once):
apport-collect 827196
and upload the updated logs and and any other logs that are relevant for this 
particular issue. 

Thank you again for helping make Ubuntu better. 
G
[Ubuntu Bug Squad volunteer triager]

** Changed in: hplip (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/827196

Title:
  HP LaserJet P1102, hp backend failed, open device failed stat=12

Status in HPLIP:
  In Progress
Status in hplip package in Ubuntu:
  Incomplete

Bug description:
  HP LaserJet P1102

  Hi, yesterday I successfully installed the printer on the server Debian, it 
worked, I hooked up the Linux client and windwos-clients, everything worked 
fine. Worked as long as I'm not pressed the power button on the printer. I 
turned off and turned on the printer and printer lost. I have error in cups 
error log:
  /usr/lib/cups/backend/hp failed
  I reinstall hplip and depends, but now i have error:
  prnt/backend/hp.c 745: ERROR: open device failed stat=12: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c

  Now Printer not work :(
  Here's the output from the diagnostic commands:

  **
  root@debSrv:~# hp-levels -g
  warning: hp-levels should not be run as root/superuser.

  HP Linux Imaging and Printing System (ver. 3.10.6)
  Supply Levels Utility ver. 2.0

  Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  hp-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
  hp-levels[17732]: debug: Mode=0
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
  hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: Searching for section 
[hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in 
file /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: 
{'hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c': 
['HP_LaserJet_P1102']}
  Using device: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c

  hp-levels[17732]: debug: Device URI: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c
  hp-levels[17732]: debug: Printer: None
  hp-levels[17732]: debug: Not starting dbus: running as root.
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, 
model=HP_LaserJet_Professional_P1102, serial=0Q81DLWGSI1c, dev=, host=, 
port=1
  hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP 
LaserJet Professional p1102
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: Re-reading CUPS printer queue information.
  hp-levels[17732]: debug: Opening device: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c (not for 
printing)
  hp-levels[17732]: debug: I/O mode=6
  error: Unable to communicate with device (code=12): 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c
  hp-levels[17732]: debug: Exception: 2 (Device not found)
  error: Error opening device (Device not found). Exiting.

  **
  root@debSrv:~# hp-probe
  warning: hp-probe should not be run as root/superuser.

  HP Linux Imaging and Printing System (ver. 3.10.6)
  Printer Discovery Utility ver. 4.1

  Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  

[Desktop-packages] [Bug 827196] Re: HP LaserJet P1102, hp backend failed, open device failed stat=12

2018-10-12 Thread gf
Hi Till,
I know you said not to change the HPLIP statuses. When I am addressing an old 
bug report like this one from 2011, would it alright to change the HPLIP status 
to incomplete at the same time as I change the status on the hplip (ubuntu) 
package?
Thanks
G

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/827196

Title:
  HP LaserJet P1102, hp backend failed, open device failed stat=12

Status in HPLIP:
  In Progress
Status in hplip package in Ubuntu:
  Incomplete

Bug description:
  HP LaserJet P1102

  Hi, yesterday I successfully installed the printer on the server Debian, it 
worked, I hooked up the Linux client and windwos-clients, everything worked 
fine. Worked as long as I'm not pressed the power button on the printer. I 
turned off and turned on the printer and printer lost. I have error in cups 
error log:
  /usr/lib/cups/backend/hp failed
  I reinstall hplip and depends, but now i have error:
  prnt/backend/hp.c 745: ERROR: open device failed stat=12: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c

  Now Printer not work :(
  Here's the output from the diagnostic commands:

  **
  root@debSrv:~# hp-levels -g
  warning: hp-levels should not be run as root/superuser.

  HP Linux Imaging and Printing System (ver. 3.10.6)
  Supply Levels Utility ver. 2.0

  Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  hp-levels[17732]: debug: getDeviceUri(None, None, ('hp',), None, , True)
  hp-levels[17732]: debug: Mode=0
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: Cache miss: hp_laserjet_professional_p1102
  hp-levels[17732]: debug: Reading file: /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: Searching for section 
[hp_laserjet_professional_p1102] in file /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: Found section [hp_laserjet_professional_p1102] in 
file /usr/share/hplip/data/models/models.dat
  hp-levels[17732]: debug: 
{'hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c': 
['HP_LaserJet_P1102']}
  Using device: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c

  hp-levels[17732]: debug: Device URI: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c
  hp-levels[17732]: debug: Printer: None
  hp-levels[17732]: debug: Not starting dbus: running as root.
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: URI: backend=hp, is_hp=True, bus=usb, 
model=HP_LaserJet_Professional_P1102, serial=0Q81DLWGSI1c, dev=, host=, 
port=1
  hp-levels[17732]: debug: Model/UI model: HP_LaserJet_Professional_P1102/HP 
LaserJet Professional p1102
  hp-levels[17732]: debug: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c: back_end:hp 
is_hp:True bus:usb model:HP_LaserJet_Professional_P1102 
serial:0Q81DLWGSI1c dev_file: host: zc: port:1
  hp-levels[17732]: debug: Re-reading CUPS printer queue information.
  hp-levels[17732]: debug: Opening device: 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c (not for 
printing)
  hp-levels[17732]: debug: I/O mode=6
  error: Unable to communicate with device (code=12): 
hp:/usb/HP_LaserJet_Professional_P1102?serial=0Q81DLWGSI1c
  hp-levels[17732]: debug: Exception: 2 (Device not found)
  error: Error opening device (Device not found). Exiting.

  **
  root@debSrv:~# hp-probe
  warning: hp-probe should not be run as root/superuser.

  HP Linux Imaging and Printing System (ver. 3.10.6)
  Printer Discovery Utility ver. 4.1

  Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  
  | SELECT CONNECTION (I/O) TYPE |
  

    Num   Connection  Description
  Type
      --  
--
    0*usb Universal Serial Bus (USB)
    1 net Network/Ethernet/Wireless (direct connection or 
JetDirect)
    2 par Parallel Port (LPT:)

  Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0