summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2021-02-14 22:50:42 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-02-14 22:50:42 +0000
commit4d4306f03133020d037df0f66b04951cabaf2d15 (patch)
tree0e70169cbf614d737fc55d6801ca62078e7966a4
parenttextproc/py-jc: Update to 1.14.3 (diff)
sysutils/iichid: Update to 0.0.6
- Make FreeBSD hidraw driver interoperable with hid-tools. - Use loader tunable to turn HID-over-USB support on/off instead of choosing it at build time. - Allow build on non-ACPI platforms with I2C option disabled. USB support should be operable on them. PR: 253497 Approved by: lwhsu (ports)
Notes
Notes: svn path=/head/; revision=565271
-rw-r--r--sysutils/iichid/Makefile12
-rw-r--r--sysutils/iichid/distinfo6
-rw-r--r--sysutils/iichid/pkg-message6
3 files changed, 16 insertions, 8 deletions
diff --git a/sysutils/iichid/Makefile b/sysutils/iichid/Makefile
index 800f42cbbe7f..2eda79ef079d 100644
--- a/sysutils/iichid/Makefile
+++ b/sysutils/iichid/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= iichid
-DISTVERSION= 0.0.5
+DISTVERSION= 0.0.6
CATEGORIES= sysutils
MAINTAINER= wulf@FreeBSD.org
@@ -14,8 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later
IGNORE_FreeBSD_13= Is a part of base system
IGNORE_FreeBSD_14= Is a part of base system
-ONLY_FOR_ARCHS= aarch64 amd64 i386
-ONLY_FOR_ARCHS_REASON= I2C transport requires architecture supporting ACPI
USES= kmod uidfix
@@ -26,12 +24,16 @@ GH_ACCOUNT= wulf7
PLIST_FILES= ${KMODDIR}/iichid.ko
# USB backend is disabled by default as it interferes with existing USB drivers
+# I2C transport requires architecture supporting ACPI
OPTIONS_DEFINE= DEBUG I2C USB
-OPTIONS_DEFAULT= I2C
+OPTIONS_DEFAULT_amd64= I2C
+OPTIONS_DEFAULT_i386= I2C
+OPTIONS_DEFAULT_aarch64=I2C
+
I2C_DESC= HID over I2C support
USB_DESC= HID over USB support
-I2C_MAKE_ARGS_OFF= -DDISABLE_I2CHID
+I2C_MAKE_ARGS_OFF= -DDISABLE_IICHID
USB_MAKE_ARGS_OFF= -DDISABLE_USBHID
post-patch-DEBUG-off:
diff --git a/sysutils/iichid/distinfo b/sysutils/iichid/distinfo
index 7e729566a2f0..67716ebe8a66 100644
--- a/sysutils/iichid/distinfo
+++ b/sysutils/iichid/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611527924
-SHA256 (wulf7-iichid-0.0.5_GH0.tar.gz) = 46e40633cabbb3fff57b693593ffdf5af37c1836f39dde58639303caa2d59d4f
-SIZE (wulf7-iichid-0.0.5_GH0.tar.gz) = 109316
+TIMESTAMP = 1613293298
+SHA256 (wulf7-iichid-0.0.6_GH0.tar.gz) = eef8b72ad094faa31b9d5334b7322d2b7f78db9d0817affe3edb50b996afe532
+SIZE (wulf7-iichid-0.0.6_GH0.tar.gz) = 109323
diff --git a/sysutils/iichid/pkg-message b/sysutils/iichid/pkg-message
index afd363f0af99..1ee1f0079821 100644
--- a/sysutils/iichid/pkg-message
+++ b/sysutils/iichid/pkg-message
@@ -5,6 +5,12 @@ iichid is currently in-development and EXPERIMENTAL. This port provides
an easy and quick method for users to test this code to encourage early
testing, feedback and bug reports.
+USB backend is disabled by default to avoid conflicts with existing USB
+HID drivers. To enable it place following lines to /boot/loader.conf:
+
+hw.usb.usbhid.enable=1
+iichid_load="YES"
+
Please report successes and issues to: https://github.com/wulf7/iichid
EOM
}