Bug 11713 - Keybindings for BenQ X500
Summary: Keybindings for BenQ X500
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 10:59 UTC by Kiro Zimmer
Modified: 2007-07-25 09:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch for support BenQ X500 (2.46 KB, text/x-diff)
2007-07-24 11:01 UTC, Kiro Zimmer
Details

Description Kiro Zimmer 2007-07-24 10:59:08 UTC
a patch to add support for the BenQ X500
Comment 1 Kiro Zimmer 2007-07-24 11:01:56 UTC
Created attachment 10870 [details]
patch for support BenQ X500

patch for files:

xkeyboard-config/rules/base.lists.part
xkeyboard-config/rules/base.xml.in
xkeyboard-config/symbols/inet
Comment 2 Sergey V. Udaltsov 2007-07-24 16:29:33 UTC
Actually, your keyboard is essentially same as BenQ730. I just added two keys to existing description from your definition - and I think there is no huge problem to have XF86AudioMedia (which is used in all I6D definitions) instead of XF86Fn. This way I avoid creating duplicated keyboard, if you don't mind. I'll put your keyboard into the compatibility list though.

Is this ok?

PS I am thinking about consolidating all BenQ X keyboard into one...
Comment 3 Kiro Zimmer 2007-07-24 21:15:22 UTC
Merging is a good idea. :-)

But I think FN_LOCK should *not* generate XF86AudioMedia, therefore I have
changed the numbers a little, which should match better:

key <I02> { [ XF86ModeLock ] };
key <I2B> { [ XF86Go ] };
key <I5F> { [ XF86ScreenSaver ] };

But could you also add the comment, which explains how to setup these two
keys until they are recognized by default from the linux-kernel?

// to make the FN_LOCK and CONFIG key work on the BenQ X500 , use ...
// setkeycodes e074 130 # KEY_PROPS  from /usr/include/linux/input.h
// setkeycodes e075 171 # KEY_CONFIG from /usr/include/linux/input.h

Thank You,
Kiro
Comment 4 Sergey V. Udaltsov 2007-07-25 09:36:02 UTC
(In reply to comment #3)
> Merging is a good idea. :-)
> 
> But I think FN_LOCK should *not* generate XF86AudioMedia, therefore I have
> changed the numbers a little, which should match better:
Great, I like this one even better!

> But could you also add the comment, which explains how to setup these two
> keys until they are recognized by default from the linux-kernel?
Of course!

Thanks, I'll commit it ASAP.
Comment 5 Sergey V. Udaltsov 2007-07-25 09:47:24 UTC
Committed!


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.