[Bug 1029838] New: nut: switch from libusb_0-1 to libusb-1_0
http://bugzilla.suse.com/show_bug.cgi?id=1029838 Bug ID: 1029838 Summary: nut: switch from libusb_0-1 to libusb-1_0 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: behlert@suse.com QA Contact: qa-bugs@suse.de CC: sbrabec@suse.com Found By: --- Blocker: --- nut has a requirement for libusb-0.1. It would be great if this could be changed to libusb-1_0-0 so we could start getting rid of libusb-0.1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1029838 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |sbrabec@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1029838 http://bugzilla.suse.com/show_bug.cgi?id=1029838#c1 --- Comment #1 from Stanislav Brabec <sbrabec@suse.com> --- nut was not ported to libusb-1.0 yet. As libusb-1.0 is not backwards compatible with libusb-0.1 - all function names are different, etc. As the libusb-0.1 calls are spread across the whole projects, porting would needs large amount of work. libusb-0.1 has call and wait API (call read that waits for completing, call write that waits for completing) libusb-1.0 has event driver API (fill, submit, completed callback) We already got rid libusb-0.1 long time ago. Now we have libusb-compat wrapper, which contains 95% of libusb-0.1 features. I am afraid that libusb-0.1 API is still widely used in third party enterprise applications. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1029838 http://bugzilla.suse.com/show_bug.cgi?id=1029838#c3 --- Comment #3 from Stanislav Brabec <sbrabec@suse.com> --- I am not aware of any alternative to nut. For APC UPS, apcupsd can be used, but it depends on libusb-0.1 as well. libusb-compat is just a compatibility layer, and I do not expect big issues in it. It even slows down its development, as the implemented part is feature complete, and nobody wants/needs to implement the rest. We should just tell to the customers, that libusb-0.1 full compatibility guarantee is not part of the support. Just the implemented part. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1029838 http://bugzilla.suse.com/show_bug.cgi?id=1029838#c4 Marketa Calabkova <mcalabkova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mcalabkova@suse.com Resolution|--- |WONTFIX --- Comment #4 from Marketa Calabkova <mcalabkova@suse.com> --- As Stanislav wrote, a transfer from libusb-0.1 to libusb-1_0 would be painful and really hard to do, as the two packages are considerably different. The libusb-compat is a good solution. Closing as WONTFIX. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com