Apple keyboard support
sar01 opened this issue · 6 comments
Apple keyboard does not work at all and dell keyboard works fine.
Can you please provide the keyboard model and hid descriptor? How are you connecting it, I kind of assumed they were bluetooth?
I'll gladly provide a patch if I figure out what's going on...
Connected by USB.
Model:
Apple A1243 MB110LL/A keyboard
hid-decode /sys/bus/hid/devices/0003:05AC:024F.004C/report_descriptor
device 0:0
0x05, 0x01, // Usage Page (Generic Desktop) 0
0x09, 0x06, // Usage (Keyboard) 2
0xa1, 0x01, // Collection (Application) 4
0x05, 0x07, // Usage Page (Keyboard) 6
0x19, 0xe0, // Usage Minimum (224) 8
0x29, 0xe7, // Usage Maximum (231) 10
0x15, 0x00, // Logical Minimum (0) 12
0x25, 0x01, // Logical Maximum (1) 14
0x75, 0x01, // Report Size (1) 16
0x95, 0x08, // Report Count (8) 18
0x81, 0x02, // Input (Data,Var,Abs) 20
0x95, 0x01, // Report Count (1) 22
0x75, 0x08, // Report Size (8) 24
0x81, 0x01, // Input (Cnst,Arr,Abs) 26
0x05, 0x08, // Usage Page (LEDs) 28
0x19, 0x01, // Usage Minimum (1) 30
0x29, 0x05, // Usage Maximum (5) 32
0x95, 0x05, // Report Count (5) 34
0x75, 0x01, // Report Size (1) 36
0x91, 0x02, // Output (Data,Var,Abs) 38
0x95, 0x01, // Report Count (1) 40
0x75, 0x03, // Report Size (3) 42
0x91, 0x01, // Output (Cnst,Arr,Abs) 44
0x05, 0x07, // Usage Page (Keyboard) 46
0x19, 0x00, // Usage Minimum (0) 48
0x2a, 0xff, 0x00, // Usage Maximum (255) 50
0x95, 0x05, // Report Count (5) 53
0x75, 0x08, // Report Size (8) 55
0x15, 0x00, // Logical Minimum (0) 57
0x26, 0xff, 0x00, // Logical Maximum (255) 59
0x81, 0x00, // Input (Data,Arr,Abs) 62
0x05, 0xff, // Usage Page (Vendor Usage Page 0xff) 64
0x09, 0x03, // Usage (Vendor Usage 0x03) 66
0x75, 0x08, // Report Size (8) 68
0x95, 0x01, // Report Count (1) 70
0x81, 0x02, // Input (Data,Var,Abs) 72
0xc0, // End Collection 74
R: 75 05 01 09 06 a1 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02 95 01 75 08 81 01 05 08 19 01 29 05 95 05 75 01 91 02 95 01 75 03 91 01 05 07 19 00 2a ff 00 95 05 75 08 15 00 26 ff 00 81 00 05 ff 09 03 75 08 95 01 81 02 c0
N: device 0:0
I: 3 0001 0001
This looks totally legit, maybe Apple kbd doesn't do boot mode... implementing full hid report mode for keyboards is ongoing. I'd look more into this issue but I unfortunately have no Apple keyboards ...
FWIW I'm using an Apple A1843 connected via USB with no problems.
@sar01 does test_fw.zip make any difference for you?
The version 0.51 fixed the problem and it is working now. Thank you.