framework-system icon indicating copy to clipboard operation
framework-system copied to clipboard

freebsd: Use hidraw instead of hidapi for non-USB devices

Open JohnAZoidberg opened this issue 9 months ago • 4 comments

#94 and #90 don't work on FreeBSD. Looks like hidapi on FreeBSD doesn't use /dev/hidraw.

Using the code here, requires you to need the hidraw kernel module (kldload hidraw).

JohnAZoidberg avatar Mar 24 '25 16:03 JohnAZoidberg

@aokblast has been working on supporting hidraw in hidapi on freebsd for i2c hid devices. So we probably don't need this for the long term.

JohnAZoidberg avatar Apr 10 '25 06:04 JohnAZoidberg

@aokblast has been working on supporting hidraw in hidapi on freebsd for i2c hid devices. So we probably don't need this for the long term.

See https://github.com/libusb/hidapi/pull/730

JohnAZoidberg avatar Apr 14 '25 11:04 JohnAZoidberg

Still not merged upstream

JohnAZoidberg avatar Oct 22 '25 00:10 JohnAZoidberg

Still not merged upstream

We discover a bug for communicate with USB high speed device over packets with more than 64 bytes. I am busy these day and am going to be enlisted for my 4 months obligatory military service🄲. This is my first thing to do four months after.

aokblast avatar Oct 22 '25 12:10 aokblast