[Bug 443861] New: libusb-0_1-4 incompatible to libusb ( breaks USB support in gpsbabel)
https://bugzilla.novell.com/show_bug.cgi?id=443861 Summary: libusb-0_1-4 incompatible to libusb (breaks USB support in gpsbabel) Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: sbrabec@novell.com ReportedBy: sndirsch@novell.com QAContact: qa@suse.de CC: mfabian@novell.com, nadvornik@novell.com Found By: --- # sudo gpsbabel -t -i garmin -f usb: -o gpx -F /tmp/out.gpx Could not start session in a reasonable number of tries. After replacing libusb-0_1-4 (Factory) with libusb (11.0) gpsbabel works again. Looks like the compatibility layer of libusb-0_1-4 (which makes use of libusb-1_0-0) does not work reliably. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=443861
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c2
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c3
--- Comment #3 from Stefan Dirsch
gpsbabel -i mtk,erase=0 -f /dev/ttyUSB0 -o mtkbin -F log.bin works for me.
According to
http://www.gpsbabel.org/os/Linux_Hotplug.html
using the garmin kernel module is not recommended. This is also what Robert
Lipe
=> It may be a problem of libusb usage
I don't think people will care about such an argument, when they suddently notice that their favorite applications no longer work. I simply don't understand why we introduced this compatibility layer, when we need to ship both library versions anyway. I see only regressions and no benefits at all here. I also didn't see any FATE request or bugreport to introduce such a compatibility layer instead of keeping the old implementation as it is (working). Also libusb 1.0 is still considered BETA.
As you have beta4, I guess that you have latest version of libusb-compat:
rpm -q --changelog libusb-0_1-4 | grep -A4 meissner@suse.de * Wed Oct 08 2008 meissner@suse.de - handle case where usb_init() failed (ctx NULL), so we do not crash. bnc#432129 - added more NULL ptr checks, where older libusb were more graceful and did not crash. bnc#432129
Sure I have including this change * Properly obsolete old implementation of the library (bnc#437768). I even builded every older versions of this package and rebuilded gpsbabel against it. Same problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c4
--- Comment #4 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c5
--- Comment #5 from Stanislav Brabec
=> It may be a problem of libusb usage
I don't think people will care about such an argument, when they suddently notice that their favorite applications no longer work
Well, there are slight differences between behavior of libusb-0_1-4 and libusb-compat. In some situations, where libusb-0_1-4 behavior is "possibly crash", the behavior of libusb-compat is EINVAL (e. g. bug 432129 - double usb_close). "Possibly crash" may mean "it actually works" and EINVAL means "it stopped to work" and then user could see a regression. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c7
--- Comment #7 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c8
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c9
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c10
--- Comment #10 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c11
--- Comment #11 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=443861
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c12
--- Comment #12 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=443861
User meissner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=443861#c13
--- Comment #13 from Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com