Bug 657

Summary: logicdit symbol definitions missing from /usr/X11R6/lib/X11/xkb configuration files
Product: xorg Reporter: Jukka Palko <jpalko>
Component: Input/KeyboardAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: mharris, svu
Version: 6.7.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jukka Palko 2004-05-22 01:45:05 UTC
The /usr/X11R6/lib/X11/xkb/rules/xorg.xml lists the logicdit in it, but the files:
/usr/X11R6/lib/X11/xkb/rules/xorg
/usr/X11R6/lib/X11/xkb/rules/xorg.lst
/usr/X11R6/lib/X11/xkb/symbols/inet

do not specify the needed information.

I added the following to /usr/X11R6/lib/X11/xkb/symbols/inet:
---
partial alphanumeric_keys
xkb_symbols "logicdit" {
    name[Group1]= "Logitech Cordless Desktop iTouch";

    key <I5F>   {       [ XF86Standby           ]       };

    key <I20>   {       [ XF86AudioMute         ]       };
    key <I2E>   {       [ XF86AudioLowerVolume  ]       };
    key <I30>   {       [ XF86AudioRaiseVolume  ]       };
    key <I22>   {       [ XF86AudioPlay, XF86AudioPause ] };
    key <I24>   {       [ XF86AudioStop         ]       };
    key <I10>   {       [ XF86AudioPrev         ]       };
    key <I19>   {       [ XF86AudioNext         ]       };

    key <I32>   {       [ XF86HomePage          ]       };
    key <I6C>   {       [ XF86Mail              ]       };
    key <I65>   {       [ XF86Search            ]       };
    key <I66>   {       [ XF86Go                ]       };
};
---

And did the following modification to /usr/X11R6/lib/X11/xkb/rules/xorg from:
---
              rapidaccess rapidaccess2 rapidaccess2a \
              ltcd logiaccess logicdp logicdpa logicink logiciink \
              logiinkse logiinkseusb logiik itouch \
---
to:
---
              rapidaccess rapidaccess2 rapidaccess2a \
              ltcd logiaccess logicdp logicdpa logicdit logicink logiciink \
              logiinkse logiinkseusb logiik itouch \
---

Also modifying the /usr/X11R6/lib/X11/xkb/rules/xorg.lst from:
---
  logicdpa      Logitech Cordless Desktop Pro (alternate option)
  logiaccess    Logitech Access Keyboard
---
to:
---
  logicdpa      Logitech Cordless Desktop Pro (alternate option)
  logicdit      Logitech Cordless Desktop iTouch
  logiaccess    Logitech Access Keyboard
---
Comment 1 Mike A. Harris 2006-02-26 08:58:10 UTC
Is this still relevant in X11R7.0 with xkbdata or xkeyboard-config? If so,
someone should check the changes into CVS so it's included in the next
release, however that would be much easier if the reporter would attach
a unified diff (diff -u) to the bug report as a file attachment, which
implements the necessary changes against the current source code (not
the files installed on the system).

HTH
Comment 2 Jukka Palko 2006-02-26 22:00:11 UTC
Personally have changed to a Logitech Media keyboard, which has not either had
any  sufficient definitions thus far on 6.8 xorg. Will 7.x have definitions in a
way or another for my newer keyboard? :)
Comment 3 Mike A. Harris 2006-02-27 05:39:44 UTC
That depends on wether or not someone who has one of those keyboards,
spends the time to add support for their keyboard, creates a unified
diff of their changes - against the sources, and submits a bug report
with their patch attached.

Support is generally added for any type of hardware, either when a vendor
wants their hardware supported, or otherwise when someone does the work
for themselves, so that their hardware is supported, and submits it
properly.

I can't imagine random X developers running out to buy one of every
keyboard out there for example, just for the priveledge of trying to
add support for them all.  ;o)

Volunteers?

Comment 4 Jukka Palko 2006-02-27 18:51:08 UTC
I'm quite willing to contribute my efforts as soon as I have time to install
Xorg 7 on my gentoo.
Comment 5 Sergey V. Udaltsov 2006-02-28 10:46:14 UTC
There is logicdit in xkeyboard-config. Since xkbdata is generally not
maintained, I am closing this one.

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.