Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1109612

Summary: network printer discovery does not work for some printer models (no SLP support)
Product: Red Hat Enterprise Linux 7 Reporter: Fabio Alessandro Locati <fale>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.0CC: fale, jpopelka
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-31 18:18:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1069619    
Bug Blocks:    
Attachments:
Description Flags
hp-check file
none
hp-setup -g
none
hp-setup -g 192.168.45.111
none
2 mint16 hp-check -t
none
2 mint16 hp-setup -g
none
2 rhel7 hp-check -t
none
2 rhel7 hp-setup -g
none
2 rhel7 hp-setup -g 192.168.1.101 none

Description Fabio Alessandro Locati 2014-06-15 23:59:51 UTC
Created attachment 908964 [details]
hp-check file

Description of problem: After installing hplip, it does not work.


Version-Release number of selected component (if applicable):

hplip

How reproducible:
hplip: 3.13.7.6.el7.x86_64
kernel: 3.10.0-123.1.2.el7.x86_64
rhel: Red Hat Enterprise Linux Client release 7.0 (Maipo)

Steps to Reproduce:
1. su
2. yum install hplip (btw: this package arrives from rhel-7-desktop-rpms)
3. hp-setup (no network printer will be found)
4. hp-check -t

Actual results:
see attached file

Expected results:
I did expect to see no errors and a working hplip version

Additional info:

Comment 2 Jiri Popelka 2014-06-16 12:43:18 UTC
(In reply to Fabio Alessandro Locati from comment #0)
> 3. hp-setup (no network printer will be found)

Can you run 'hp-setup -g' once more and attach its output here ?
What options have you selected on 'Device Discovery' page ?
Have this worked with some other hplip (Fedora/RHEL6/other distro) version before ?
Maybe the network printer does not support the default discovery method,
can you use 'Manual Discovery' in 'Advanced Options' and specify the printer's IP address there (or run hp-setup -g <ip address of printer>) ?

Comment 3 Fabio Alessandro Locati 2014-06-16 22:50:09 UTC
Ok, this was weird. The 'hp-setup -g' did failed (attaching), but the 'hg-setup -g 192.168.45.111' had success (attaching). The same did happend on Fedora 19.

Comment 4 Fabio Alessandro Locati 2014-06-16 22:50:42 UTC
Created attachment 909310 [details]
hp-setup -g

Comment 5 Fabio Alessandro Locati 2014-06-16 22:51:20 UTC
Created attachment 909311 [details]
hp-setup -g 192.168.45.111

Comment 6 Jiri Popelka 2014-06-17 08:09:35 UTC
(In reply to Fabio Alessandro Locati from comment #4)
> hp-setup -g

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)

(In reply to Fabio Alessandro Locati from comment #5)
> hp-setup -g 192.168.45.111

Trying IP address 192.168.45.111
Found: hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.45.111

(In reply to Fabio Alessandro Locati from comment #3)
> The 'hp-setup -g' did failed (attaching), but the
> 'hg-setup -g 192.168.45.111' had success (attaching). The same did happend
> on Fedora 19.

The P-1102w most likely does not support mDNS/Bonjour - the default discovery method so the only way is really to specify printer's IP address.

I'm closing this ticket as there's nothing we can do with it.

Comment 7 Fabio Alessandro Locati 2014-06-23 18:02:00 UTC
Reopening since is a RedHat problem.
I'm replicating with the OfficejetPro 8500.
It does not work on RedHat 7, while it works on Linux Mint 16... so it has to be a redHat problem ;).

Attaching all needed files :)

Comment 8 Fabio Alessandro Locati 2014-06-23 18:07:09 UTC
Created attachment 911532 [details]
2 mint16 hp-check -t

Comment 9 Fabio Alessandro Locati 2014-06-23 18:07:50 UTC
Created attachment 911533 [details]
2 mint16 hp-setup -g

Comment 10 Fabio Alessandro Locati 2014-06-23 18:08:27 UTC
Created attachment 911535 [details]
2 rhel7 hp-check -t

Comment 11 Fabio Alessandro Locati 2014-06-23 18:09:03 UTC
Created attachment 911538 [details]
2 rhel7 hp-setup -g

Comment 12 Fabio Alessandro Locati 2014-06-23 18:09:47 UTC
Created attachment 911539 [details]
2 rhel7 hp-setup -g 192.168.1.101

Comment 13 Tim Waugh 2014-06-24 11:43:34 UTC
Thanks for letting us know. Looking more closely at this, Mint is using HPLIP 3.13.9, so the difference is likely due to the addition of SLP support (which went into 3.13.8).

Red Hat Enterprise Linux 7 currently has 3.13.7.