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

Re: german keymap for old iBook



> > As I have already pointed out, a utility for this was posted to this
> > list some time ago.
>
> I guess you mean the "fnset" utility which was posted on this list. I
> tried this one today and it didn't work for me out-of-the-box. I found
> out that the correct value of "type" has to be 0x05 for my iBook
> tangerine, then it works fine.

Entirely possible; I had to use some other value than the default for the
Lombard as well.

> But I still couldn't figure out where, when and why this setting is
> changed.

It depends on the actual type of keyboard used in the machine (ANSI, ISO,
language perhaps). The information about default address and handler ID is
preserved by the kernel but not exposed to user space via /dev/adb - we
could just use that info to find the keyboard otherwise. Ideas welcome -
the sanest thing might be to implement /dev/adb ioctls and export some
device info that way. /proc/bus/adb might be another way (it's in adb.c's
TODO list for ages).
Note to Paul or BenH: receiving a particular devices' autopoll data is
done by the new input layer these days, no need to list that as TODO.

	Michael



Reply to: