[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please test Macintosh keyboards with xkb-data 0.8-12exp1

On Mon, Sep 11, 2006 at 10:15:38PM +0200, Denis Barbier wrote:
> On Mon, Sep 11, 2006 at 03:50:37PM +0200, Michael Schmitz wrote:
> > Please pick another name - macintosh_old is strictly for ADB Macs that use
> > a very old kernel (or a compatibility feature) to send keycodes in the ADB
> > mapping. The very same ADB Macs now use PC style keycode mapping; that's a
> > kernel side issue only! macintosh_old is clearly more appropriate than
> > macintosh_adb. If you want to make this any clearer, use a name like
> > macintosh_oldkernel or some abbreviation of this.
> I do not understand why macintosh_adb is wrong, but hey, I know nothing
> about Macs, so I will put what you folks are telling me; let's keep
> macintosh_old.

The issue is not between ADB and USB keyboards, but between new and old
kernels. If you go back enough, the ADB drivers used to pass through raw
keycodes up to userspace. With the move to the unified input layer, the
ADB keyboard driver translates the raw ADB codes to standard PC keycodes.
The macintosh_old mapping is for people using ADB keyboards with a kernel
old enough that it does not do translation. The same hardware with a
newer kernel sends PC style keycodes and doesn't need macintosh_old.

> Now there is one question left: what is the standard model?
> In the terminoology of xkb-data 0.8-12exp1, is this macintosh_old2
> or macintosh?  I would say the former, since these are the same keycodes
> as with PC keyboards, but I would be glad if someone could confirm.
> Oh, one more question: what is a good name for the alternative model?
> What about macintosh_swap?

Ideally, the kernel should send up the same codes as a PC keyboard.

	Brad Boyer

Reply to: