Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Dead keys in X
@ 2001-07-30 15:02 Andrew Gaylard
  2001-07-30 15:50 ` Helge Deller
  2001-07-30 22:31 ` [parisc-linux] Dead keys in X Helge Deller
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Gaylard @ 2001-07-30 15:02 UTC (permalink / raw)
  To: parisc-linux

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!


-- 
Andrew G

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: [parisc-linux] Dead keys in X
@ 2001-07-31 11:33 Andrew Gaylard (Dimension Data)
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Gaylard (Dimension Data) @ 2001-07-31 11:33 UTC (permalink / raw)
  To: 'parisc-linux@lists.parisc-linux.org'

(My apologies for spamming the entire list with HTML.
Mozilla worked fine for my first message, but since then 
seems to refuse to produce vanilla text messages.
I'm now trying with a different mail client; hopefully
that sorts it out.)

I tried using 
	xmodmap -e "keycode 0xE0 = i"
but the result was the same.  I think the bigger problem
here is that the 'o'-button sends nothing at all.  If it
doesn't even produce an X event to start with, it can't 
be remapped.

Anyone with some Xpertise out there who can say where 
the server assigns keycodes in the first place?

-----Original Message-----
From: Helge Deller [mailto:helge.deller@sap.com]
Sent: 30 July 2001 17:51
To: Andrew Gaylard; parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Dead keys in X


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)


Hi Andrew,

Just an idea: Does 
		xmodmap -e "keycode 0xE0 = i"
works ?

Helge



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-14 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-30 15:02 [parisc-linux] Dead keys in X Andrew Gaylard
2001-07-30 15:50 ` Helge Deller
2001-07-31  7:48   ` Andrew Gaylard
2001-08-14 10:37   ` [parisc-linux] Keyboard with 2.4.7-pa2 Peter Weilbacher
2001-07-30 22:31 ` [parisc-linux] Dead keys in X Helge Deller
  -- strict thread matches above, loose matches on Subject: below --
2001-07-31 11:33 Andrew Gaylard (Dimension Data)

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