From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 02:45:09 2009 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 938091065672 for ; Sat, 28 Feb 2009 02:45:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 522DC8FC1C for ; Sat, 28 Feb 2009 02:45:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-52-176.dynamic.qsc.de [92.196.52.176]) by mx01.qsc.de (Postfix) with ESMTP id 3A60E3CBAB; Sat, 28 Feb 2009 03:44:58 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n1S2ipiF002160; Sat, 28 Feb 2009 03:44:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 28 Feb 2009 03:44:51 +0100 From: Polytropon To: devindg Message-Id: <20090228034451.34c08057.freebsd@edvax.de> In-Reply-To: <22240456.post@talk.nabble.com> References: <22238102.post@talk.nabble.com> <20090227032016.c0252454.freebsd@edvax.de> <22240456.post@talk.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ALT key kills window/application X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 02:45:09 -0000 On Thu, 26 Feb 2009 22:53:01 -0800 (PST), devindg wrote: I went ahead and tried your > suggestion, but the problem persists. However -- and I should have given > this more thought earlier -- I looked at the Xorg log, and it may provide > more useful information. This is obvious: (II) config/hal: Adding input device Logitech USB Keyboard (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.3.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (**) Logitech USB Keyboard: always reports core events (**) Option "Protocol" "standard" (**) Logitech USB Keyboard: Protocol: standard (**) Option "Device" "/dev/ukbd0" (EE) Logitech USB Keyboard: cannot open "/dev/ukbd0" (EE) PreInit failed for input device "Logitech USB Keyboard" (II) UnloadModule: "kbd" (EE) config/hal: NewInputDeviceRequest failed It seems to indicate a major problem with the keyboard, which is an USB Logitech one. Do you have the (testing) option to attach a standard keyboard, a PS/2 102 key keyboard or at least a normal USB keyboard (Sun, Apple)? Because of the message (EE) Logitech USB Keyboard: cannot open "/dev/ukbd0" it seems that X (or at least HAL) cannot open the keyboard's device file /dev/ukbd0. Can you ll this file to check the existance and correct permission? % ll /dev/ukbd0 crw------- 1 root wheel 0, 121 Feb 28 02:34 /dev/ukbd Is the USB keyboard detected correctly by the system for "outside X" operations? % dmesg | grep ^ukbd ukbd0: on uhub1 For my keyboard ONLY: Reporting defective since FreeBSD 7; should be: % dmesg | grep ^ukbd ukbd0: Sun Microsystems Type 6 USB keyboard, rev 1.00/1.02, addr 3, iclass 3/1 Check usbdevs -v as well. My idea would be now that X (or HAL) misdetects your keyboard and starts to do strange stuff when the Alt key is pressed because it "thinks" that it isn't the Alt key, but something else. Again, try to check with a standard keyboard, just to be sure. Final idea: Maybe the keyboard is so non-standard that it is to be considered crap (as it is for most "modern" stuff, especially from today's Logitech) and should be exchanged in favour of a regular and standard-compliant keyboard. Since the happy X upgrades, consider the HAL and DBUS stuff to be crap, too, especially when the keyboard worked as intended before the upgrade. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...