svn commit: r526092 - in head/sysutils: . iichid
Kubilay Kocak
koobs at FreeBSD.org
Fri Feb 14 06:46:24 UTC 2020
Author: koobs
Date: Fri Feb 14 06:46:22 2020
New Revision: 526092
URL: https://svnweb.freebsd.org/changeset/ports/526092
Log:
[NEW] sysutils/iichid: Generic FreeBSD HID layer for I2C and USB devices
FreeBSD driver for I2C HID touchscreens (and may be other devices)
A complete discussion about how to use this tool can be found at:
https://larastechlab.blogspot.com/2020/01/i2c-touchpads-on-freebsd-130-current.html
Currently limited to FreeBSD 12.1+ and architectures supporting ACPI.
WWW: https://github.com/wulf7/iichid
Submitted by: cy
Differential Revision: D23615
Added:
head/sysutils/iichid/
head/sysutils/iichid/Makefile (contents, props changed)
head/sysutils/iichid/distinfo (contents, props changed)
head/sysutils/iichid/pkg-descr (contents, props changed)
head/sysutils/iichid/pkg-message (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Feb 14 06:40:42 2020 (r526091)
+++ head/sysutils/Makefile Fri Feb 14 06:46:22 2020 (r526092)
@@ -491,6 +491,7 @@
SUBDIR += i2c-tools
SUBDIR += i7z
SUBDIR += iat
+ SUBDIR += iichid
SUBDIR += immortal
SUBDIR += incron
SUBDIR += inotify-tools
Added: head/sysutils/iichid/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/iichid/Makefile Fri Feb 14 06:46:22 2020 (r526092)
@@ -0,0 +1,39 @@
+# Created by: jrhett at netconsonance.com
+# $FreeBSD$
+
+PORTNAME= iichid
+DISTVERSION= 0.0.1
+CATEGORIES= sysutils
+
+MAINTAINER= imp at FreeBSD.org
+COMMENT= Generic FreeBSD HID layer for I2C and USB devices
+
+LICENSE= BSD2CLAUSE
+#LICENSE_FILE= Not yet packaged
+
+ONLY_FOR_ARCHS= aarch64 amd64 i386
+ONLY_FOR_ARCHS_REASON= Requires architecture supporting ACPI
+
+USES= kmod uidfix
+
+USE_GITHUB= yes
+
+GH_ACCOUNT= wulf7
+
+# Strip -Werror from sys/conf/kmod.mk
+MAKE_ENV= WERROR=""
+
+PLIST_FILES= ${KMODDIR}/iichid.ko
+
+# USB backend is not yet complete and
+# interferes with existing USB drivers
+post-patch:
+ ${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile
+
+.include <bsd.port.pre.mk>
+
+.if ${OSREL} < 12.1
+IGNORE= requires FreeBSD versions 12.1+, this system is running ${OSREL}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/sysutils/iichid/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/iichid/distinfo Fri Feb 14 06:46:22 2020 (r526092)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1581662226
+SHA256 (wulf7-iichid-0.0.1_GH0.tar.gz) = 282540487df1eb3f202f7beb440f68f43801662cb8f817931f09879c1f007a98
+SIZE (wulf7-iichid-0.0.1_GH0.tar.gz) = 51001
Added: head/sysutils/iichid/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/iichid/pkg-descr Fri Feb 14 06:46:22 2020 (r526092)
@@ -0,0 +1,7 @@
+FreeBSD driver for I2C HID touchscreens (and may be other devices)
+
+A complete discussion about how to use this tool can be found at:
+
+https://larastechlab.blogspot.com/2020/01/i2c-touchpads-on-freebsd-130-current.html
+
+WWW: https://github.com/wulf7/iichid
Added: head/sysutils/iichid/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/iichid/pkg-message Fri Feb 14 06:46:22 2020 (r526092)
@@ -0,0 +1,5 @@
+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.
+
+Please report successes and issues to: https://github.com/wulf7/iichid
More information about the svn-ports-all
mailing list