From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 09:44:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53BF71065678 for ; Mon, 30 Jun 2008 09:44:03 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id EB6138FC1F for ; Mon, 30 Jun 2008 09:44:02 +0000 (UTC) (envelope-from alainfabry@belgacom.net) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEADBBaEhR9d5n/2dsb2JhbACBWq11 Received: from 103.222-245-81.adsl-dyn.isp.belgacom.be (HELO belgacom.net) ([81.245.222.103]) by relay.skynet.be with ESMTP; 30 Jun 2008 11:14:57 +0200 Date: Mon, 30 Jun 2008 11:10:44 +0200 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20080630091044.GA45303@ducati-748.3rdrock.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: keymapping -> numlock doesn't work anymore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 09:44:03 -0000 FreeBSD 7.0-RELEASE (qemu host) X.Org X Server 1.4.2 HP Compaq nc8430 laptop Hi, recently I performed a portupgrade (-R xorg-server) and now my numlock doesn't work anymore under Xorg. Since I was having problems with my key-mapping in Qemu (key 1 and 4 did not work), I used the numlock to boot my FreeBSD guest in single user mode. In the CTRL+ALT+F1 session (not sure who you call this non-X tty session), the num_lock works fine. I've looked at the xev and from what I see this confirms that my num_lock is not working. REGULAR "j" +++++++++ KeyPress event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15118461, (-133,-349), root:(966,270), state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES, XLookupString gives 1 bytes: (6a) "j" XmbLookupString gives 1 bytes: (6a) "j" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15118511, (-133,-349), root:(966,270), state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES, XLookupString gives 1 bytes: (6a) "j" XFilterEvent returns: False LEFT SHIFT + CAPITAL "J" ++++++++++++++++++++++++ KeyPress event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15120328, (-133,-349), root:(966,270), state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15120628, (-133,-349), root:(966,270), state 0x1, keycode 44 (keysym 0x4a, J), same_screen YES, XLookupString gives 1 bytes: (4a) "J" XmbLookupString gives 1 bytes: (4a) "J" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15120689, (-133,-349), root:(966,270), state 0x1, keycode 44 (keysym 0x4a, J), same_screen YES, XLookupString gives 1 bytes: (4a) "J" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15120980, (-133,-349), root:(966,270), state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False NUM LOCK followed by j ++++++++++++++++++++++ KeyPress event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15135961, (-133,-349), root:(966,270), state 0x0, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15136005, (-133,-349), root:(966,270), state 0x10, keycode 77 (keysym 0xff7f, Num_Lock), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15138611, (-133,-349), root:(966,270), state 0x10, keycode 44 (keysym 0x6a, j), same_screen YES, XLookupString gives 1 bytes: (6a) "j" XmbLookupString gives 1 bytes: (6a) "j" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x3200001, root 0x4c, subw 0x0, time 15138662, (-133,-349), root:(966,270), state 0x10, keycode 44 (keysym 0x6a, j), same_screen YES, XLookupString gives 1 bytes: (6a) "j" XFilterEvent returns: False What can I do to solve this? Thanks, Alain