|
Thanks a bunch, I'll get it. At this point I have no choice but to go into source. I've been able to get X to dump scancodes to a file and already discovered that the routine which maps scancodes to keycodes xf86PostKbdEvent, doesn't even see the whole scancode. The e0 e1 prefixes are masked out. What a mess is X. We got our keyboard primarily from Keytronics. Unicomp also makes them. They run in PC mode and are a spin on a really old IBM keyboard. I think you are wasting your time looking at this at the xmodmap level. XFree86 doesn't even have enough keysyms to handle the problem. James Rich <james@xxxxxxxxxxx> on 08/21/2003 12:35:58 PM To: Phillip Watts/austin/Nlynx@xxxxx cc: linux5250@xxxxxxxxxxxx Subject: Re: Testreq patch Phillip.Watts@xxxxxxxxx wrote: > > Thanks. > So your modified cvs line caused it to download latest? > > patch barfed (malformed patch) on line 17 > Index: src/display.c > ?? i'm running from ...../tn520 which can see src/display.c ?? > My build system is RH 7.2. ANy chance patch is screwed? > > The source matches up much better, I will be happy to copy in the patch > by hand. But I will wait for your advice before doing so. I couldn't get the patch to apply cleanly either. I've added Scott's changes by hand and made a tarball of the complete source available at: http://www.chowhouse.com/~james/tn5250-testreq.tar.bz2 > Also: this appears to be a version which support macros. yup. another subject: > Good job on the HOWTO, very nice. Thank you. > The keyboard problem is > XFree86 ignores the kernel keycodes and process the > scancodes and makes its own keycodes and does not map all the > keys on the IBM 122 key keyboard. Bummer. > And there is no dynamic 'setkeycodes' for X. Bummer. X uses a completely different mechanism for the keyboard than does the linux console. > I've mapped the keys and am studying X source. If I come up with a > mod which will map all the 122 keys, I'll post it. Studying the source to X? Wow - you are hardcore :) Where did you get your 122 keyboard? Maybe I can get one and try to resolve you issues (and update the HOWTO to cover 122 keys). James Rich
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.