Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make the Chicony Wireless Internet Keyboard work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bosko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2003
Posts: 114
Location: The Netherlands

PostPosted: Sat Jan 21, 2006 8:19 pm    Post subject: Make the Chicony Wireless Internet Keyboard work Reply with quote

I have a wireless Chicony internet keyboard (model: KBR0108) and I couldn't get my multimedia keys to work with the chicony/chicony9885 layouts in Xorg, so I made my own layout. To make it work on your computer too, just follow the simple instructions below.
Simply add this to /usr/X11R6/lib/X11/xkb/symbols/inet:
Code:

partial alphanumeric_keys
xkb_symbols "chicony_wireless" {
    name[Group1]= "Chicony Wireless Internet Keyboard";
//Left column
   key <I3C>   {   [ XF86Cut   ]   };
   key <I78>   {   [ XF86Copy]   };
   key <K65>   {   [ XF86Paste   ]   };
//Top row
   key <I5F>   {   [ XF86Sleep   ]   };
   key <I21>   {   [ XF86Calculator   ]   };
    key <I24>   {   [ XF86AudioStop      ]   };
   key <I10>   {   [ XF86AudioPrev   ]   };
   key <I19>   {   [ XF86AudioNext   ]   };
   key <I22>   {   [ XF86AudioPlay, XF86AudioPause ] };
   key <I20>   {   [ XF86AudioMute      ]   };
   key <I30>   {   [ XF86AudioRaiseVolume      ]   };
   key <I2E>   {   [ XF86AudioLowerVolume      ]   };
   key <I02>   {   [ XF86WWW   ]   };
   key <I6C>   {   [ XF86Mail      ]   };
   key <FK17>   {   [XF86Search   ]   };
   key <I6A>    {   [ XF86Back      ]   };
   key <I69>    {   [ XF86Forward   ]   };
   key <I66>   {   [ XF86Favorites      ]   };
};


Then in /usr/X11R6/lib/X11/xkb/rules/xorg find the section that begins with "! $inetkbds" and add "chicony_wireless" somewhere in the middle. It should looks like this then:
Code:

! $inetkbds = airkey acpi scorpius azonaRF2300 \
...
chicony chicony9885 chicony_wireless \
...


In the file /usr/X11R6/lib/X11/xkb/rules/xorg.lst find the "! model" section and add "chicony_wireless Chicony Wireless Internet Keyboard" somewhere in the middle. It should look like this then:
Code:

! model
...
chicony_wireless Chicony Wireless Internet Keyboard
...


Finally open /usr/X11R6/lib/X11/xkb/rules/xorg.xml and locate the "chicony" model, and insert the following code after that:
Code:

    <model>
      <configItem>
        <name>chicony_wireless</name>
        <description>Chicony Wireless Internet Keyboard</description>
        <description xml:lang="nl">Chicony draadloos internet toetsenbord</description>
      </configItem>
    </model>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum