Apple USB Keyboard - special keys question
Posted: Sat Mar 05, 2016 4:09 pm
Hi,
I am testing an USB Apple Pro Keyboard: http://ecx.images-amazon.com/images/I/8 ... L1500_.jpg
Under Linux I used usbmon to get the USB packets from the keyboard - https://www.kernel.org/doc/Documentation/usb/usbmon.txt
Most keys on the apple keyboard generate 8 byte packets as expected.
However, the top right keys (volume down, volume up, mute, eject) generate a 4 byte packet.
Please see usbmon output below.
Does someone know what the 4 byte packets are?
Thanks
Press:
F15, volume down, volume up, mute, eject, Q
Output:
I am testing an USB Apple Pro Keyboard: http://ecx.images-amazon.com/images/I/8 ... L1500_.jpg
Under Linux I used usbmon to get the USB packets from the keyboard - https://www.kernel.org/doc/Documentation/usb/usbmon.txt
Most keys on the apple keyboard generate 8 byte packets as expected.
However, the top right keys (volume down, volume up, mute, eject) generate a 4 byte packet.
Please see usbmon output below.
Does someone know what the 4 byte packets are?
Thanks
Press:
F15, volume down, volume up, mute, eject, Q
Output:
Code: Select all
ffff8801037b7c00 1709114067 C Ii:2:003:1 0:8 8 = 00006a00 00000000
ffff8801037b7c00 1709114120 S Ii:2:003:1 -115:8 8 <
ffff8801037b7c00 1709330063 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8801037b7c00 1709330103 S Ii:2:003:1 -115:8 8 <
ffff880103733840 1712198065 C Ii:2:003:2 0:128 4 = 03400000
ffff880103733840 1712198106 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1712454068 C Ii:2:003:2 0:128 4 = 03000000
ffff880103733840 1712454115 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1716294067 C Ii:2:003:2 0:128 4 = 03080000
ffff880103733840 1716294110 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1716550067 C Ii:2:003:2 0:128 4 = 03000000
ffff880103733840 1716550125 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1718854065 C Ii:2:003:2 0:128 4 = 03800000
ffff880103733840 1718854110 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1719110066 C Ii:2:003:2 0:128 4 = 03000000
ffff880103733840 1719110085 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1721542074 C Ii:2:003:2 0:128 4 = 03040000
ffff880103733840 1721542129 S Ii:2:003:2 -115:128 4 <
ffff880103733840 1721798069 C Ii:2:003:2 0:128 4 = 03000000
ffff880103733840 1721798089 S Ii:2:003:2 -115:128 4 <
ffff8801037b7c00 1732466072 C Ii:2:003:1 0:8 8 = 00001400 00000000
ffff8801037b7c00 1732466123 S Ii:2:003:1 -115:8 8 <
ffff8801037b7c00 1732594073 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8801037b7c00 1732594124 S Ii:2:003:1 -115:8 8 <