Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2012 00:10:46 +0100
From:      Steve Roome <steve.roome@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Apple Aluminium Keyboard (w/ numpad) woe
Message-ID:  <20120809231045.GA12535@tv.home.firejug.net>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi all, has anyone got any pointers for why my Apple (A1243)
wired USB keyboard (with numpad, gb/uk model) doesn't want to
report > F13 (and some other keys).

This is on 9.0, though it was the same on 8, 7, and IIRC, 6.

It's clear that the ukbd driver sees the key presses (see below),
but I can't seem to get them to be recognised by syscons.

(Even with a syscons keymap where all the NUL's have become '*')

With ukbd debug via the sysctl I see the following, so clearly ukbd
gets the keys (this output is from pressing, Return, F13, F14, F15)

...

but why doesn't syscons get the keys ?

Aug  9 23:41:09 tv kernel: ukbd_put_key: 0x28 (40) pressed
Aug  9 23:41:09 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:09 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:09 tv kernel: ukbd_put_key: 0x428 (1064) released
Aug  9 23:41:10 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:10 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:10 tv kernel: ukbd_intr_callback: [0] = 0x28
Aug  9 23:41:10 tv kernel: ukbd_put_key: 0x28 (40) pressed
Aug  9 23:41:11 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:11 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:11 tv kernel: ukbd_put_key: 0x428 (1064) released
Aug  9 23:41:12 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:12 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:12 tv kernel: ukbd_intr_callback: [0] = 0x68
Aug  9 23:41:12 tv kernel: ukbd_put_key: 0x68 (104) pressed
Aug  9 23:41:12 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:12 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:12 tv kernel: ukbd_put_key: 0x468 (1128) released
Aug  9 23:41:13 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:13 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:13 tv kernel: ukbd_intr_callback: [0] = 0x69
Aug  9 23:41:13 tv kernel: ukbd_put_key: 0x69 (105) pressed
Aug  9 23:41:13 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:13 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:13 tv kernel: ukbd_put_key: 0x469 (1129) released
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: [0] = 0x6a
Aug  9 23:41:14 tv kernel: ukbd_put_key: 0x6a (106) pressed
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: modifiers = 0x0000
Aug  9 23:41:14 tv kernel: ukbd_put_key: 0x46a (1130) released
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: actlen=8 bytes
Aug  9 23:41:14 tv kernel: ukbd_intr_callback: modifiers = 0x0001
Aug  9 23:41:14 tv kernel: ukbd_put_key: 0xe0 (224) pressed

Thanks very much, and apologies if there's a known answer, it's
not something I've managed to find yet if it is.

	Steve Roome

P.S. I'm hoping for an obvious hint or flag somewhere to set, but
I'm open to doing a bit of code if that's the only way.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120809231045.GA12535>