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