From owner-svn-src-head@FreeBSD.ORG Sun May 31 23:32:38 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A375106564A; Sun, 31 May 2009 23:32:38 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE668FC1E; Sun, 31 May 2009 23:32:37 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy8 with SMTP id 8so4016865ewy.43 for ; Sun, 31 May 2009 16:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=Ww8KbWpmPFo+R7HBmlkZUg1OsfW9CH5j6u3gNTaQQkY=; b=Kpj3eZmUSNhJwTgyzAmCvGczH7cIWEyVED1OeqACBJ253n0wbT+S/B5kmSrauZHcsc FZXUylmbB681iBokNwb1pESJys2KZfLnYtw84l/1h5SI3uG1GHfJRZWJ/TlmDnsf0U69 5fg3VUZWD/sJNE04MgTXZznHJ5Img1sDD3kNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=DpL/b3TK6dph1OEgThWArUqz7zjF9OqgpGI1jWu1W7mK1IWmMR6joGfaBEgqWUghwQ CKMtWkOFwumkPFV7dAn5gthUI5tUxB3Zf8xdtRHFrU4BIvvjFHGisHYWtV+nAqgMSIcG fIa6rg6jEK1ijEVYcxNI/rCSjwYbeRzW4JKvU= Received: by 10.210.67.4 with SMTP id p4mr3274166eba.36.1243812756532; Sun, 31 May 2009 16:32:36 -0700 (PDT) Received: from epsilon.lan (bl7-116-14.dsl.telepac.pt [85.240.116.14]) by mx.google.com with ESMTPS id 10sm209915eyd.42.2009.05.31.16.32.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 May 2009 16:32:35 -0700 (PDT) Sender: Rui Paulo Message-Id: From: Rui Paulo To: Andrew Thompson , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Hans Petter Selasky In-Reply-To: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-8--782418027" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 1 Jun 2009 00:32:34 +0100 References: <200905271927.n4RJRUH8009289@svn.freebsd.org> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.935.3) Cc: Subject: Re: svn commit: r192925 - in head/sys/dev/usb: . input X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 23:32:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-8--782418027 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Including Hans on the list. On 30 May 2009, at 22:18, Rui Paulo wrote: > > On 27 May 2009, at 20:27, Andrew Thompson wrote: > >> Author: thompsa >> Date: Wed May 27 19:27:29 2009 >> New Revision: 192925 >> URL: http://svn.freebsd.org/changeset/base/192925 >> >> Log: >> Add support for the Apple MacBook Pro keyboard >> - add key mappings for fn keys >> - byte swapping for certain models >> - Fix leds for keyboards which require an ID byte for the HID >> output structures >> >> Submitted by: Hans Petter Selasky > > Oh, very nice! I've failed to do this with the old usb stack. > This should work on a macbook too, right? > > The eject key was easily handled on user space (at least with the > old usb stack). Why is it being handled in kernel now? Here's how it worked: http://wiki.freebsd.org/AppleMacbook#head-7eab3730c3bf3d04bdfb0d1d3649eaddf2fed595 If there's any problem with the userland approach, I would like to know. If there isn't, please consider removing the kenrel support for the eject key. I'm assuming this can be done on the new USB stack too (likely). Thanks. -- Rui Paulo --Apple-Mail-8--782418027 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkojE5IACgkQfD8M/ASTygImhgCgzs6MUHurk8gfZK2jNI2mLlb4 uhIAnA3djpnb/sPdPdEZuewF0+psOsSe =ImUh -----END PGP SIGNATURE----- --Apple-Mail-8--782418027--