[Bug 1102529] New: mDNS patches incompatible with HPLIP rebase to 3.18.x
http://bugzilla.suse.com/show_bug.cgi?id=1102529 Bug ID: 1102529 Summary: mDNS patches incompatible with HPLIP rebase to 3.18.x Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: martin.wilck@suse.com QA Contact: jsmeix@suse.com Found By: --- Blocker: --- hplip is in need of a version update. I rejected request 625066 today. The main problem, apart from formalities, was that the request simply ditched my mDNS patches. I've been aware for some time that the patches don't apply cleanly to 3.17.11 ff (upstream has added one more mDNS query, for "_uscan._tcp.local"). That sounds trivial, but extending my patches to this case isn't straighforward. Unfortunately upstream hasn't put any effort into integrating my mDNS patches. I do have modified patches for 3.18, but I can't test them as the printer I used for that testing (an HP Envy 5530) is out of order, and the replacement I bought (OfficeJet 6950) doesn't use mDNS. To test this properly, you need - an HP printer using mDNS for discovery, and with only Wifi network - a setup where a host connected to the local network through both wired LAN + Wifi tries to access the printer - a Wifi router that doesn't forward UDP broadcast packets from wired LAN to Wifi properly (that's quite common for cheap routers, actually) My patches cause the mDNS broadcast packets from the host to be sent not on the primary LAN interface, but also on the Wifi interface directly, which fixes device discovery. The true solution for mDNS in hplip would be to use avahi rather than a second-grade custom implementation (avahi sends out packets on all interfaces unless otherwise configured). But that, also, requires substantial work, using the avahi API isn't exactly easy. And upstream doesn't do anything beyond support for new printers any more, it seems. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1102529 http://bugzilla.suse.com/show_bug.cgi?id=1102529#c1 --- Comment #1 from Martin Wilck <martin.wilck@suse.com> --- Given the fact that I don't have the reproduction environment any more, and that no other users seem to have complained about it (*), I'd accept my patches being removed, but not without grinding my teeth. I'd prefer a clean solution. (*) The problem manifests itself by the catch-all error message "error: Unable to communicate with device (code=12)". Users affected by this message might simply not realize that this is caused by the rather subtle mDNS problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1102529 http://bugzilla.suse.com/show_bug.cgi?id=1102529#c2 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.launchpad.net/ | |hplip/+bug/1616861 --- Comment #2 from Martin Wilck <martin.wilck@suse.com> --- Ref to launchpad: https://bugs.launchpad.net/hplip/+bug/1616861 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1102529 http://bugzilla.suse.com/show_bug.cgi?id=1102529#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Johannes Meixner <jsmeix@suse.com> --- According to https://build.opensuse.org/package/view_file/Printing/hplip/hplip.changes?ex... ------------------------------------------------------------------ Tue Aug 28 11:37:58 UTC 2018 - Hans-Peter Jansen ... ... - removed hplip-mdns.patch and hplip-mdns-retry-query.patch, since upstream further improved the code in this area ------------------------------------------------------------------ it seems this issue was meanwhile "fixed" by "upstream improved code" (whatever that means). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com