[opensuse-factory] libusb: next try to upgrade to libusb1
Hallo. Maybe you remember that we tried to upgrade libusb0 to libusb1 + libusb-compat in beta phase of openSUSE 11.1. We got a lot of bug reports. That forced us to switch back to libusb0. But it was a very valuable feedback for upstream. Upstream tried to debug and fix all these issues and libusb1 reached version 1.0.0 and it became a new stable branch in December. That is why I want to try the full switch to libusb1 again. Please report any problems related to libusb. libusb-compat is not a 100% identical to libusb0 and there may be particular problems that should be fixes in applications - incorrect use of libusb, that worked in libusb0, but does not work in libusb1. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tue, Apr 14, 2009 at 05:27:30PM +0200, Stanislav Brabec wrote:
Hallo.
Maybe you remember that we tried to upgrade libusb0 to libusb1 + libusb-compat in beta phase of openSUSE 11.1.
We got a lot of bug reports. That forced us to switch back to libusb0. But it was a very valuable feedback for upstream.
Upstream tried to debug and fix all these issues and libusb1 reached version 1.0.0 and it became a new stable branch in December.
That is why I want to try the full switch to libusb1 again.
Yeah! Are you going to be doing this work? Or is someone else? thanks, greg k-h -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Greg KH wrote:
Are you going to be doing this work? Or is someone else?
I just submitted libusb-compat-0.1.0 and libusb-1_0-1.0.0 to Factory. They are available in home:sbrabec:Factory before the check-in. spec file has a new build time option: FULLY_REPLACE_LIBUSB_0_1 == 0: Compile libusb-compat version of shared library as libusb-0.1.so.5 allowing parallel installation of both versions. Packages use the libusb version they were compiled with. FULLY_REPLACE_LIBUSB_0_1 == 1: Compile libusb-compat version of shared library as upstream intended, i. e. libusb-0.1.so.4 fully replacing libusb0. I just submitted: %define FULLY_REPLACE_LIBUSB_0_1 1 It would be good if you could take these packages or help with bug of them. I am not an USB expert. I just did the packaging work. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Tue, Apr 14, 2009 at 06:51:50PM +0200, Stanislav Brabec wrote:
Greg KH wrote:
Are you going to be doing this work? Or is someone else?
I just submitted libusb-compat-0.1.0 and libusb-1_0-1.0.0 to Factory. They are available in home:sbrabec:Factory before the check-in.
spec file has a new build time option:
FULLY_REPLACE_LIBUSB_0_1 == 0: Compile libusb-compat version of shared library as libusb-0.1.so.5 allowing parallel installation of both versions. Packages use the libusb version they were compiled with.
FULLY_REPLACE_LIBUSB_0_1 == 1: Compile libusb-compat version of shared library as upstream intended, i. e. libusb-0.1.so.4 fully replacing libusb0.
I just submitted: %define FULLY_REPLACE_LIBUSB_0_1 1
It would be good if you could take these packages or help with bug of them. I am not an USB expert. I just did the packaging work.
Thanks a lot for detailed explanation. Unfortunately the build fails for libusb-compat. :-( I volunteer for testing USB support of gpsbabel. What do I need for testing? Replace libusb-devel with libusb-compat-devel in gpsbabel.spec? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Stefan Dirsch wrote:
Thanks a lot for detailed explanation. Unfortunately the build fails for libusb-compat. :-(
Oops. It was working in local build, but Autobuild damaged the spec file and added wrong duplicate License line.
I volunteer for testing USB support of gpsbabel. What do I need for testing? Replace libusb-devel with libusb-compat-devel in gpsbabel.spec?
With libusb-compat with FULLY_REPLACE_LIBUSB_0_1==1 (soon in Factory): Install libusb-0_1-4 version 0.1.13 (i. e. version generated by libusb-compat). With libusb-compat with FULLY_REPLACE_LIBUSB_0_1==0: Replace libusb-devel with libusb-compat-devel in the spec file and rebuild. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Wed, Apr 15, 2009 at 01:15:50PM +0200, Stanislav Brabec wrote:
Stefan Dirsch wrote:
Thanks a lot for detailed explanation. Unfortunately the build fails for libusb-compat. :-(
Oops. It was working in local build, but Autobuild damaged the spec file and added wrong duplicate License line.
I volunteer for testing USB support of gpsbabel. What do I need for testing? Replace libusb-devel with libusb-compat-devel in gpsbabel.spec?
With libusb-compat with FULLY_REPLACE_LIBUSB_0_1==1 (soon in Factory):
Install libusb-0_1-4 version 0.1.13 (i. e. version generated by libusb-compat).
Unfortunately it's still the same issue. :-( # sudo gpsbabel -t -i garmin -f usb: -o gpx -F /tmp/out.gpx Could not start session in a reasonable number of tries. # ldd /usr/bin/gpsbabel [...] libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 (0x00007fbc63005000) [...] libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007fbc62409000) [...] # rpm -qf /usr/lib64/libusb-0.1.so.4 /usr/lib64/libusb-1.0.so.0 libusb-0_1-4-0.1.13-1 libusb-1_0-0-1.0.0-1.1 I'm using gpsbabel 1.3.6 from Application:Geo of OBS. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi,
On Wed, Apr 15, 2009 at 01:15:50PM +0200, Stanislav Brabec wrote:
Stefan Dirsch wrote:
Thanks a lot for detailed explanation. Unfortunately the build fails for libusb-compat. :-( Oops. It was working in local build, but Autobuild damaged the spec file and added wrong duplicate License line.
I volunteer for testing USB support of gpsbabel. What do I need for testing? Replace libusb-devel with libusb-compat-devel in gpsbabel.spec? With libusb-compat with FULLY_REPLACE_LIBUSB_0_1==1 (soon in Factory):
Install libusb-0_1-4 version 0.1.13 (i. e. version generated by libusb-compat).
Unfortunately it's still the same issue. :-(
# sudo gpsbabel -t -i garmin -f usb: -o gpx -F /tmp/out.gpx Could not start session in a reasonable number of tries.
# ldd /usr/bin/gpsbabel [...] libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 (0x00007fbc63005000) [...] libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007fbc62409000) [...]
# rpm -qf /usr/lib64/libusb-0.1.so.4 /usr/lib64/libusb-1.0.so.0 libusb-0_1-4-0.1.13-1 libusb-1_0-0-1.0.0-1.1 it looked the same for syncml-ds-tool when the first switch to libusb1 was done. There is a ticket for it at https://libsyncml.opensync.org/ticket/176.
I have no factory running at the moment, therefore I cannot test ... regars Felix Möller -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Felix Möller wrote:
There is a ticket for it at https://libsyncml.opensync.org/ticket/176.
I have no factory running at the moment, therefore I cannot test ...
Please try home:sbrabec:backports. libusb-compat will appear soon there. If it does not work, please try to debug or join libusb-devel list. You can check README for list of known differences. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
I just created following repositories: libusb0 for Factory and future distros: home:sbrabec:libusb0 libusb0 builds with debug log support: home:sbrabec:libusb0-debug libusb1 for older distros: home:sbrabec:backports libusb1 builds with debug log support: home:sbrabec:libusb1-debug Note: libusb0 will maybe contain pcsc-ccid and pcsc-lite, as these two packages contain interrupt transfer support, that is automatically enabled with libusb-compat. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Stefan Dirsch wrote:
Install libusb-0_1-4 version 0.1.13 (i. e. version generated by libusb-compat).
Unfortunately it's still the same issue. :-(
Reopening https://bugzilla.novell.com/show_bug.cgi?id=443861 Problem needs to be tracked, but it is Garmin GPS logger specific. My Qstarz GPS logger works perfectly with gpsbabel and libusb1. I have just created home:sbrabec:libusb0 repository to simplify testing with old libusb. I can create just one another with full debugging support. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (4)
-
Felix Möller
-
Greg KH
-
Stanislav Brabec
-
Stefan Dirsch