Re: IBM Rapid Access Keyboard

From: Matthijs Melchior (mmelchio@xs4all.nl)
Date: Wed Jul 12 2000 - 17:33:02 EST


Andries,

Dennis Bjorklund wrote:
>
> On Wed, 12 Jul 2000, Andries Brouwer wrote:
>
> > > I have a Rapid Access keyboard with some (14) extra buttons and
> > > two more leds then a normal pc keyboard. To activate the extra buttons
> > > one have to send the sequence ec ea 71 ec ea 71 to the keyboard. Once
> > > that is done the extra keys generate normal e0xx sequences.
> >
> > Good. Which sequences?

OK, one more for the archives:

Chicony KBP-8993 keyboard

Enable 14 extra keys: send: ea 71
Disable extra keys: send: ea 70

When enabled the keys generate the following scan codes:

   Moon: e0 25
    WWW: e0 32
    DOS: e0 30
  MyDoc: e0 17
   Menu: e0 26
    zzZ: e0 1e
  Close: e0 2e
   Stop: e0 24
   Back: e0 23
   Play: e0 22
Forward: e0 21
   Mute: e0 20
VolDown: e0 12
  VolUp: e0 19

The two extra leds, above the Moon key, and next to the zzZ key
are manipulated by sending: eb 00 0x, where bit 0 is the Moon led
and bit 1 is the zzZ led.

I use the following script to let the keys do something on the console,
nothing usefull, and I don't know how to detect them when running X.

------ set-extra ---------
#
# define extra chicony_KBP-8993 keys

PATH=/etc/kbd:/bin

loadkeys <<!~!
keycode 89 = F200
string F200 = "Moon"
keycode 90 = F201
string F201 = "WWW"
keycode 91 = F202
string F202 = "DOS"
keycode 92 = F203
string F203 = "MyDoc"
keycode 93 = F204
string F204 = "Menu"
keycode 94 = F205
string F205 = "zzZ"
keycode 95 = F206
string F206 = "Close"

keycode 112 = F207
string F207 = "Stop"
keycode 113 = F208
string F208 = "Back"
keycode 114 = F209
string F209 = "Play"
keycode 115 = F210
string F210 = "Forward"
!~!

            # Moon # WWW # DOS # MyDoc # Menu # zzZ #
Close
setkeycodes e025 89 e032 90 e030 91 e017 92 e026 93 e01e 94 e02e
95

            # Stop # Back # Play # Forward # Mute # VolDown #
VolUp
setkeycodes e024 112 e023 113 e022 114 e021 115 e020 116 e012 117 e019
118

kbd_cmd ea 71 # Enable extra keys

---- EOF -------
....

Regards,

-- 
----------------------------------------------------------------  -o)
Matthijs Melchior                                       Maarssen  /\\
mmelchio@xs4all.nl          +31 346 570616           Netherlands _\_v
---------------------------------------------------------------- ----

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:15 EST