[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 Note: This is a recommit of ports r526092 replacing OSVER check with OSVERSION due to a bug in the freebsd-update make index setup/environment. Submitted by: cy Differential Revision: D23615
This commit is contained in:
parent
fd86967989
commit
aebb66b475
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526340
@ -491,6 +491,7 @@
|
||||
SUBDIR += i2c-tools
|
||||
SUBDIR += i7z
|
||||
SUBDIR += iat
|
||||
SUBDIR += iichid
|
||||
SUBDIR += immortal
|
||||
SUBDIR += incron
|
||||
SUBDIR += inotify-tools
|
||||
|
39
sysutils/iichid/Makefile
Normal file
39
sysutils/iichid/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# Created by: jrhett@netconsonance.com
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= iichid
|
||||
DISTVERSION= 0.0.1
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= imp@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 ${OSVERSION} < 1201000
|
||||
IGNORE= requires FreeBSD versions 12.1+, this system is running ${OSREL}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
sysutils/iichid/distinfo
Normal file
3
sysutils/iichid/distinfo
Normal file
@ -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
|
7
sysutils/iichid/pkg-descr
Normal file
7
sysutils/iichid/pkg-descr
Normal file
@ -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
|
5
sysutils/iichid/pkg-message
Normal file
5
sysutils/iichid/pkg-message
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user