Bug 1074789 - HPLIP: on Tubleweed hp-setup fails with "distro (i.e unknown ) is either deprecated or not yet supported"
HPLIP: on Tubleweed hp-setup fails with "distro (i.e unknown ) is either dep...
Status: RESOLVED UPSTREAM
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Printing
Current
64bit openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: Johannes Meixner
Johannes Meixner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-05 10:21 UTC by Daniel Schlieper
Modified: 2018-01-05 11:18 UTC (History)
1 user (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schlieper 2018-01-05 10:21:57 UTC
Hi, I try to install an HP printer on usb via hp-setup. It doesn't work within yast2 printer nor standalone. hp-doctor says "This distro (i.e unknown  ) is either deprecated or not yet supported." It seems that it doesn't like distribution "0". What about telling the hp software that I use Leap instead of Tumbleweed (i. e. giving a fake distro version)? How could I try that?

Please let me know if I can provide any more information. Best regards, Daniel

Here is the full report:
I have a HP Laserjet 1018 on USB, which worked alright on openSuse 13.2 and
earlier. Recently I upgraded to Tumbleweed (curren version 20180101). 

$ lsusb
Bus 001 Device 009: ID 03f0:4117 Hewlett-Packard LaserJet 1018

hp-setup (from yast2 printer, add printer)

Connection (I/O) type: USB -> No devices found
Restart printer, refresh -> No devices found

Retry in hp-setup with advanced options
Manual Discovery
USB bus ID:device ID (bbb:ddd): 001:009 -> No devices found

Now trying in bash
$ lsusb
Bus 001 Device 010: ID 03f0:4117 Hewlett-Packard LaserJet 1018
=> Device is 010 now

$ hp-setup -g -i 001:010

HP Linux Imaging and Printing System (ver. 3.17.9)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP 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-setup[3072]: debug: param=001:010
hp-setup[3072]: debug: selected_device_name=None
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

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

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

Using connection type: usb

hp-setup[3072]: debug: 
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[3072]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[3072]: debug: Mode=0
error: No device selected/specified or that supports this functionality.

$ hp-config_usb_printer 001:010
error: This is not a valid device

$ hp-doctor 

HP Linux Imaging and Printing System (ver. 3.17.9)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP 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 Linux Imaging and Printing System (ver. 3.17.9)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 HP 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.

 

Checking for Deprecated items....
error: This distro (i.e unknown  ) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.17.9)
HPLIP upgrade latest version ver. 1.0

Copyright (c) 2001-15 HP 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.

error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.

Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....
warning: 0- version is not supported. Using 0-0 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.14.9-1-default #1 SMP PREEMPT Mon Dec 25 15:42:48 UTC 2017 (9423ca2) GNU/Linux
 Host: corax
 Proc: 4.14.9-1-default #1 SMP PREEMPT Mon Dec 25 15:42:48 UTC 2017 (9423ca2) GNU/Linux
 Distribution: 0 
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.17.9
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro   version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.17.9
[... more text ...]

In yast2 hardware information, the printer shows as
"Laserjet 1018" in the list of USB devices.

$ usb-devices

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=4117 Rev=01.00
S:  Manufacturer=Hewlett-Packard
S:  Product=HP LaserJet 1018
S:  SerialNumber=KP2Q3RG
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)

Problem reports from $ hp-check 

warning: HPLIP-Installation: Auto installation is not supported for 0 distro
version

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.
Comment 1 Johannes Meixner 2018-01-05 11:18:43 UTC
I think "hp-setup" should have also worked on Tumbleweed
because otherwise we should have got more such issue reports.

Perhaps HP had recently changed something in HPLIP?

On the other hand
https://developers.hp.com/hp-linux-imaging-and-printing/install
only lists
SUSE Linux (13.2, 42.1, 42.2)
as supported by HP's special automatic installer for HPLIP
(which is not needed when installing HPLIP via RPM packages).
But that might indicate that in general the distribution
openSUSE Tumbleweed
is not yet or not sufficiently supported by HPLIP?


In general regarding HPLIP:

HPLIP is developed by HP.

We (i.e. openSUSE) distribute HP's HPLIP software "as is"
but we do not develop it, cf.
https://en.opensuse.org/SDB:How_to_set-up_a_HP_printer

Issues with HPLIP are upstream issues
that should be reported directly to HP via
https://developers.hp.com/hp-linux-imaging-and-printing/support

Accordingly I close it as "upstream", cf.
https://bugzilla.opensuse.org/page.cgi?id=status_resolution_matrix.html
and "Background Information" in
https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue

Preferably post an URL to your upstream issue report
as reference here.