Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "FredK" <fred.nospam@dec.com>
Subject: Re: HP Integrity rx2600 on eBay
Date: Thu, 21 Oct 2010 15:37:37 -0400	[thread overview]
Message-ID: <i9q2ls$511$1@usenet01.boi.hp.com> (raw)
In-Reply-To: i9pug7$afd$1@speranza.aioe.org


"Snowshoe" <no@spam.please> wrote in message 
news:i9pug7$afd$1@speranza.aioe.org...
> On 10/21/2010 11:37 AM, FredK wrote:
>> Any random USB keyboard should work on VMS.  You can even program
>> translation tables for ones that don't look like a VMS or "standard"
>> (Windows/UNIX) keyboard.
>
> Do you have a pointer to online docs that state how to do so?  I'd like
> to get my <> keys working, then maybe later tweak the others.

Before you jump in at the deep end, run XEV and see if the keys are 
generating something.  If they are, then either make sure you are using the 
right keymap file, modify a keymap file, or use xmodmap or other tool to 
simply map them correctly.

The stuff that allows driver level remapping isn't documented because it 
hasn't been needed - but when I coded things up, I made sure that I would 
not have to write new USB driver code to deal with it... part of the 
end-user issue in making it all public/supported would be for there to be a 
general need - and the user needs to actually know what the keyboard 
generates (which on VMS would require a debug version of the driver, which 
is what I use when I need to).  So - the functionality is not 
documented/supported - if a new KB came out that needed new mapping, I would 
simply spin a new table and build it into the default driver.

 But to see what a mapping table looks like (and the output actually is used 
for the input for a new table) - there is an application in sys$system 
called decw$config.  Find the keyboard device name, run decw$config and tell 
it something like:

show xtab kbd0

This will show you the current mapping, keyboard type and available 
mappings.

show xlate kbd0

This will actually dump the current table in all the nitty gritty detail. 
Fundamentally the table maps the USB keys to an LK401.  So you actually need 
to know what a LK401 generates.  Like I said, it isn't designed for general 
use, but it is a low-level tool for someone who knows the details of 
keyboards.

set xlate kbd0 n

will set the current mapping to the table index "n"

The same command with some optional parameters will load a custom table 
formatted the same way as the dump.




  reply	other threads:[~2010-10-21 19:37 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 18:53 HP Integrity rx2600 on eBay smithfarm
2010-09-30 19:47 ` glen herrmannsfeldt
2010-09-30 19:58   ` smithfarm
2010-09-30 21:09     ` FredK
2010-09-30 21:54       ` smithfarm
2010-09-30 22:17         ` glen herrmannsfeldt
2010-10-01 22:15           ` Richard B. Gilbert
2010-10-01 14:44         ` FredK
2010-10-01 14:47         ` FredK
2010-09-30 21:58     ` BillPedersen
2010-10-01 23:13       ` glen herrmannsfeldt
2010-09-30 23:36 ` Phillip Helbig---undress to reply
2010-10-01 14:50   ` FredK
2010-10-01 17:00   ` Hein RMS van den Heuvel
2010-10-01 18:31 ` Kari Uusimäki
2010-10-01 19:14   ` smithfarm
2010-10-01 22:16     ` urbancamo
2010-10-01 22:38       ` glen herrmannsfeldt
2010-10-01 23:24         ` Rich Jordan
2010-10-01 23:34           ` Alan Frisbie
2010-10-02  5:57       ` smithfarm
2010-10-02 10:07         ` urbancamo
2010-10-11  3:28           ` Snowshoe
2010-10-11 11:37             ` VAXman-
2010-10-18 18:47               ` Snowshoe
2010-10-18 18:58                 ` glen herrmannsfeldt
2010-10-18 21:38                   ` Snowshoe
2010-10-21 15:11                     ` Mark Wickens
2010-10-21 15:12                   ` Mark Wickens
2010-10-21 15:37                     ` FredK
2010-10-21 17:50                       ` Snowshoe
2010-10-21 19:37                         ` FredK [this message]
2010-10-23  3:51                           ` Snowshoe
2010-10-23  6:46                             ` Wilm Boerhout
2010-10-27 18:01                             ` Snowshoe
2010-10-21 20:30                     ` Bob Koehler
2010-10-18 21:06                 ` VAXman-
2010-10-18 21:41                   ` Snowshoe
2010-10-18 22:01                     ` smithfarm
2010-10-02 17:12       ` FredK
2010-10-03  6:18         ` urbancamo
2010-10-02 11:56 ` smithfarm
2010-10-02 15:55   ` urbancamo
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox