[xk-c] new logitech layout

Bug #17550 reported by Paul Syred
6
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Invalid
Medium
Tollef Fog Heen

Bug Description

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. I believe the same model was on sale in the US with the name 'Cordless
Elite Duo' - see google picture search.

I have set up the 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 seem to work fully. The closest mapping provided in
/etc/X11/xkb/symbols/inet appears to be the logiinkseusb option, as this seems
to have entries for the extra functions that you get from pressing F1-F12 with
the F-Lock on, but again, this doesn't produce any X events for certain of the
multimedia keys and so I think a new mapping needs to be added to xorg's
keyboard support. The buttons mentioned in the entry for logiinkseusb are all
present on the model I have, but I think I have an additional 'Go' button
beneath my keyboard's scroll wheel.

I realise this may not be Ubuntu's bug as it is in xorg, but if you could pass
it on to the right people for me that would be great. For completeness I have
copied my current xorg.conf file below.

Best wishes,

Paul S.

-------------

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
 FontPath "unix/:7100" # local font server
 # if the local font server has problems, we can fall back on these
 FontPath "/usr/lib/X11/fonts/misc"
 FontPath "/usr/lib/X11/fonts/cyrillic"
 FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/lib/X11/fonts/Type1"
 FontPath "/usr/lib/X11/fonts/CID"
 FontPath "/usr/lib/X11/fonts/100dpi"
 FontPath "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
 Load "GLcore"
 Load "bitmap"
 Load "dbe"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "record"
 Load "type1"
 Load "v4l"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Logitech Cordless Desktop MX"
 Driver "keyboard"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "logiinkseusb"
 Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ExplorerPS/2"
# Option "Emulate3Buttons" "true"
 Option "ZAxisMapping" "4 5"
 Option "Buttons" "9"
EndSection

Section "Device"
 Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
 Driver "nvidia"
 BusID "PCI:2:0:0"
# Option "UseFBDev" "true"
EndSection

Section "Monitor"
 Identifier "Monitor0"
 Option "DPMS"
# HorizSync 30-130
# VertRefresh 60-160
# Modeline "1600x1200@94" 360.00 1600 1632 2992 3024 1200 1221 1239 1261
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
 Monitor "Monitor0"
 DefaultDepth 24
 SubSection "Display"
# Viewport 0 0
  Depth 24
  Modes "1600x1200"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Logitech Cordless Desktop MX"
 InputDevice "Configured Mouse"
EndSection

Section "DRI"
 Group 0
# Mode 0666
EndSection

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

If it's similar to the Cordless Elite Duo, then XkbLayout 'us+inet(logicdp)'
should work (this is what I have).

Revision history for this message
Paul Syred (paul-syred) wrote :
Download full text (3.8 KiB)

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>? { ...

Read more...

Revision history for this message
Robin Lionheart (ubuntu-bugs-robinlionheart) wrote :

Created an attachment (id=2630)
Add Cordless Desktop LX 700 to xkb

The Logitech Cordless Desktop LX 700 may be closer to the MX than the Internet
Navigator. Here's a patch file of my changes to xkb to enable all its special
keys.

Revision history for this message
Robin Lionheart (ubuntu-bugs-robinlionheart) wrote :

Created an attachment (id=2685)
Add Cordless Desktop LX 700/MX 3000 to xkb

Apparently LX 700 and MX 3000 are alike, so reflect that in name strings.

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

Thanks for all the updates. I've added my original comments as a new bug on the
xorg bugzilla - see:

https://bugs.freedesktop.org/show_bug.cgi?id=3451

I do think the Cordless Desktop MX is different from both the MX 3100 and the LX
700 models though. See comments above for the precise key layout. Also, for some
pictures, see

http://www.logitech.com/index.cfm/products/details/GB/EN,CRID=2162,CONTENTID=6831

There seem to be a couple of bugs on Xorg's bugzilla that are similar, including
a couple for the Bluetooth models. I have been doing a bit more research on this
issue and so when I get some time, I am going to experiment a bit by writing a
new keymap and possibly posting it here and on the xorg bugzilla, but if someone
else beats me to it then that's good too.

Revision history for this message
Daniel Stone (daniels) wrote :

could you please reattach everything to the bug upstream? sadly it got lost in
the big bugzilla crash at fd.o. also it would be better if you could assign it
to the xkeyboard-config project (product xkbdesc, I think).

Daniel Stone (daniels)
Changed in xkeyboard-config:
assignee: daniels → nobody
Matt Zimmerman (mdz)
Changed in xkeyboard-config:
assignee: nobody → tfheen
Revision history for this message
trollord (trollenlord) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in xkeyboard-config:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.