From owner-freebsd-usb@FreeBSD.ORG Sat May 16 17:58:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B477106566B for ; Sat, 16 May 2009 17:58:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id A56608FC0C for ; Sat, 16 May 2009 17:58:58 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=TUa3oeW83E4A:10 a=ABjp9MRm-CUA:10 a=6I5d2MoRAAAA:8 a=LJRWJvOVYrbC69Wi8nsA:9 a=dtMTn9AD5vDhRWIuqHUA:7 a=n3ZdUichFi9rs4ewRkoEVA6HxEgA:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO [10.0.0.229]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1242524307; Sat, 16 May 2009 19:58:56 +0200 From: Hans Petter Selasky To: Christoph Langguth Date: Sat, 16 May 2009 20:01:29 +0200 User-Agent: KMail/1.9.7 References: <4A0DC89C.6010708@rosenkeller.org> <200905160829.18377.hselasky@c2i.net> <4A0EDB45.8020903@rosenkeller.org> In-Reply-To: <4A0EDB45.8020903@rosenkeller.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905162001.30735.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: How to add support for Macbook Pro (USB) keyboard? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 17:58:59 -0000 Hi Christoph, Download the two patched files from P4, ukbd.c and usbhid.h, and put them under sys/dev/usb/input and sys/dev/usb/ respectivly. Then recompile the ukbd module and/or kernel. The attach failure was due to a bug in the previous patch where I had forgotten to update N_TRANSFER. http://perforce.freebsd.org/chv.cgi?CH=162165 I've tried to make your patch more formal so that we don't have to list the VID+PID for every Apple Keyboard around. --HPS