Bug 26178 - Support for Apple Aluminium Keyboards
Summary: Support for Apple Aluminium Keyboards
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 16:21 UTC by Damien Ciabrini
Modified: 2010-03-26 18:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Geometries for Apple Aluminium Keyboards (26.17 KB, patch)
2010-01-22 16:21 UTC, Damien Ciabrini
Details | Splinter Review
Keycodes for Apple Aluminium Keyboards (1.59 KB, patch)
2010-01-22 16:23 UTC, Damien Ciabrini
Details | Splinter Review
Symbols for Apple Aluminium keyboards (6.22 KB, patch)
2010-01-22 16:24 UTC, Damien Ciabrini
Details | Splinter Review
Declaration of Apple Aluminium Keyboards (2.11 KB, patch)
2010-01-22 16:24 UTC, Damien Ciabrini
Details | Splinter Review
Evdev rules for Apple Aluminium Keyboards (3.85 KB, patch)
2010-01-22 16:25 UTC, Damien Ciabrini
Details | Splinter Review
Compatibility options for Apple Aluminium Keyboards (2.89 KB, patch)
2010-01-22 16:25 UTC, Damien Ciabrini
Details | Splinter Review
Base rules for Apple Aluminium Keyboards (1.41 KB, patch)
2010-01-22 16:26 UTC, Damien Ciabrini
Details | Splinter Review
PC compatibility option for Apple Aluminium Keyboards (2.59 KB, patch)
2010-02-01 14:52 UTC, Damien Ciabrini
Details | Splinter Review

Description Damien Ciabrini 2010-01-22 16:21:34 UTC
Created attachment 32769 [details] [review]
Geometries for Apple Aluminium Keyboards

Hello,

The following patches aims at providing support for the long, wired version of
Apple Aluminium Keyboards, ANSI, ISO and JIS models.

The support is split in several parts:
  . geometries for all the three models
  . specific symbols found in all three models
  . sets of evdev and base rules
  . XKB options to make the keyboards behave more like PC keyboards

FYI, these patches are an updated version of patches I sent to xorg-devel some weeks ago.
Comment 1 Damien Ciabrini 2010-01-22 16:23:16 UTC
Created attachment 32770 [details] [review]
Keycodes for Apple Aluminium Keyboards
Comment 2 Damien Ciabrini 2010-01-22 16:24:03 UTC
Created attachment 32771 [details] [review]
Symbols for Apple Aluminium keyboards
Comment 3 Damien Ciabrini 2010-01-22 16:24:40 UTC
Created attachment 32772 [details] [review]
Declaration of Apple Aluminium Keyboards
Comment 4 Damien Ciabrini 2010-01-22 16:25:04 UTC
Created attachment 32773 [details] [review]
Evdev rules for Apple Aluminium Keyboards
Comment 5 Damien Ciabrini 2010-01-22 16:25:38 UTC
Created attachment 32774 [details] [review]
Compatibility options for Apple Aluminium Keyboards
Comment 6 Damien Ciabrini 2010-01-22 16:26:04 UTC
Created attachment 32775 [details] [review]
Base rules for Apple Aluminium Keyboards
Comment 7 Sergey V. Udaltsov 2010-01-28 16:22:13 UTC
Some questions:

1. Since most of linux distros are using evdev, why do would we need more mac-specific keycodes (and related mappings)?

2. You've added 2 xkb options. Would it be right to combine them into one?
Comment 8 Damien Ciabrini 2010-02-01 12:47:18 UTC
1. I only provided keycodes in "alukbd" (patch #2) for other like BSDs or Solaris. For those, I needed to define two extra Fkeys F18 and F19. The other two aliases are needed because the geometry files use the evdev name for referencing the eject key (I169) and JIS keypad comma (JPCM).

2. Yes, you're right, since both options are meant to emulate the keys found on regular PC keyboards, it's probably better to merge those two options. 
Comment 9 Damien Ciabrini 2010-02-01 14:52:59 UTC
Created attachment 32983 [details] [review]
PC compatibility option for Apple Aluminium Keyboards

As per comment #8

BTW, would you find it more acceptable if I split patch #2 in two for keeping evdev and base keycodes separated?
Comment 10 Sergey V. Udaltsov 2010-03-26 04:43:29 UTC
Ok, I think this is fine. I will commit that.
Comment 11 Sergey V. Udaltsov 2010-03-26 18:36:17 UTC
Everything is committed. Please check in git. Thanks for contribution!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.