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

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

> keyboards). The kernel should detect this and always generate the same
> PC-style keycodes, but fails to do so in some cases. I think the
> keyboard type can be deferred from
> dmesg|grep 'adb devices'
> but I forget how exactly.

dmesg|grep -A 10 'adb devices'

shows the whole set of kernel ADB detection messages

In my case (5,5):

adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
input: ADB keyboard as /class/input/input1
input: ADB Powerbook buttons as /class/input/input2
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input3
adb: finished probe task...

The [] stuff is the ADB ID, the next two numbers are the response from the
device upon inquiry - the first byte echos the device ID, the second one
encodes the device default handler ID and capabilities IIRC. [7] is the
button device.

I suspect there's a number of devices that are not correctly recognized as
ISO devices and don't get their keys swapped (type ANSI is reported in
that case). Collecting the above imformation from these devices may aid in
fixing the kernel driver.


Reply to: