Skip to content

FreeBSD hidraw backend to replace libusb backend #543

Open

Description

@mcuee

It would be good we have a FreeBSD specific backend using hidraw for HIDAPI so that FreeBSD HIDAPI users no longer need to use the libusb backend.

Reference:
https://reviews.freebsd.org/D27992

This driver provides raw access to HID devices through uhid(4)-compatible interface and is based on pre-8.x uhid(4) code.

Unlike uhid(4) it does not take devices in to monopoly ownership and allows parallel access from other drivers.
hidraw supports Linux's hidraw-compatible interface as well.

Activity

  1. added
    enhancementNew feature or request
    bsdFreeBSD, NetBSD, OpenBSD, etc
    on May 11, 2023
  2. mcuee commented on May 11, 2023

    @mcuee
    MemberAuthor

    From @wulf7

    I already added hidraw enumeration support to https://github.com/wulf7/libudev-devd/
    So, most probably, addition of linux hidapi backend to build is only thing left.

  3. mcuee commented on May 11, 2023

    @mcuee
    MemberAuthor

    @wulf7

    Please help to review the current hidraw backend for Linux and see what would be needed to change to make it working under FreeBSD hidraw. PR will be more than welcome.

  4. mcuee commented on Mar 28, 2025

    @mcuee
    MemberAuthor

    Hopefully #730 will be able to address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bsdFreeBSD, NetBSD, OpenBSD, etcenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions