WIP: Support for Haiku #30
No reviewers
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi!30
Loading…
Reference in a new issue
No description provided.
Delete branch "haiku"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From: https://github.com/haikuports/haikuports/blob/master/dev-libs/hidapi/patches/hidapi-20160919.patchset
I haven't tested this yet, just applied the patch.Fails atlibusb_get_active_config_descriptor(around line 866 in libusb/hid.c)@z3ntu it builds ok here with the patchset, does it fail for you?
@Youw maybe libiconv should be included in the requirements?
Without it we get (on running the test):
exporting it to the LDFLAGS before build we get:
Any thoughts on this?
Using:
github.com/Begasus/hidapi@74b3719f01should fix the detection for libiconv (updated link)
EDIT this was done in a virtual environment, so the outcome probably is as expected
I've got your message, but I'll be able to give you a proper answer in a couple of days.
If it is really urgent, let me know, and I'll try to get to it sooner.
This wasn't a build failure but a runtime failure I saw on Haiku (using whatever Haiku version was latest in June 2019). I am not 100% sure anymore what exactly happened but I guess I ran my software using hidapi and it failed to open the device or similar - and stepping through with a debugger I got to this
libusb_get_active_config_descriptorline which failed. I can fire up my VM again in the evening and check what exactly happens there.Thanks for looking into this, if you can find the time to launch your VM try to see if you can update your Haiku install to the latest hrev, that way we won't miss anything that maybe has been fixed in the meantime 👍
Thanks! It's not that urgent, getting the patch in I linked should take care of the detection for libiconv, so no need to change anything (at least I don't think so) in the main source
if by requirements you mean:
AC_CHECK_LIB([iconv], [libiconv_open], [LIBS_LIBUSB_PRIVATE="${LIBS_LIBUSB_PRIVATE} -liconv"], [hidapi_lib_error libiconv]), then it is already included (as far as I can tell)or is it something else?
Let's close this in favor of #141 to not split the messages in two different PRs.
Pull request closed