From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] introduction of virtual/libusb0
Date: Thu, 25 Jun 2009 21:54:44 +0200 [thread overview]
Message-ID: <4A43D604.8060606@balister.org> (raw)
In-Reply-To: <1245912746.4156.12.camel@utx.utx.cz>
[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]
Stanislav Brabec wrote:
> Koen Kooi wrote:
>
>>> libusb-compat and libusb provide exactly the same API and ABI using a
>>> different back-end, and applications should work with both of them
>>> without recompilation.
>> Why not statically link in the old libusb0 to those broken apps? We do
>> that for gnuradio (in a hacky way, but it can be made generic) and it
>> works well.
>
> Reverting to libusb-0 (even statically linked) is a quick
> fix. Debugging of libusb-compat, fixing it and sending patch upstream
> is a correct way.
>
> Up to now it worked in all cases except gnuradio, which uses internal
> functions of libusb-0. All other applications should work with
> libusb-compat and no static linking should be needed.
>
> Maybe few years from now on we can drop libusb-0 recipes completely (and
> keep gnuradio with statically linked old library maybe forever)
> altogether with the virtual. Now it is useful for quick fixing and for
> debugging of problems of libusb-compat.
I would love to see gnuradio use libusb1 or something. Until mainstream
distros go libusb1 + libusb-compat, there is not much motivation to
resolve the issue in gnuradio. I have looked at the code, and going to
statically linked route was the least time consuming solution.
Basically, I want to do actual interesting work, and not hack arounf at
the usb layer :)
Phiip
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
next prev parent reply other threads:[~2009-06-25 20:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 19:18 [PATCH] introduction of virtual/libusb0 Stanislav Brabec
2009-06-24 19:44 ` Chris Larson
2009-06-24 20:38 ` Stanislav Brabec
2009-06-24 20:47 ` Chris Larson
2009-06-24 22:00 ` Stanislav Brabec
2009-06-25 17:12 ` Stanislav Brabec
2009-06-25 17:33 ` Christopher Larson
2009-06-24 22:03 ` Koen Kooi
2009-06-25 6:52 ` Stanislav Brabec
2009-06-25 19:54 ` Philip Balister [this message]
2009-06-25 19:49 ` Philip Balister
2009-06-26 7:50 ` Stanislav Brabec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A43D604.8060606@balister.org \
--to=philip@balister.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.