Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2020 07:24:10 -0600
From:      Kyle Evans <self@kyle-evans.net>
To:        Kubilay Kocak <koobs@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r526340 - in head/sysutils: . iichid
Message-ID:  <CACNAnaHOrAysMUcjgu9uPaoPqZOarB=yFdb1BYnx-oNcwQzQrQ@mail.gmail.com>
In-Reply-To: <202002170440.01H4eNiQ092311@repo.freebsd.org>
References:  <202002170440.01H4eNiQ092311@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 16, 2020 at 10:40 PM Kubilay Kocak <koobs@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaHOrAysMUcjgu9uPaoPqZOarB=yFdb1BYnx-oNcwQzQrQ>