From owner-freebsd-drivers@FreeBSD.ORG Sun Jan 26 05:15:50 2014 Return-Path: Delivered-To: freebsd-drivers@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 B8BE99CF for ; Sun, 26 Jan 2014 05:15:50 +0000 (UTC) Received: from mail-vb0-x236.google.com (mail-vb0-x236.google.com [IPv6:2607:f8b0:400c:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 71FAE18BB for ; Sun, 26 Jan 2014 05:15:50 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id w20so2728190vbb.13 for ; Sat, 25 Jan 2014 21:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nXSLWWb0lk3KuY1+gGskToGQQ2vhSmqEVO+p1f3PN9Q=; b=WG5+B4neRqrlzBMcEvtJ4UOmmXxqdNRy3E+/Dgc3Y1reRNt9foBGurJPPrQGL2kUSM Plp13zNtfLBjK/VGzJmau/GWQEwAShENkDzdkKX6/pKDmxiln5Vu5adFhovEM6qd/6Yy 8ZNk+OoWum6gpm1g/CaEPKY10jeuE+AiEDKDbqd4eNd86DdYhp6OJXTjV2s+CpPklSvc YkhBkMOO7i6ADTwj/3nPzyDwkmeJMRNBmv4Xb+dbFc6P3cG77QmrCxw5Shx9vyHimMKf n/Jdxz/z22q4DhWcl46i4TpDeCZGXrwDTJs+qKUfXy2xgDsEjvf8+svCeP6Y+5QIvMPQ /LBQ== MIME-Version: 1.0 X-Received: by 10.58.100.100 with SMTP id ex4mr12055586veb.2.1390713349622; Sat, 25 Jan 2014 21:15:49 -0800 (PST) Received: by 10.220.109.145 with HTTP; Sat, 25 Jan 2014 21:15:49 -0800 (PST) Date: Sun, 26 Jan 2014 06:15:49 +0100 Message-ID: Subject: Macbook touchpad driver From: Rohit Grover To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 05:15:50 -0000 Hi, I'm the author of the 'atp' driver for the touchpad devices on Macbooks. For some time now, I've moved away from using FreeBSD on a Macbook and so the atp driver hasn't received any attention. Recently there has been some interest in restoring the atp driver to a current state; there have been a few people asking about it. I'd like to try to refresh the atp driver with support for modern Macbooks if I am provided temporary access to hardware. I'll be having some free time on my hands in February. I live in Germany. Does anyone from the community have a recent Macbook they can spare for a couple of weeks? Else, this may be a nice, small project for someone to take up. thanks, Rohit. From owner-freebsd-drivers@FreeBSD.ORG Sun Jan 26 06:36:38 2014 Return-Path: Delivered-To: freebsd-drivers@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 619BFD9F for ; Sun, 26 Jan 2014 06:36:38 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2F91DDB for ; Sun, 26 Jan 2014 06:36:37 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 1E7991A3C19; Sat, 25 Jan 2014 22:36:31 -0800 (PST) Message-ID: <52E4ACEE.6020207@mu.org> Date: Sat, 25 Jan 2014 22:36:30 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Rohit Grover , freebsd-drivers@freebsd.org Subject: Re: Macbook touchpad driver References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 06:36:38 -0000 On 1/25/14 9:15 PM, Rohit Grover wrote: > Hi, > > I'm the author of the 'atp' driver for the touchpad devices on Macbooks. > > For some time now, I've moved away from using FreeBSD on a Macbook and so > the atp driver hasn't received any attention. > Recently there has been some interest in restoring the atp driver to a > current state; there have been a few people asking about it. I'd like to > try to refresh the atp driver with support for modern Macbooks if I am > provided temporary access to hardware. > > I'll be having some free time on my hands in February. I live in Germany. > Does anyone from the community have a recent Macbook they can spare for a > couple of weeks? Else, this may be a nice, small project for someone to > take up. > > thanks, > Rohit. Can you list which models would work best for you? -- Alfred Perlstein From owner-freebsd-drivers@FreeBSD.ORG Sun Jan 26 08:19:35 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53AF3671 for ; Sun, 26 Jan 2014 08:19:35 +0000 (UTC) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7CB21331 for ; Sun, 26 Jan 2014 08:19:34 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id f15so1155723eak.30 for ; Sun, 26 Jan 2014 00:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=nTewvBGy+3Im+/vl4F+MNmP/jd6/nXl89FbGHipZa6Q=; b=BbPL/nbINJrdwbxBGBtIxn8QSBweekm95QfGwD1PDEsiCxjCywBGAggupoq4UIeMGR WNgaDa1haHwh2jDiMR6SACZkZ/0Qo9PfbiLckTYFcngVJeYozu2nSVLSttZy1nPImpnz GKEer/ElToydtvEyU8qtphjBrdZovmad3mzgC8Jx+tr1BaylNmdIHxrHojtYE2/338JJ 1TeRhF49cwtXu0+Nrbx2dTlp+0SREXTH9KD0UwIBSp3aUUz0vBWMyvZU8FZsFoDxl2nD WCh76OFEdZC+Z2AWv0Y/nLafDTm99Wim9mNjVgTeBbhaUEDpujws/MNNYTDJ5d75B4ZG ZTjg== X-Received: by 10.14.53.1 with SMTP id f1mr7132176eec.24.1390724373120; Sun, 26 Jan 2014 00:19:33 -0800 (PST) Received: from [192.168.1.101] (95-91-243-189-dynip.superkabel.de. [95.91.243.189]) by mx.google.com with ESMTPSA id x1sm26142761een.17.2014.01.26.00.19.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jan 2014 00:19:32 -0800 (PST) Message-ID: <52E4C512.3080402@gmail.com> Date: Sun, 26 Jan 2014 09:19:30 +0100 From: Rohit Grover User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alfred Perlstein , freebsd-drivers@freebsd.org Subject: Re: Macbook touchpad driver References: <52E4ACEE.6020207@mu.org> In-Reply-To: <52E4ACEE.6020207@mu.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5iGhfPB9eI6B3K3aMwlRIWdQCE0vSsWts" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 08:19:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5iGhfPB9eI6B3K3aMwlRIWdQCE0vSsWts Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/26/2014 07:36 AM, Alfred Perlstein wrote: > Can you list which models would work best for you? > I developed the atp driver using a Macbook4,1; which is fairly outdated. A bit of reading shows that the touchpads on modern Macbooks use BCM5974, which "reports both mouse and keyboard events via different interfaces of the same usb device." [https://www.kernel.org/doc/Documentation/input/bcm5974.txt]. This is different from the original atp hardware, and there might be some additional work required here. I'd prefer to add support for something recent. Referring to the sources of the bcm5974 driver in linux, I find we should aim for something at least as recent as a MacbookPro8 (unibody, March 2011) or MacbookAir3,2 (unibody, late 2010). thanks, --=20 --5iGhfPB9eI6B3K3aMwlRIWdQCE0vSsWts Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJS5MUSAAoJEPU+O5mH1kD8kJMP/2IDNODKNYCEOA3vzd1JvRTi +S3Bmdc1QeBdkT/HZ3Elp+u/4LJSx8H47aCloGS8NulNwvi5j9wpL0eaxEsH/QEv 6+2CdbPRopOshscJXuZIF7oXcgiDo3PY9ElOCwpsl5jlKuiWjtjayMkfBs+nrM80 ADCrBvW/QaFF0iuW+M6Tr8tJYcnN0jvlk4Y+wClnpnsk+QHcJAdRrKkI/Har+lox uaWzTsCGaqTVtYdfc9smUJz5D0mZSuayYqpmVpqK6+ZMfdpPpSdI7AucDF80JdKG cecG+6kNjna0XgjccYjmjFsozEC4MGaz3wOHMz+0iY04RpZnHHAJdvyZmcLh4oQz 31FcKO04u81O6FypekvQm707m+z/tVyGiXKKVoWUf96EqKyEDt+2c1o7L6X7Pfkg tIh3cIxsmjerSQoeFCrJzD0eY5CL7isF7F6M8yBjqX7U/w8YMWcUucn2WPFCCF/Y MhzdYOm2flhpcjYLmVoQ3264vZbYVrY3t2QnlcFahY/iSr8dX1S+AwQJjR+1FLn8 1g34ZqHubpgYpxwkhodJvmIvruMmSV1BzytS0aZKk5jsv7AxlwyBk88nk8g7rCcS 6KVeGvSF4qOT3SzAxQYULtkaSNrXls8Irg0d6K4Ac8/gODMRlr6/2Pvjt+khSwAN T5ki8FZXCJwrwnbzzT1p =L2xm -----END PGP SIGNATURE----- --5iGhfPB9eI6B3K3aMwlRIWdQCE0vSsWts-- From owner-freebsd-drivers@FreeBSD.ORG Sat Feb 1 13:21:52 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E155EDDF for ; Sat, 1 Feb 2014 13:21:52 +0000 (UTC) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F13D1E60 for ; Sat, 1 Feb 2014 13:21:52 +0000 (UTC) Received: by mail-yk0-f174.google.com with SMTP id 10so29695194ykt.5 for ; Sat, 01 Feb 2014 05:21:51 -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=K4MZKivx/7mIOZpV+DDIsYstFS6c52ZBzFKGPj6PlXs=; b=PwOPeoWQmSuryknMsxib1nyAFyR6O9gXtl+0LpSzUzk+ui4Lbj2ks9ugl7w3Vmu2IH qzFz5PianJY99aJqEO2neVAsxmECB4jA+wCr6Ut6U9UulVA0DHP2z4rl/byXPsBQVEQe nVAoOZLQOhNz+CpRdoadSSzj2f3J0HCvx2XlDdf1swzGw6b0MHVYz9rGWMrEvQQxeiyA jgBgRVn1kmDV5tGybF7xT/UuPCwsLKp1sq+IS/eSK/zXtFFDuveaEEO8qgIctWAtQhlw MihSIeS/tVOetFm99E0EeouN5vrm+jVyxfPupRtKTSDWMZX0bA+hjbjZB+1tm9QA+2ir rooQ== X-Received: by 10.236.118.201 with SMTP id l49mr745709yhh.78.1391260911836; Sat, 01 Feb 2014 05:21:51 -0800 (PST) Received: from [192.168.137.178] ([201.55.128.238]) by mx.google.com with ESMTPSA id m9sm45679781yha.2.2014.02.01.05.21.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Feb 2014 05:21:51 -0800 (PST) Sender: =?UTF-8?Q?Danilo_Eg=C3=AAa_Gondolfo?= Message-ID: <52ECF5BF.80701@freebsd.org> Date: Sat, 01 Feb 2014 11:25:19 -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-drivers@freebsd.org Subject: Re: Macbook touchpad driver References: <52E4ACEE.6020207@mu.org> <52E4C512.3080402@gmail.com> In-Reply-To: <52E4C512.3080402@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 13:21:52 -0000 On 01/26/14 06:19, Rohit Grover wrote: > On 01/26/2014 07:36 AM, Alfred Perlstein wrote: >> Can you list which models would work best for you? >> > I developed the atp driver using a Macbook4,1; which is fairly outdated. > > A bit of reading shows that the touchpads on modern Macbooks use > BCM5974, which "reports both mouse and keyboard events via different > interfaces of the same usb device." > [https://www.kernel.org/doc/Documentation/input/bcm5974.txt]. This is > different from the original atp hardware, and there might be some > additional work required here. > > I'd prefer to add support for something recent. Referring to the sources > of the bcm5974 driver in linux, I find we should aim for something at > least as recent as a MacbookPro8 (unibody, March 2011) or MacbookAir3,2 > (unibody, late 2010). > > thanks, > Hello, One similar driver was committed on head [1]. Do you think that these two drivers can be merged? Danilo. [1] - http://svnweb.freebsd.org/base?view=revision&revision=261260 From owner-freebsd-drivers@FreeBSD.ORG Sat Feb 1 13:26:39 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87F07F30; Sat, 1 Feb 2014 13:26:39 +0000 (UTC) Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E70A11E8B; Sat, 1 Feb 2014 13:26:38 +0000 (UTC) Received: by mail-ea0-f173.google.com with SMTP id d10so2869401eaj.4 for ; Sat, 01 Feb 2014 05:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=BahdEiPJQ2AvrtF2nEypgl83CfCEtPRb4tpC4738fNc=; b=DbeofiwEAJSNKP3xkigdy/MW+X7vKaLhMdBTlgoED/uARA7xK9J3WxHXjMhExY1LNe faaPyuzIYAc5J79eLsT+qAMNRqfixhPjC90scvMs9ab2uMRdabZkSx56751yUb+3MpUS 8X1ZGEculHbMIBU81A+OFMyGERDj1O+wQmlUX2O86xQYGpsUnq5dpGKWJx0S3MUgnEuJ CTD+Wfo/fcJeWT2ZPLVAD7BoiFTnZcc3L5eyx0o//PQbNCRu707eMLZUU73bFXvM5MBv /yLnvoKHM4C5AiV4fH7rroKpS3wg8T3VVmEkaqwTb4/y/f+bMJkDLRu9FbDlSFNWd7hG fB4w== X-Received: by 10.14.211.71 with SMTP id v47mr31601164eeo.37.1391261196639; Sat, 01 Feb 2014 05:26:36 -0800 (PST) Received: from [192.168.1.102] (95-91-241-97-dynip.superkabel.de. [95.91.241.97]) by mx.google.com with ESMTPSA id b41sm49668069eef.16.2014.02.01.05.26.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Feb 2014 05:26:35 -0800 (PST) Message-ID: <52ECF609.5020608@gmail.com> Date: Sat, 01 Feb 2014 14:26:33 +0100 From: Rohit Grover User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Danilo E. Gondolfo" Subject: Re: Macbook touchpad driver References: <52E4ACEE.6020207@mu.org> <52E4C512.3080402@gmail.com> <52ECF5BF.80701@freebsd.org> In-Reply-To: <52ECF5BF.80701@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tQUAHlXaUFHgWF9FC7qTMApxfXlmgHebU" Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 13:26:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tQUAHlXaUFHgWF9FC7qTMApxfXlmgHebU Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Danilo, > One similar driver was committed on head [1]. > > Do you think that these two drivers can be merged? Yes, perhaps the drivers can be merged. I'll start work on a merge shortl= y. thanks, rohit. --tQUAHlXaUFHgWF9FC7qTMApxfXlmgHebU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJS7PYJAAoJEPU+O5mH1kD8BPAP/jHn4H1h/l+BWX/rX7wMgOil Br1t8to/u6dsXFfjVQobusdYFipeW2KyeCih9DIx13eQtzCNXtpOQ9xUoP6mrHUy d7gvfIqnpPqDX1WrZDAZgdT8TcJB7Af62lfx41m/Cp+BubdporEnOpqxTDjKElKo sXeHSAT1IJq+QnYbRfGbfp6+/phs51C4+sdCRRjxPc8TgJBrK/t6H9MzTTAfgmyT VncpdwHQXPbn8OJS7zNNj1lkr/LcTWDs4NLs6jgRAjSGQkbNNsXpaUuv3lhREjP0 NP9N/NpkJVqa5okZxxgz5/b+WVWC9xEOtQNtfNPBZG3kjxol0wHP3KGX2HCcz92S jXd8RJ3lNpaDPnUXjIWrHdsmBy3gEAI+XVvzaxESupSaa0ViLu/JJ/xcY+Bv61Ok 9saeEIf+J7VcmDnJzPuRvX9kYSlDw4AxTxHi58zuT8Sr0evvp2V5cMDTzZg4gC/k TjXtS+9dIdBwRRhUZUyO+de7s3IEODEHbwGFelBwTH2KW0rWPRY3DlEBQO4yJ/Rh 8XE+d/sMR0WevzoIpic2JdGYXZqfODRz4BMEfxLopEhjiIJ8bRMPjAHZzlEN+jA3 7g6OKgc6LByz9CzNA/OqWPVHSwHNx+7GmddMy1NZJex2niFdv3V7B/tUXO2q1fXG qk/TaRnVyYZcKD7GyMVG =yHrt -----END PGP SIGNATURE----- --tQUAHlXaUFHgWF9FC7qTMApxfXlmgHebU--