Comment 3 for bug 17550

Revision history for this message
Paul Syred (paul-syred) wrote :

Hi again, thanks for the update. I tried this but I'm still not getting proper X
events for some buttons. I took the receiver off my KVM switch and am getting
X-events for more buttons, but not all. The best choice of mapping seems to be
the 'Logitech Internet Navigator Keyboard'. With this configuration it's close,
but not perfect at all and so I think a new mapping may need to be added into
Xorg. I'll give you a run down of the buttons with this mapping and their
working/non-working states based on using the existing mapping 'logicink':

XkbModel: logicink 'Logitech Internet Navigator Keyboard

partial alphanumeric_keys
xkb_symbols "logiccdmx" {
    name[Group1]= "Logitech Cordless Desktop MX";

    // Media keys
    key <I20> { [ XF86AudioMute ] }; WORKS
    key <I6D>? { [ XF86AudioMedia ] }; X-EVENT, GIVES
'NoSymbol'
    key <I2E> { [ XF86AudioLowerVolume ] }; WORKS
    key <I30> { [ XF86AudioRaiseVolume ] }; WORKS
    key <I22> { [ XF86AudioPlay, XF86AudioPause ] }; WORKS
    key <I24> { [ XF86AudioStop ] }; WORKS
    key <I10> { [ XF86AudioPrev ] }; WORKS
    key <I19> { [ XF86AudioNext ] }; WORKS

        // Left side
    key <I5F> { [ XF86Standby ] }; WORKS
    key <I6C> { [ XF86Mail ] }; WORKS
    key <I11>? { [ XF86Messenger ] }; X-EVENT, NOT RECOGNISED
    key <I12>? { [ XF86WebCam ] }; X-EVENT, NOT RECOGNISED

    // Right side
    key <I13>? { [ XF86VendorHome ] }; X-EVENT, NOT RECOGNISED
    key <I65>? { [ XF86Search ] }; X-EVENT, GIVES
'NoSymbol'
    key <I14>? { [ XF86Shop ] }; X-EVENT, NOT RECOGNISED
    key <I66> { [ XF86Favorites ] }; WORKS
    key <I02> { [ XF86HomePage ] }; WORKS

    // Wheel buttons
    key <I69> { [ XF86Go ] }; WORKS
    key <I6A> { [ XF86Back ] }; WORKS
    key <I16>? { [ XF86ScrollClick ] }; NO X-EVENT FOR
CLICKING WHEEL

    // Extended function keys
    key <I3B>? { [ XF86New ] }; // F1 NO
X-EVENT WITH F-LOCK OFF
    key <I3C>? { [ XF86Reply ] }; // F2 NO
X-EVENT WITH F-LOCK OFF
    key <FK13>? { [ XF86MailForward ] }; // F3 NO
X-EVENT WITH F-LOCK OFF
    key <FK14>? { [ XF86Send ] }; // F4 NO
X-EVENT WITH F-LOCK OFF
    key <FK15>? { [ Undo ] }; // F5 NO
X-EVENT WITH F-LOCK OFF
    key <FK16>? { [ Redo ] }; // F6 NO
X-EVENT WITH F-LOCK OFF
    key <FK17>? { [ Print ] }; // F7 NO
X-EVENT WITH F-LOCK OFF
    key <I42>? { [ XF86Save ] }; // F8 NO
X-EVENT WITH F-LOCK OFF
    key <I43>? { [ XF86MyComputer ] }; // F9 NO
X-EVENT WITH F-LOCK OFF
    key <I44>? { [ XF86Documents ] }; // F10 NO
X-EVENT WITH F-LOCK OFF
    key <I57>? { [ XF86Pictures ] }; // F11 NO
X-EVENT WITH F-LOCK OFF
    key <I58>? { [ XF86Music ] }; // F12 NO
X-EVENT WITH F-LOCK OFF
};

NOTES:
1.) Keyboard scroll wheel seems to work fine although the X-Events for this look
messed up.
2.) With F-Lock on, the keys F1-F12 work fine. With F-Lock off, there are no
X-events at all.
3.) Clicking the keyboard scroll wheel doesn't produce an X-Event.
4.) The 'My Home' button on the right side produces the right output 'XF86Home'
when using the XkbModel 'logiciinkseusb' - this corresponds to the key <I02> -
see above.