From owner-freebsd-usb@FreeBSD.ORG Sun Mar 14 11:02:45 2010 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 6646D1065674 for ; Sun, 14 Mar 2010 11:02:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id BADDD8FC0A for ; Sun, 14 Mar 2010 11:02:44 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=8-LOXV1aLNAA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=r_kkXxauAAAA:8 a=GKysJfYJAAAA:8 a=6I5d2MoRAAAA:8 a=VjUmsndnmNGmk0tlHgEA:9 a=D6pncs1WcnxMn9ijEEAA:7 a=yIg69xxylec0-bjdqdazGmc0v8cA:4 a=PUjeQqilurYA:10 a=1C6itdonJusA:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1372145395; Sun, 14 Mar 2010 12:02:42 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Steven Noonan Date: Sun, 14 Mar 2010 12:01:03 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201003141030.o2EAU40v018339@freefall.freebsd.org> In-Reply-To: <201003141030.o2EAU40v018339@freefall.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003141201.03617.hselasky@c2i.net> Cc: Subject: Re: usb/144414: Apple "Fn" key doesn't work properly 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: Sun, 14 Mar 2010 11:02:45 -0000 On Sunday 14 March 2010 11:30:04 Steven Noonan wrote: > The following reply was made to PR usb/144414; it has been noted by GNATS. > > From: Steven Noonan > To: perryh@pluto.rain.com > Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org > Subject: Re: usb/144414: Apple "Fn" key doesn't work properly > Date: Sun, 14 Mar 2010 03:26:19 -0700 > > On Thu, Mar 4, 2010 at 12:01 AM, Steven Noonan > wrot= > > e: > > On Wed, Mar 3, 2010 at 11:00 PM, Steven Noonan > > wr= > > ote: > >> On Wed, Mar 3, 2010 at 10:36 PM, =C2=A0 wrote: > >>> Steven Noonan wrote: > >>>> Interestingly, my tilde key doesn't work either (though the key > >>>> press is detected, no character shows when the key is pressed). > >>> > >>> Any chance it is configured as a "dead" key? =C2=A0If you press > >>> tilde followed by n do you get an n with a tilde over it? > >> > >> Nope. It simply does nothing in the console. > >> > >> But in X11, it does something very odd. Shift+Tilde Key gives me '>', > >> and Tilde Key gives me '<'. And Alt+Tilde gives me... What? I don't > >> even know what action. It's grabbing some arbitrary command in my > >> .bash_history. It gave me the first item in my .bash_history the first > >> time I tried it. Then I tried an arbitrary command ("echo"), and then > >> Alt+Tilde gave me the second command in my .bash_history. Whaa? > > Any more ideas/news on this from anyone? > > The tilde key thing is especially irritating. > static uint8_t ukbd_apple_swap(uint8_t keycode) { switch (keycode) { case 0x35: return 0x64; case 0x64: return 0x35; default: return keycode; } } Can you try to change the function above in ukbd.c to only return keycode? Any difference? --HPS