From owner-freebsd-x11@FreeBSD.ORG Sun Nov 4 22:18:14 2007 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD8416A469 for ; Sun, 4 Nov 2007 22:18:14 +0000 (UTC) (envelope-from chris@shenton.org) Received: from shenton.org (static-71-246-241-106.washdc.fios.verizon.net [71.246.241.106]) by mx1.freebsd.org (Postfix) with SMTP id 94A8113C4B9 for ; Sun, 4 Nov 2007 22:18:14 +0000 (UTC) (envelope-from chris@shenton.org) Received: (qmail 1645 invoked by uid 1001); 4 Nov 2007 21:51:21 -0000 From: Chris Shenton To: Robert Huff , Ed Schouten , Mike Harding References: <18160.5183.441679.972989@jerusalem.litteratus.org> Date: Sun, 04 Nov 2007 16:51:21 -0500 In-Reply-To: <18160.5183.441679.972989@jerusalem.litteratus.org> (Robert Huff's message of "Tue, 18 Sep 2007 14:09:03 -0400") Message-ID: <86bqa9n0h2.fsf@Bacalao.shenton.org> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: x11@freebsd.org Subject: Re: problems after xorg 7.3 upgrade ('b', 'n' keys don't work) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 22:18:15 -0000 Robert Huff writes: > After what I had thought was a successful upgrade from 7.2 over > the weekend, xorg 7.3 is having major problems. > The basic problems are: > a) the keyboard. Some keys ('e', 'n', 'b', 'm', and others) > register randomly; others work in some combinations but not others. > For example: / + works correctly, > while / + has no effect. Mike Harding and Ed Schouten and I reported the same problem. Ed describes it well at: http://www.nabble.com/Re%3A-Wanted---pointers-re-where-to-look-for-keyboard-bug.-tf4622905.html#a13202110 The other day I tried it on a diskless system I have in the kitchen -- it mounts the same Xorg and filesystem and so on from my main server... and it worked like a charm. So Xorg is not completely broken, it's something else: hardware, driver, config? I had switched keyboards on the ailing system before so didn't suspect that. Today, I removed the Xorg config file for the problematic system (xorg.conf.MyHostname) and used xorgconfig to create a new one in /etc/X11/, which worked fine. I merged in some of my old configs. But what I noticed I could NOT do was something I was told to use in xorg to allow VT switching by Ctl-Alt-Fn: Section "ServerFlags" Option "DontVTSwitch" "false" Option "XkbDisable" "true" EndSection I can still specify the first Option, but it does nothing: I cannot switch VTs -- key sequences are sent to the X11 client app. If I try to use the second Option, then I get the broken keys, repeat, and other defects. So I've commented out this line. At least now I can use 7.3: I'll trade working keys for broken VT switching. I don't know if this can be addressed with xkeyboard-config (in ports, but not installed in my system) or not.