<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using a non-standard keyboard in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004272#M911650</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1)  Look at man xmodmap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)   &lt;A href="http://www.docs.hp.com" target="_blank"&gt;www.docs.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search&lt;BR /&gt;&lt;BR /&gt;using the X window system&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
    <pubDate>Mon, 23 Jun 2003 13:36:42 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2003-06-23T13:36:42Z</dc:date>
    <item>
      <title>Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004271#M911649</link>
      <description>Does anyone know how to remap keycodes from a non-standard keyboard in HP-UX 11.11?&lt;BR /&gt;&lt;BR /&gt;We have several systems, OpenVMS, Tru64 UNIX and HP-UX. These are generally connected via a switchbox (BlackBox ServSwitch). The standard keyboard is the VMS layout keyboard (LK463). We are currently using the new HP USB LK463???s. The Tru64 boxes understand the LK463 provided you tell the kernel what type of KB it is using. The VMS KB has slightly different key mappings (like the ??? key has the + key code as far as HP-UX is concerned) but these are probably not that hard to remap inside X11. But the extended functions keys: F17-F20, Help &amp;amp; Do are a problem. Using xev to show X events, I see that all of these keys return keycode 09 so I can???t simply remap them. I don???t know what keycode 09 is, maybe a generic ???undefined??? (???). This would seem to imply that something at a lot lower level needs to know what the keyboard is doing. The Tru64 boxes do use the extended keys (at least F17-F20) and the point here is that these are progressively being replaced with HP-UX boxes. It is not an option to remove the F17-F20 functionality from the operators, there are to many SOP???s that depend upon them.&lt;BR /&gt;&lt;BR /&gt;Can anyone suggest where I can start on this? Is there a keyboard driver that maps scan codes to keycodes that can be changed? If Tru64 UNIX can interpret these codes then there should also be a way to get HP-UX to do the same. I???ve tried to work out how keyboards interface to the system but there seems to be a jungle of things that map things at various points ??? it???s not at all clear to me how this all works.&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Jun 2003 22:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004271#M911649</guid>
      <dc:creator>Richard Munn</dc:creator>
      <dc:date>2003-06-22T22:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004272#M911650</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1)  Look at man xmodmap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)   &lt;A href="http://www.docs.hp.com" target="_blank"&gt;www.docs.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search&lt;BR /&gt;&lt;BR /&gt;using the X window system&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Mon, 23 Jun 2003 13:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004272#M911650</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-06-23T13:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004273#M911651</link>
      <description>There is a thread regarding keymap:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35ba28e43106d6118ff40090279cd0f9!0,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35ba28e43106d6118ff40090279cd0f9!0,00.html&lt;/A&gt;</description>
      <pubDate>Mon, 23 Jun 2003 13:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004273#M911651</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-23T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004274#M911652</link>
      <description>Been there.&lt;BR /&gt;&lt;BR /&gt;xmodmap is the obvious way to correct the -/+ key swap but it does not help with the extended keys. As I said all the extended keys return a keycode of 9. Xmodmap does not accept keycodes less than 16 and even if it could with every key returning 9 how would you seperate them. There must be something much lower down that is generating the keycode of 9 and it does not know what to do with the extra keys on the keyboard.</description>
      <pubDate>Mon, 23 Jun 2003 21:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004274#M911652</guid>
      <dc:creator>Richard Munn</dc:creator>
      <dc:date>2003-06-23T21:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004275#M911653</link>
      <description>This could be very hard.&lt;BR /&gt;&lt;BR /&gt;The keycode to keysym mapping is relatively easy.&lt;BR /&gt;You can use /usr/contrib/bin/X11/keymap_ed to create a new keyboard name and mapping.&lt;BR /&gt;List existing mappings with&lt;BR /&gt;  keymap_ed -l&lt;BR /&gt;Dump a similiar mapping with&lt;BR /&gt;  keymap_ed -d USB_PS2_DIN_US_English &amp;gt; LK463&lt;BR /&gt;Edit that file to change the name and keys.&lt;BR /&gt;Add a new mapping with&lt;BR /&gt;  keymap_ed -s LK463&lt;BR /&gt;Edit /etc/kbdlang or run itemap to set new map.&lt;BR /&gt;&lt;BR /&gt;The matter of duplicate keycode values is going to be hard.  The keycodes are mapped by an X server "driver", which is really a shared library loaded by the X server.  The mapping is normally rather simple.&lt;BR /&gt;It sounds like the LK463 keyboard is sending a very different byte sequence than the driver expects.  You can see how the driver works by studying the source code available at&lt;BR /&gt;&lt;A href="http://ftp.x.org/pub/R6.4/xc/programs/Xserver/hw/hp/input/drivers/" target="_blank"&gt;http://ftp.x.org/pub/R6.4/xc/programs/Xserver/hw/hp/input/drivers/&lt;/A&gt;&lt;BR /&gt;It may be possible to build the hp7lc2k.c file there and use it in place of the standard /usr/lib/X11/extensions/hp7lc2k.1 shared library.  With a replacement driver, you may be able to figure out what your keyboard really sends for those keys and map that to distinct keycodes.  (The USB devices look like ps2 devices to the X server.  So, look at "man ps2" for details of the device file and ioctls.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2003 22:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004275#M911653</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-06-23T22:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using a non-standard keyboard</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004276#M911654</link>
      <description>Thisis good at least I now know where the keycodes can be manipulated. All I have to do is build an environment to be able to compile the shared libary and try my own mappings.&lt;BR /&gt;&lt;BR /&gt;Thanks...</description>
      <pubDate>Tue, 01 Jul 2003 20:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-a-non-standard-keyboard/m-p/3004276#M911654</guid>
      <dc:creator>Richard Munn</dc:creator>
      <dc:date>2003-07-01T20:56:52Z</dc:date>
    </item>
  </channel>
</rss>

