Dead keys in X
Hello All,
After lurking daily on the mailing archives for 2 years, I decided that the time has finally come to give PARISC-Linux a spin. I burned a CD of the 0.9.2 release, booted up my 715/100 (STI console, HIL keyboard & mouse) and it worked on the first install. Excellent work!
I then decided to give X a try, based on Helge Deller's
message in http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013241.html
(thanks, Helge!)
This worked, but...
The 'i' and 'o' keys in X are dead. The 'i'-key at least sends a keycode-224 to X (as viewed in xev), but if I try
xmodmap -e "keycode 224 = i"
I get the error:
xmodmap: commandline:0: bad keycode value (out of range)
The 'o'-key, on the other hand, doesn't send anything at all. Where do I begin to track this down? I've checked that my XF86Config-4 file is set up as described by Helge. My /etc/X11/xkb/rules/xfree86 file also looks OK.
I've tried various other maps, such as hp-101 and pc101, as well as several keymaps from xkeycaps, but they either scramble the layout completely, or have no effect.
This puzzles me, since the STI console works fine with those keys. Where are the scancodes from the HIL bus mapped to X keycodes? (I presume that it uses scancodes like a normal PC keyboard... right?) Or is there another layer needing configuring, which maps keyboard-specific scancodes to linux-generic keynames to X keycodes?
Also, I'm using a MS-compatible serial-mouse. Although it works, it is really s-l-o-w. I have a HIL-PS/2 adapter box, but will it work with a PS/2 mouse? If so, will the mouse device change to something like /dev/psaux?
Lastly, is anyone working on HIL mouse support? If not, then I wouldn't mind having a go.
Thanks to everyone for making this port such a success!
Signature · 1 line
Andrew G
Quoted 7 lines · Andrew Gaylard
The 'i' and 'o' keys in X are dead. The 'i'-key at least sends a keycode-224 to X (as viewed in xev), but if I try
xmodmap -e "keycode 224 = i"
I get the error:
xmodmap: commandline:0: bad keycode value (out of range)
Hi Andrew,
Just an idea: Does
xmodmap -e "keycode 0xE0 = i"
works ?
Helge
Helge Deller wrote:
On Monday 30 July 2001 17:02, Andrew Gaylard wrote:
The 'i' and 'o' keys in X are dead. The 'i'-key at least sends a keycode-224 to X (as viewed in xev), but if I try
xmodmap -e "keycode 224 = i"
I get the error:
xmodmap: commandline:0: bad keycode value (out of range)
[parisc-linux] Keyboard with 2.4.7-pa2
In reply to Helge DellerHi,
I tried the current kernel-tarball linux-20010810.tar.gz and compiled it successfully using the cross-compiler palinux-20010530 (too slow on my HP 712/60) on a Linux machine. I used the same config-options as in the working 2.4.0-pa49 kernel I was using successfully before, but I cannot use the keyboard, neither in X nor on the console, although the kernel seems to have recognized the keyboard (from dmesg):
Lasi PS/2 wait 2057
Lasi PS/2 wait 1881
PS/2 keyboard controller at 0xf0108000 (irq 69) found, device attached. PS/2 psaux controller at 0xf0108100 (irq 69) found, no device attached.
There was some discussion on keyboard problems some time ago, but that was for [BC]* machines... Is this also known? Where can I find more info (which logs) to help solve the problem?
Greetings,
Peter.
Hi Andrew,
Quoted 5 lines · Andrew Gaylard
....
I then decided to give X a try, based on Helge Deller's message in
http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/013241.html
(thanks, Helge!)
I assume you meant this link (just for the record):
http://lists.parisc-linux.org/pipermail/parisc-linux/2001-July/012972.html
Quoted 11 lines
This worked, but...
The 'i' and 'o' keys in X are dead. The 'i'-key at least sends a keycode-224 to X (as viewed in xev), but if I try
xmodmap -e "keycode 224 = i"
I get the error:
xmodmap: commandline:0: bad keycode value (out of range)
Quoted 8 lines
The 'o'-key, on the other hand, doesn't send anything at all. Where do I begin to track this down? I've checked that my XF86Config-4 file is set up as described by Helge. My
/etc/X11/xkb/rules/xfree86file also looks OK.I've tried various other maps, such as hp-101 and pc101, as well as several keymaps from xkeycaps, but they either scramble the layout completely, or have no effect.
I have the same problem as you, but was too lazy to look any further yet. On the other hand I don't think other keymaps are more suitable, and the easiest way would be to get it fixed with your xmodmap approach and in the long term with a fixed pre-installed keymap from the XFree86 packages.
Quoted 4 lines
Also, I'm using a MS-compatible serial-mouse. Although it works, it is really s-l-o-w. I have a HIL-PS/2 adapter box, but will it work with a PS/2 mouse? If so, will the mouse device change to something like
/dev/psaux?
No idea since I don't have such a adapter box myself. Maybe you should just try and let us know since you are not the first one asking.
Quoted 2 lines
Lastly, is anyone working on HIL mouse support? If not, then I wouldn't mind having a go.
Currently no one is working on such a driver, but instead there is a generic HIL-driver in progress. If this driver is finished a generic HIL-mouse-driver-plugin should be easy.
In any case, just go ahead if you want.
Quoted 1 line
Thanks to everyone for making this port such a success!
Thanks
Greetings,
Helge