From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Willem Stumpel Subject: Keyboard weirdness Date: Sat, 24 Jul 2004 13:03:43 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <4102420F.5050003@my.home> References: <41018A72.7030606@shaw.ca> <41021BCE.6030905@zgod.cjb.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <41021BCE.6030905@zgod.cjb.net> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org On my new computer (on which I compiled dosemu again) the keyboard behaves strangely in xdosemu: lots of keys do not work. E.g. qwertyuiop becomes qwt. The problem can be largely fixed by setting $_X_keycode = (off) -- apart from the letter s which still does not work! The s key also does not work in dosemu on the console. I get the same problem with 2 different keyboards (normal and usb). In the past (previous computer) it worked fine with the default setting. Now the problem happens with dosemu 1.2, 1.3.0, 1.3.1 in the same way. I don't have any other problems with Linux on this machine. There seem to be 3 types of keys: type 1: keys that work even with $_X_keycode = (auto) (e.g. q,w,t) type 2: keys that only work if $_X_keycode = (off) (e.g. e,r) type 3: the letter s. I tried running xdosemu -Dk -O. Each time I press a key lots of diagnostic messages appear. They are different for the 3 types of keys. The last message is: For type 1: HELPER: get_bios_key() returned 0000 For type 2: put_symbol: modifiers=0000 keysym=0065 [for letter e] For type 3: put_keynum_r(break) called with invalid keynum ff:00 Outside xdosemu, with xev, the three types of keys behave exactly the same. Regards, Jan