Bug 3451 - [XKB] Add support for Logitech Cordless Desktop MX keyboard
Summary: [XKB] Add support for Logitech Cordless Desktop MX keyboard
Status: RESOLVED INVALID
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: doc (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: movetoxkc
Depends on:
Blocks:
 
Reported: 2005-06-01 22:47 UTC by Daniel Stone
Modified: 2008-11-26 16:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-06-01 22:47:14 UTC
Hi,
I am using Ubuntu Hoary 5.04 and have a Logitech Cordless Desktop MX (as sold
in the UK). This comprises of a wireless keyboard with multiple
internet/multimedia keys and an MX700 mouse, both running off a USB/PS2
receiver. The layout is similar to several of the other logitech cordless
keyboards, but I believe that the key maps may be different - see google picture
search.

I have set up the MX700 mouse to work pretty well by manually editing my
/etc/X11/xorg.conf file, but not all of the internet/multimedia keys on my
keyboard aren't recognised (no x events) when I run xev. I have tried setting
the XkbModel option as various different models (logiink, logiinkse,
logiinkseusb, etc) but none seems to work fully. The closest button layout
provided in /etc/X11/xkb/symbols/inet appears to be the logiinkseusb option, as
this seems to have entries for all the internet and multimedia keys, plus the
exact same set of extra functions that you get from pressing F1-F12 with the
F-Lock on. Using this mapping does not work for many of the keys and so I think
a new mapping needs to be added to xorg's keyboard support. As mentioned above,
the buttons mentioned in the entry for logiinkseusb are all present on the model
I have,  

See for pictures of UK Logitech Cordless Desktop MX (my particular model):
http://www.amazon.co.uk/exec/obidos/tg/stores/detail/-/electronics/B0000AI3ZI/pictures/202-4316092-1274263

The keyboard section of my xorg.conf is shown below:
==============
Section "InputDevice"
	Identifier	"Logitech Cordless Desktop MX"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"logiinkseusb"
	Option		"XkbLayout"	"gb"
EndSection
=================

After playing with KDE's keyboard layout configurator a bit, the best choice of
the existing mappings 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 specifically for the Cordless Desktop MX.
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' for
the Logitech Internet Navigator Keyboard:

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.
Comment 1 Alan Coopersmith 2005-10-03 23:41:49 UTC
The original bug report (and submitter e-mail address) were lost in bugzilla disk
crash.   xorg-team e-mail shows this original report:

           Summary: [XKB] Add support for Logitech Cordless Desktop MX
                    keyboard
           Product: xorg
           Version: 6.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: App/xkbcomp
        AssignedTo: xorg-team at lists.x.org
        ReportedBy: paul_syred at hotmail.com


Hi,
I am using Ubuntu Hoary 5.04 and have a Logitech Cordless Desktop MX (as sold
in the UK). This comprises of a wireless keyboard with multiple
internet/multimedia keys and an MX700 mouse, both running off a USB/PS2
receiver. The layout is similar to several of the other logitech cordless
keyboards, but I believe that the key maps may be different - see google picture
search.

I have set up the MX700 mouse to work pretty well by manually editing my
/etc/X11/xorg.conf file, but not all of the internet/multimedia keys on my
keyboard aren't recognised (no x events) when I run xev. I have tried setting
the XkbModel option as various different models (logiink, logiinkse,
logiinkseusb, etc) but none seems to work fully. The closest button layout
provided in /etc/X11/xkb/symbols/inet appears to be the logiinkseusb option, as
this seems to have entries for all the internet and multimedia keys, plus the
exact same set of extra functions that you get from pressing F1-F12 with the
F-Lock on. Using this mapping does not work for many of the keys and so I think
a new mapping needs to be added to xorg's keyboard support. As mentioned above,
the buttons mentioned in the entry for logiinkseusb are all present on the model
I have,  

See for pictures of UK Logitech Cordless Desktop MX (my particular model):
http://www.amazon.co.uk/exec/obidos/tg/stores/detail/-/electronics/B0000AI3ZI/pictures/202-4316092-1274263

The keyboard section of my xorg.conf is shown below:
==============
Section "InputDevice"
	Identifier	"Logitech Cordless Desktop MX"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"logiinkseusb"
	Option		"XkbLayout"	"gb"
EndSection
=================

After playing with KDE's keyboard layout configurator a bit, the best choice of
the existing mappings 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 specifically for the Cordless Desktop MX.
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' for
the Logitech Internet Navigator Keyboard:

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.          
     
Comment 2 Michael Helmling 2006-01-20 02:34:02 UTC
Same here. Anyway, I found a (dirty) solution at kde-look.org:

http://kde-look.org/content/show.php?content=24383

Simply overrides the /.../xkb/symbols/inet with the correct keycodes and has a
bash scripts which sets the right keycodes for the kernel.
This might help you developers to add support for this keyboard. This only works
if the keyboard is plugged into the PS/2 connector, not USB.
I may help you as much as I can, just contact me.
Comment 3 Sergey V. Udaltsov 2006-04-06 07:45:26 UTC
There are many logitech keyboards in xkeyboard-config. Could you please check
whether Logitech Cordless Desktop (two variants) or any other is ok for you?
Comment 4 Benjamin Close 2008-01-11 02:37:34 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 5 Sergey V. Udaltsov 2008-11-26 16:03:03 UTC
No answer. Probably some other logi kbd model already supports all necessary keys


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.