From owner-svn-ports-head@freebsd.org Sun Feb 14 22:50:43 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE35E53FEB2; Sun, 14 Feb 2021 22:50:43 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Df2Wl6Sy2z4hLf; Sun, 14 Feb 2021 22:50:43 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D11DE12865; Sun, 14 Feb 2021 22:50:43 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11EMohhl008465; Sun, 14 Feb 2021 22:50:43 GMT (envelope-from wulf@FreeBSD.org) Received: (from wulf@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11EMohfm007822; Sun, 14 Feb 2021 22:50:43 GMT (envelope-from wulf@FreeBSD.org) Message-Id: <202102142250.11EMohfm007822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wulf set sender to wulf@FreeBSD.org using -f From: Vladimir Kondratyev Date: Sun, 14 Feb 2021 22:50:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565271 - head/sysutils/iichid X-SVN-Group: ports-head X-SVN-Commit-Author: wulf X-SVN-Commit-Paths: head/sysutils/iichid X-SVN-Commit-Revision: 565271 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2021 22:50:44 -0000 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 }