svn commit: r526340 - in head/sysutils: . iichid

Kyle Evans self at kyle-evans.net
Mon Feb 17 13:24:23 UTC 2020


On Sun, Feb 16, 2020 at 10:40 PM Kubilay Kocak <koobs at freebsd.org> wrote:
>
> Author: koobs
> Date: Mon Feb 17 04:40:23 2020
> New Revision: 526340
> URL: https://svnweb.freebsd.org/changeset/ports/526340
>
> 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
>
>   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.
>

I think we should note that it's not necessarily a bug, just
suboptimal behavior. The portsnap indexer will so things up such that
OSREL comes out to be ${major}.x (e.g. "11.x") , and thus isn't
comparable as a float. Because of this, OSREL checks like this aren't
really safe to do as they will trivially break indexing in the
portsnap environment.

Thanks,

Kyle Evans


More information about the svn-ports-head mailing list