Sunday, April 11, 2021

Re: comms/sigrok/*: conflict between usbhid(3) and comms/libhidapi

On 2021/04/11 13:56, Kurt Mosiejczuk wrote:
> On Sun, Apr 11, 2021 at 03:50:27PM +0200, Charlene Wendling wrote:
> > Ping.
>
> Sorry. I did run a build with this and it fixed the issues.
>
> ok kmos

OK. I guess it is also broken on amd64 but only at runtime.

> > > It looks like it happens because our usbhid defines hid_init(3),
> > > but the libhidapi's one must be used instead. As mentioned in
> > > comms/libhidapi/patches/patch-hidapi_hidapi_h, we should use
> > > hidapi_hid_init().

It would be a good idea to add that as a comment to comms/libhidapi/Makefile
where it's a bit more visible than a header in a patch.

No comments:

Post a Comment