From owner-freebsd-arch@FreeBSD.ORG Sat Mar 27 09:27:32 2010 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88655106564A; Sat, 27 Mar 2010 09:27:32 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 2230F8FC08; Sat, 27 Mar 2010 09:27:32 +0000 (UTC) Received: from [195.4.92.12] (helo=2.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #2) id 1NvSIk-0003Fu-RO; Sat, 27 Mar 2010 10:27:30 +0100 Received: from p57ae0231.dip0.t-ipconnect.de ([87.174.2.49]:59680 helo=ernst.jennejohn.org) by 2.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #2) id 1NvSIk-0005SE-IO; Sat, 27 Mar 2010 10:27:30 +0100 Date: Sat, 27 Mar 2010 10:27:29 +0100 From: Gary Jennejohn To: Gleb Smirnoff Message-ID: <20100327102729.3bb8fba4@ernst.jennejohn.org> In-Reply-To: <20100326211706.GI18894@FreeBSD.org> References: <20100326211706.GI18894@FreeBSD.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.org Subject: Re: touch panel support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 09:27:32 -0000 On Sat, 27 Mar 2010 00:17:06 +0300 Gleb Smirnoff wrote: > Hello, > > I've got a display with touch panel, and I'd like to get in working > in FreeBSD. The touch panel is supported by NetBSD's uep(4). So far, > I have written uep(4) for FreeBSD, that successfully reads and parses > data from the USB touch panel device. > > And then I've got a problem. Our mouse subsystem is not ready for > touch panels. Our mouse(4) protocol does not support mouse driver > passing _absolute_ coordinates to the mouse(4) subsystem. It only > expects a relative movement of the mouse. But _absolute_ coordinates > are principal idea of any touch panel. > > The lesser problem is lack of generic support for touch panel > calibration. > > Both of these problems are solved in NetBSD. They've got a wsmux(4) > device, just like our kbdmux(4), but for mice. This mouse multiplexer > can also understand absolute coordinates from underlying mice drivers. > NetBSD also has a generic support for calibration of touch panels. > > What is the FreeBSD future way to go: port things for NetBSD? Write > something different? > IMO we should go for porting what NetBSD has. -- Gary Jennejohn