LK201 keyboard
Hi!
I'm currently reworking the LK201 keyboard driver to attach it to the new Input API, as well as letting it use the serio interface (-> this way, you're not bound to dz.c/zs.c).
I've got a little problem with it, though. I've got docs (for the VAX) which describe the LK201 in detail. First of all, the "Set LEDs On" command is wrong there (advertised as 0x12, but 0x13 actually works; this is what the current driver uses, too). That may be a typo, though..
However, the "Set Mode" command (to set the repeat mode for a block of keys) doesn't work for me on a lk201. Using a lk401 instead, these commands work. Every time I send a set-mode command, I get a Input Error (from the keyboard) sent back...
I'd like to ask you DECstation users to verify that the set-mode command actually works for you on a lk201... Or do you all use the newer lk401?
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 3 lines · Jan-Benedict Glaw
I'm currently reworking the LK201 keyboard driver to attach it to the new Input API, as well as letting it use the serio interface (-> this way, you're not bound to
dz.c/zs.c).
Thanks for your effort and please cooperate -- I have some have
half-baked patches for the driver to let it pass native codes for the raw mode as appropriate.
Quoted 4 lines
I've got a little problem with it, though. I've got docs (for the VAX) which describe the LK201 in detail. First of all, the "Set LEDs On" command is wrong there (advertised as
0x12, but0x13actually works; this is what the current driver uses, too). That may be a typo, though..
This is definitely a typo -- 0x12 is a Set Mode command (mode: 1, key
group: 2; a repeat register number follows). The definitions in lk201.h have been verified to be correct.
Quoted 4 lines
However, the "Set Mode" command (to set the repeat mode for a block of keys) doesn't work for me on a lk201. Using a lk401 instead, these commands work. Every time I send a set-mode command, I get a Input Error (from the keyboard) sent back...
Strange -- these work for me.
Quoted 2 lines
I'd like to ask you DECstation users to verify that the set-mode command actually works for you on a lk201... Or do you all use the newer lk401?
I have an LK201 and the current code was tested almost exclusively with
it.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +
On Tue, 2003-10-21 15:51:21 +0200, Maciej W. Rozycki <[email protected]> wrote in message <[email protected]>:
Quoted 6 lines
Quoted 4 lines
However, the "Set Mode" command (to set the repeat mode for a block of keys) doesn't work for me on a lk201. Using a lk401 instead, these commands work. Every time I send a set-mode command, I get a Input Error (from the keyboard) sent back...
Strange -- these work for me.
What the "old" lk driver uses is more-or-less what could be referred as power-on configuration. Even if there are set mode commande - if they were ignored, it would silently work as expected. Could you set all groups to "DOWN_UP_MODE" and verify that it no longer works?
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 4 lines · Jan-Benedict Glaw
What the "old" lk driver uses is more-or-less what could be referred as power-on configuration. Even if there are set mode commande - if they were ignored, it would silently work as expected. Could you set all groups to "
DOWN_UP_MODE" and verify that it no longer works?
No problem -- I'll look at it. We'll need the down/up mode for X11, so
it has to work. Note: the LK4xx series keyboards start in the LK201 compatibility mode -- they have to be switched to the native mode with a command if desired, so unless you are reprogramming your LK401 to its native mode, what works for it should also work for the LK201.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +
On Wed, 2003-10-22 15:56:02 +0200, Maciej W. Rozycki <[email protected]> wrote in message <[email protected]>:
Quoted 3 lines · Jan-Benedict Glaw
No problem -- I'll look at it. We'll need the down/up mode for X11, so
it has to work. Note: the LK4xx series keyboards start in the LK201
Erm, is this even correct if this keyboard isn't used "natively" by X11, but through the Input API?
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 5 lines · Jan-Benedict Glaw
Quoted 2 lines
No problem -- I'll look at it. We'll need the down/up mode for X11, so
it has to work. Note: the LK4xx series keyboards start in the LK201Erm, is this even correct if this keyboard isn't used "natively" by X11, but through the Input API?
For the console (or the cooked mode) we already set up the device
correctly.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +
On Wed, 2003-10-22 19:55:58 +0200, Maciej W. Rozycki <[email protected]> wrote in message <[email protected]>:
Quoted 6 lines · Jan-Benedict Glaw
Quoted 2 lines
Erm, is this even correct if this keyboard isn't used "natively" by X11, but through the Input API?
For the console (or the cooked mode) we already set up the device
correctly.
That doesn't exactly answer my question, but I think I'll figure it out at some time:) At least, if I get XFree through the compiler at some time (on a VAX).
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 9 lines · Jan-Benedict Glaw
Quoted 5 lines
Quoted 2 lines
Erm, is this even correct if this keyboard isn't used "natively" by X11, but through the Input API?
For the console (or the cooked mode) we already set up the device
correctly.That doesn't exactly answer my question, but I think I'll figure it out at some time:) At least, if I get XFree through the compiler at some time (on a VAX).
I've just misunderstood the question -- sorry. For XFree86 the current
state is the "native" support doesn't work as of 3.3.6 (that's what I have) because of broken mappings both in the kernel and in XFree86 and that version doesn't support the input API AFAIK. I'm told the "native" support doesn't work for newer versions of XFree86, either, and I haven't seen any reports about the input API.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +