notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2022Q2
hidapi Library to access USB HID-class devices
0.15.0 comms on this many watch lists=10 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.15.0Version of this port present on the latest quarterly branch.
Maintainer: sstallion@gmail.com search for ports maintained by this maintainer
Port Added: 2014-01-03 20:43:21
Last Update: 2025-05-21 21:29:51
Commit Hash: 680c238
People watching this port, also watch:: pkg, sqlite3, libedit, readline, expat
License: BSD3CLAUSE GPLv3
WWW:
https://github.com/libusb/hidapi
Description:
HIDAPI is a platform independent library that allows applications to work with USB HID-Class devices. While it can be used to communicate with standard HID devices like keyboards, mice, and joysticks, it is most useful when used with custom (Vendor-Defined) HID devices.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/hidapi-0.15.0/catalog.mk
  3. /usr/local/share/licenses/hidapi-0.15.0/LICENSE
  4. /usr/local/share/licenses/hidapi-0.15.0/BSD3CLAUSE
  5. /usr/local/share/licenses/hidapi-0.15.0/GPLv3
  6. include/hidapi/hidapi.h
  7. include/hidapi/hidapi_libusb.h
  8. lib/libhidapi.a
  9. lib/libhidapi.so
  10. lib/libhidapi.so.0
  11. lib/libhidapi.so.0.0.0
  12. libdata/pkgconfig/hidapi.pc
  13. share/doc/hidapi/AUTHORS.txt
  14. share/doc/hidapi/LICENSE-bsd.txt
  15. share/doc/hidapi/LICENSE-gpl3.txt
  16. share/doc/hidapi/LICENSE-orig.txt
  17. share/doc/hidapi/LICENSE.txt
  18. share/doc/hidapi/README.md
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • hidapi>0:comms/hidapi
To install the port:
cd /usr/ports/comms/hidapi/ && make install clean
To add the package, run one of these commands:
  • pkg install comms/hidapi
  • pkg install hidapi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: hidapi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1747826728 SHA256 (libusb-hidapi-hidapi-0.15.0_GH0.tar.gz) = 5d84dec684c27b97b921d2f3b73218cb773cf4ea915caee317ac8fc73cef8136 SIZE (libusb-hidapi-hidapi-0.15.0_GH0.tar.gz) = 363838

Packages (timestamps in pop-ups are UTC):
hidapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.15.00.15.00.8.0.r1_30.15.00.15.0n/an/an/a
FreeBSD:13:quarterly0.15.00.15.00.14.00.15.00.15.0n/an/an/a
FreeBSD:14:latest0.15.00.15.00.13.10.15.00.15.00.14.0-0.14.0
FreeBSD:14:quarterly0.15.00.15.0-0.15.00.15.00.14.00.14.00.14.0
FreeBSD:15:latest0.15.00.15.0n/a0.15.0n/an/a0.14.00.14.0
FreeBSD:15:quarterly0.15.00.15.0n/a-n/an/a--
FreeBSD:16:latest0.15.00.15.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. msgfmt : devel/gettext-tools
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. autoconf>=2.72 : devel/autoconf
  4. automake>=1.17 : devel/automake
  5. libtoolize : devel/libtool
Library dependencies:
  1. libiconv.so : converters/libiconv
This port is required by:
for Build
  1. audio/headsetcontrol
  2. misc/g810-led
  3. x11/openrgb
for Libraries
  1. audio/headsetcontrol
  2. audio/mixxx
  3. cad/PrusaSlicer
  4. cad/openfpgaloader
  5. cad/openscad
  6. cad/openscad-devel
  7. comms/libusbsio
Expand this list (44 items / 37 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. comms/py-hidapi
  3. comms/py-libusbsio
  4. comms/py-streamdeck
  5. comms/sdrangel
  6. databases/mysql80-client
  7. databases/mysql80-server
  8. devel/libsigrok
  9. devel/msp430-debug-stack
  10. devel/openocd
  11. devel/openocd-devel
  12. emulators/dolphin-emu
  13. emulators/rpcs3
  14. misc/g810-led
  15. misc/openhmd
  16. net-p2p/go-ethereum
  17. security/agave
  18. security/libnitrokey
  19. sysutils/framework-system
  20. sysutils/framework-tool-tui
  21. sysutils/msiklm
  22. sysutils/qmk_hid
  23. x11/openrgb
  24. Collapse this list.

Deleted ports which required this port:

Expand this list of 15 deleted ports
  1. audio/mixxx21*
  2. audio/mixxx22*
  3. comms/libconcord*
  4. databases/mysql81-client*
  5. databases/mysql81-server*
  6. databases/mysql90-client*
  7. databases/mysql90-server*
  8. databases/mysql91-client*
  9. databases/mysql91-server*
  10. databases/mysql94-client*
  11. databases/mysql94-server*
  12. databases/mysql96-client*
  13. databases/mysql96-server*
  14. security/libu2f-host*
  15. security/solana*
  16. Collapse this list of deleted ports.
for Run
  1. comms/py-hid
  2. sysutils/solaar

Configuration Options:
===> The following configuration options are available for hidapi-0.15.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
comms_hidapi
USES:
autoreconf gettext-tools iconv:wchar_t libtool localbase pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libusb/hidapi/tar.gz/hidapi-0.15.0?dummy=/
Collapse this list.

There are no commits on branch 2022Q2 for this port