HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitoring X events (remapping of a keyboard)
Operating System - HP-UX
1833342
Members
3100
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 06:20 AM
06-15-2001 06:20 AM
monitoring X events (remapping of a keyboard)
Hi,
I'm new in this forum and I hope, I hit the right group...
Problem: I could not get all keycodes with 'xev' for my keyboard.
History: At the office, I had to 'merge' my HP-UX system with my Win- PC, means two CPUs, connected to one keyboard/mouse/monitor.
For that I'm using a KVM switch 'Master View CS-142'.
Before, the PC had it's own keyboard, a Swiss-German type. On the other hand, the HP-UX system had a PS2 US keyboard.
Now, both CPUs are using the same country specific keyboard, the Swiss- German type.
I changed the keyboard type on the HP-UX system to the sayed type, and allthing is ok WHEN I CONNECT THE KEYBOARD DIRECT TO THE CPU.
But with the CPU- switch, the mapping of the keyboard is wrong.
The hardware of the HP-UX system is: B160L
I got from HP the tool 'xev' (X events) for the remapping. With that, and with the tool 'keymap_ed' I could remap 80 percent of the keys, but not 100 percent.
'xev' does not give me all the keycodes of all keys. Especially not these of 'Num Lock', 'Alt', 'Ctrl-R' and all the keys of the numerical keys block.
Could anybody help me with hints, infos, tools (monitor programs) or such?
I tried all I know and all I can. Actually I'm not have an idea for a solution...
Thanks a lot!
Bye - Pit
I'm new in this forum and I hope, I hit the right group...
Problem: I could not get all keycodes with 'xev' for my keyboard.
History: At the office, I had to 'merge' my HP-UX system with my Win- PC, means two CPUs, connected to one keyboard/mouse/monitor.
For that I'm using a KVM switch 'Master View CS-142'.
Before, the PC had it's own keyboard, a Swiss-German type. On the other hand, the HP-UX system had a PS2 US keyboard.
Now, both CPUs are using the same country specific keyboard, the Swiss- German type.
I changed the keyboard type on the HP-UX system to the sayed type, and allthing is ok WHEN I CONNECT THE KEYBOARD DIRECT TO THE CPU.
But with the CPU- switch, the mapping of the keyboard is wrong.
The hardware of the HP-UX system is: B160L
I got from HP the tool 'xev' (X events) for the remapping. With that, and with the tool 'keymap_ed' I could remap 80 percent of the keys, but not 100 percent.
'xev' does not give me all the keycodes of all keys. Especially not these of 'Num Lock', 'Alt', 'Ctrl-R' and all the keys of the numerical keys block.
Could anybody help me with hints, infos, tools (monitor programs) or such?
I tried all I know and all I can. Actually I'm not have an idea for a solution...
Thanks a lot!
Bye - Pit
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 06:30 AM
06-15-2001 06:30 AM
Re: monitoring X events (remapping of a keyboard)
Try xmodmap tool.
If you really want to get down to the nitty gritty of Xprotocol to analyse what's going wrong, see http://www.hp-uxconsulting.com/hpux/x11/xscope.html
You can also try another tool found at:
http://hpux.cs.utah.edu/hppd/hpux/X11/Misc/xkeycaps-2.46/
Later,
Bill
If you really want to get down to the nitty gritty of Xprotocol to analyse what's going wrong, see http://www.hp-uxconsulting.com/hpux/x11/xscope.html
You can also try another tool found at:
http://hpux.cs.utah.edu/hppd/hpux/X11/Misc/xkeycaps-2.46/
Later,
Bill
It works for me (tm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2001 11:24 PM
06-17-2001 11:24 PM
Re: monitoring X events (remapping of a keyboard)
Hi Bill,
thanks a lot for your answer! The tool 'xmodmap' I tried already, but I had the same problems as the tool 'keymap_ed'. So I will try now 'xscope' (and 'xmon' I found).
'xkeycaps' now I've on my system, too. I don't have the 'ANSI C Compiler' package, so I can't compile any source. But I found binaries in the internet :-) .
If I've still problems, I will reply again.
Bye - Pit
thanks a lot for your answer! The tool 'xmodmap' I tried already, but I had the same problems as the tool 'keymap_ed'. So I will try now 'xscope' (and 'xmon' I found).
'xkeycaps' now I've on my system, too. I don't have the 'ANSI C Compiler' package, so I can't compile any source. But I found binaries in the internet :-) .
If I've still problems, I will reply again.
Bye - Pit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 06:28 AM
06-25-2001 06:28 AM
Re: monitoring X events (remapping of a keyboard)
Hi Bill,
I fear you are my last hope! First I thought I've a problem with 'xev' (monitoring key events), but now I'm sure, the problem is somewhere in the HP-UX OS (PS2 driver, X- server, or something).
I checked a lot and now I'm familiar with the mapping of keys with the tool 'keymap_ed'. The problem is, that some keys cannot be addressed with a keycode, e.g. the key block with the cursor movements keys (up, down, left, right, home, end, ...), the slash key on the num pad and more. These keys are 'connected' with other keys. For example the 'Up' key is connected with the key '8' of the num pad.
I can map the keys of the num pad, but not these of the cursor block. For more information about this have a look at the attachement.
I've a service contract with HP, but the guys can't help me or don't want to help me.
The question is, is there a way to brake the connections between these keys, or to write an emulator program to convert these keycodes to the correct values. An emulator, sitting between the keyboard output and the X server input could be a solution, I think. But I don't have an idea how to solve this...
Hope you can help me!
Bye - Pit
I fear you are my last hope! First I thought I've a problem with 'xev' (monitoring key events), but now I'm sure, the problem is somewhere in the HP-UX OS (PS2 driver, X- server, or something).
I checked a lot and now I'm familiar with the mapping of keys with the tool 'keymap_ed'. The problem is, that some keys cannot be addressed with a keycode, e.g. the key block with the cursor movements keys (up, down, left, right, home, end, ...), the slash key on the num pad and more. These keys are 'connected' with other keys. For example the 'Up' key is connected with the key '8' of the num pad.
I can map the keys of the num pad, but not these of the cursor block. For more information about this have a look at the attachement.
I've a service contract with HP, but the guys can't help me or don't want to help me.
The question is, is there a way to brake the connections between these keys, or to write an emulator program to convert these keycodes to the correct values. An emulator, sitting between the keyboard output and the X server input could be a solution, I think. But I don't have an idea how to solve this...
Hope you can help me!
Bye - Pit
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP