From owner-freebsd-current@FreeBSD.ORG Fri Jan 31 20:26:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5009BD4 for ; Fri, 31 Jan 2014 20:26:46 +0000 (UTC) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 78D2B15FB for ; Fri, 31 Jan 2014 20:26:46 +0000 (UTC) Received: by mail-yk0-f173.google.com with SMTP id 20so26578437yks.4 for ; Fri, 31 Jan 2014 12:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=yKquO1alat4km1h0zSeRfX+UKRViJ4Id3s8u6UOhz18=; b=yalHm7PWeWUzljNJJw71K47C2Wc9rKsGv1VDvksKugXh9nHyxENySy5ABVMxItkzX+ zcmXL6EYiOkYIYwEsbpCInV4HilfgL5DA0mqC+1qm4920KPFBvkZesZydgbyBI93iAYx 8sCRs5p6O/x1E8YrHyUrmr9KJuRewYor9KkGYLx/+nCIV/ZO2mcmFHEXASlH2okTn5Ku Jd77guaM8H0t6JMHCwrlv2J97ApxLCMHbEdIDUPEpFjchrI0uCy99TgSAl4geC1HVRaW pfbsvKOnnyDS4qooH13yxojRa3/NhCDRikL4U7cpTg0fjuv/LVB1VubQ+lqEUoLkkGEJ xaHQ== X-Received: by 10.236.127.134 with SMTP id d6mr1588333yhi.126.1391200005740; Fri, 31 Jan 2014 12:26:45 -0800 (PST) Received: from [192.168.137.178] ([201.55.128.238]) by mx.google.com with ESMTPSA id g26sm37169024yhk.3.2014.01.31.12.26.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Jan 2014 12:26:45 -0800 (PST) Sender: =?UTF-8?Q?Danilo_Eg=C3=AAa_Gondolfo?= Message-ID: <52EC07CE.70608@freebsd.org> Date: Fri, 31 Jan 2014 18:30:06 -0200 From: "Danilo E. Gondolfo" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Apple Trackpad driver References: <52E8DDA3.3070301@bitfrost.no> <52E9F546.9090005@bitfrost.no> <52EB4DBE.20501@bitfrost.no> In-Reply-To: <52EB4DBE.20501@bitfrost.no> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 20:26:46 -0000 On 01/31/14 05:16, Hans Petter Selasky wrote: > On 01/31/14 02:46, Huang Wen Hui wrote: >> Hi Hans, >> >> pos_x[] is not non-inialized, it may be previous pos_x, it is still >> ok for >> getting dx. >> "n" var is trying to reduce "untouch" sensor data for post >> proccessing. I >> attach a new patch >> may be more clear, also fixed unexpected movement when button status or >> ntouch changing. >> >> Cheers, >> >> Huang Wen Hui > > Hi, > > http://svnweb.freebsd.org/changeset/base/261315 > > --HPS > Good work! I noticed that your driver is based on the Linux driver [1] and some pieces of code are copied, are you sure that we won't have any problems with license? These changes can be (should be) merged in the driver atp(4), no? Danilo. [1] - http://lxr.free-electrons.com/source/drivers/input/mouse/bcm5974.c