Bug 5789

Summary: logitech lx 700 keyboard support
Product: xkeyboard-config Reporter: Tobias Knieper <tobias.knieper>
Component: docAssignee: xkb
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high Keywords: NEEDINFO
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tobias Knieper 2006-02-02 04:02:51 UTC
I'm using debian unstable with xorg 6.9.0.dfsg.1-4. I bought the Logitech LX700
bundle with a "Cordless Keyboard".

Someone wrote a Patch for Ubuntu, but i think it got lost:
https://bugzilla.ubuntu.com/attachment.cgi?id=2685 (look at
http://bugzilla.ubuntu.com/show_bug.cgi?id=11264 )

Another problem is maybe concerned
https://bugs.freedesktop.org/show_bug.cgi?id=2841 that keycodes higher than 255
are not supported. A few of the multimedia buttons work with the above patch,
but not all. They don't apper in xev or showkey.

Regards,
Tobias
Comment 1 Sergey V. Udaltsov 2006-04-08 12:52:02 UTC
In the attachment there is a script which defines some keycodes. I presume
without them the keyboard model does not work properly. I do not like it very
much. What about non-linux systems? Could you define the subset of keys which
work regardless of the additional mapping - and "extra" keys which require
setkeycodes? At least we could put some comments around...
Comment 2 Tobias Knieper 2006-10-20 14:02:54 UTC
I'm back again with a stable linux system on my desktop machine. It runs ubuntu
edgy (rc1) with xorg version 7.1.1

Keyboard support for the lx700 bundle is now already better but full support is
still not there. I'm currently using XkbModel "ltcd" which uses keycodes from
symbols logitech_base and logitech_set3. I was trying to get the missing keys to
work using some keycodes of the script mensioned in the link above
(http://librarian.launchpad.net/1510263/lx700.patch.txt) but had no luck this day.

I currently don't know how to get furthor on but would help if i could.
Comment 3 Sergey V. Udaltsov 2006-10-21 11:55:21 UTC
Tobias, the only way is run xev utility, record all keycodes generated by you
extended keys - and decide which keysyms you'd find reasonable for them.
But some of the keys may not generate any codes at all (if kernel does not
support them) - then you should tweak the kernel first.
Comment 4 Tobias Knieper 2006-10-25 09:54:03 UTC
The following keycodes work fine:
    key <I01>   {       [ XF86AudioMedia        ]       };
    key <I10>   {       [ XF86AudioPrev         ]       };
    key <I19>   {       [ XF86AudioNext         ]       };
    key <I20>   {       [ XF86AudioMute         ]       };
    key <I21>   {       [ XF86Calculator        ]       };
    key <I22>   {       [ XF86AudioPlay, XF86AudioPause ] };
    key <I24>   {       [ XF86AudioStop         ]       };
    key <I2E>   {       [ XF86AudioLowerVolume  ]       };
    key <I30>   {       [ XF86AudioRaiseVolume  ]       };
    key <I5F>   {       [ XF86Sleep, XF86WakeUp ]       };
    key <I6C>   {       [ XF86Mail              ]       };

The iNav buttons work also fine.

The keyboard layout is shown here:
http://www.logitech.com/index.cfm/products/features/comforttopics/CH/EN,CRID=2074,parentCRID=2060,contentID=9477


The following keys generate no keycodes.
Left:
Zoom Plus
Zoom Minus
Zoom Reset
Close application
Application Switch

Top left:
Open "My Videos" folder
Open "My Music" folder
Open "My Pictures" folder
Open "My documents" folder

Top middle:
Burn
Record
MediaLife
Media Preset 1
Media Preset 2
Media Preset 3
Eject

Top Right:
Instant Messaging
Status (for Instant Messaging)
Webcam

F-Keys:
All keys in special F-Mode.

My kernel does not show a message when an unknown key is pressed. So i don't
know how to get the missing keys to work.
Comment 5 Sergey V. Udaltsov 2006-10-26 16:16:59 UTC
Well, regarding the keys not recognized by the kernel - I am not sure I could be
much help. I'd recommend filing the bug in your distro's bugzilla and hopefully
they will send it upstream.

Regarding your definition - did you try other Logitech keyboards? It seems
Logitech Cordless Keyboard definition matches the one you need...
Comment 6 Joe H 2007-06-05 16:48:13 UTC
Unfortunately I don't have the local.start script that I used to enter the setkeycodes that make this keyboard work (because I've switched to a different keyboard).  But I know I did get all keys working on this keyboard (even the F-mode keys).

This is what I started with (but had to change my Xmodmap because the one there is outdated, and the xev keycodes were different).  It may help you:
http://linux.seindal.dk/2005/06/04/logitech-cordless-desktop-lx700/

The setkeycodes part works perfectly, and then you can use xev to map the keycodes to meaningful keysyms in X.  It may not be the ideal solution, but it does work.
Comment 7 Benjamin Close 2008-01-11 02:37:42 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 8 Sergey V. Udaltsov 2008-12-17 08:29:26 UTC
Closing it since the author did not answer my question for quite a long time

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.