From owner-freebsd-arm@freebsd.org Thu Mar 8 22:41:55 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F7C2F38165; Thu, 8 Mar 2018 22:41:55 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E208C74F11; Thu, 8 Mar 2018 22:41:54 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1eu4EQ-000Pza-Mn; Thu, 08 Mar 2018 14:41:52 -0800 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id w28MfohY099917; Thu, 8 Mar 2018 14:41:50 -0800 (PST) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Thu, 8 Mar 2018 14:41:50 -0800 From: Oleksandr Tymoshenko To: ticso@cicely.de Cc: Greg , Roberto Fernandez Cueto , Hans Petter Selasky , freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Bernd Walter Subject: Re: webcamd based touchscreen problem on Pi3 Message-ID: <20180308224150.GA99889@bluezbox.com> References: <20180308163605.GA61875@BWEPCFERNANDEZ> <20180308161645.GF80981@cicely7.cicely.de> <818e1917-0472-c0dd-a9d6-b7532faf4d4b@selasky.org> <20180308163026.z3ptrc7376smnsrt@unrelenting.technology> <20180308191131.GB86413@cicely7.cicely.de> <20180308200849.GC86413@cicely7.cicely.de> <20180308203838.GA98731@bluezbox.com> <20180308222307.GF86413@cicely7.cicely.de> <20180308222944.GA99801@bluezbox.com> <20180308223842.GG86413@cicely7.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180308223842.GG86413@cicely7.cicely.de> X-Operating-System: FreeBSD/11.1-RELEASE-p4 (amd64) User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Bernd Walter (ticso@cicely7.cicely.de) wrote: > On Thu, Mar 08, 2018 at 02:29:44PM -0800, Oleksandr Tymoshenko wrote: > > Bernd Walter (ticso@cicely7.cicely.de) wrote: > > > On Thu, Mar 08, 2018 at 12 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 22:41:55 -0000 Bernd Walter (ticso@cicely7.cicely.de) wrote: > On Thu, Mar 08, 2018 at 02:29:44PM -0800, Oleksandr Tymoshenko wrote: > > Bernd Walter (ticso@cicely7.cicely.de) wrote: > > > On Thu, Mar 08, 2018 at 12:38:38PM -0800, Oleksandr Tymoshenko wrote: > > > > Bernd Walter (ticso@cicely7.cicely.de) wrote: > > > > > On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: > > > > > https://github.com/gonzoua/evdev-dump/tree/freebsd > > > > > ... > > > > > checking for unistd.h... yes > > > > > checking linux/input.h usability... no > > > > > checking linux/input.h presence... no > > > > > checking for linux/input.h... no > > > > > checking for /usr/include/linux/input.h... no > > > > > configure: error: /usr/include/linux/input.h not found > > > > > 4.765u 3.954s 0:08.64 100.8% 31397+2201k 0+27io 0pf+0w > > > > > Exit 1 > > > > > > > > I've just checked, evdev-dump should be buildable: > > > > > > > > git clone git@github.com:gonzoua/evdev-dump.git > > > > cd evdev-dump > > > > git checkout freebsd > > > > sudo pkg install gawk gmake > > > > sh bootstrap > > > > ./configure > > > > gmake > > > > > > That's exactly how I did. > > > Well - I've used git clone https://github.com/gonzoua/evdev-dump.git > > > Even with a fresh clone it failed at the same file. > > > > > > I have the following: > > > /usr/include/dev/evdev/input.h > > > /usr/local/include/linux/input.h > > > /usr/local/include/xorg/input.h > > > > Could you show output of "git branch" and > > "grep -rl /usr/include/linux/input.h ." in cloned directory? > > [55]sa# git branch > * master > [56]sa# grep -rl /usr/include/linux/input.h . > ./configure.ac > ./autom4te.cache/output.0 > ./autom4te.cache/output.1 > ./configure > ./config.log You need freebsd branch. master branch is unmodified version of upstream, all my changes are on freebsd branch. Run: gmake clean git checkout freebsd <- this step is important sh bootstrap ./configure gmake Also you need bash installed, because original .h to .inc conversion script uses some bash-isms. -- gonzo