Date: Sun, 14 Feb 2021 22:50:43 +0000 (UTC) From: Vladimir Kondratyev <wulf@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565271 - head/sysutils/iichid Message-ID: <202102142250.11EMohfm007822@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wulf (src committer) Date: Sun Feb 14 22:50:42 2021 New Revision: 565271 URL: https://svnweb.freebsd.org/changeset/ports/565271 Log: 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) Modified: head/sysutils/iichid/Makefile head/sysutils/iichid/distinfo head/sysutils/iichid/pkg-message Modified: head/sysutils/iichid/Makefile ============================================================================== --- head/sysutils/iichid/Makefile Sun Feb 14 22:26:28 2021 (r565270) +++ head/sysutils/iichid/Makefile Sun Feb 14 22:50:42 2021 (r565271) @@ -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: Modified: head/sysutils/iichid/distinfo ============================================================================== --- head/sysutils/iichid/distinfo Sun Feb 14 22:26:28 2021 (r565270) +++ head/sysutils/iichid/distinfo Sun Feb 14 22:50:42 2021 (r565271) @@ -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 Modified: head/sysutils/iichid/pkg-message ============================================================================== --- head/sysutils/iichid/pkg-message Sun Feb 14 22:26:28 2021 (r565270) +++ head/sysutils/iichid/pkg-message Sun Feb 14 22:50:42 2021 (r565271) @@ -5,6 +5,12 @@ iichid is currently in-development and EXPERIMENTAL. T 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102142250.11EMohfm007822>