From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 13:42:25 2010 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 2BA14106566B for ; Wed, 7 Apr 2010 13:42:25 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id B28298FC1A for ; Wed, 7 Apr 2010 13:42:24 +0000 (UTC) Received: by bwz8 with SMTP id 8so878795bwz.3 for ; Wed, 07 Apr 2010 06:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=PaMm1JTngrtOGwvCvhox52H8OujsgNl8ABEQJ/kmV9E=; b=MKGEHRGBfhm2z2dryZwYfZhGzJAD0gAbCq46/ELeIYm5GBOagXJok21FAeIVQVEfM6 ihlKC1f+tFGzdmgG4PLE0dYS1ZpmmJehIH+TAHwbQB3u9uULtsO6549vXs0zJGC1xnXN Y2EDZSHSQI9COiIiIVHnmzY0d0qD+eTwXJZs8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IRntNopsFxEKeo/Bz8TMeEpX8APqyqi9p3e4ukWZnLeHCKHmyVpK4ZEsylw9CuzEkn nm/lUtUwBddzw7JUK2rcpzPVFZe9NHWaOEW+SGnNY9aJJ4Lrg7sZyaCMDHsmS6OVyKQS J6PJF2eqOvJPhh/acU1/W/oviBwasTSjXP0ys= MIME-Version: 1.0 Received: by 10.204.56.71 with HTTP; Wed, 7 Apr 2010 06:11:42 -0700 (PDT) Date: Wed, 7 Apr 2010 15:11:42 +0200 Received: by 10.204.132.214 with SMTP id c22mr9751403bkt.60.1270645903034; Wed, 07 Apr 2010 06:11:43 -0700 (PDT) Message-ID: From: David DEMELIER To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Some multimedia keys send many keycodes 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: Wed, 07 Apr 2010 13:42:25 -0000 Hi freebsd users, I'm running 8.0-STABLE on my laptop, and I have many troubles with the functions keys (brightness does not work) and some other keys like fn-key + f3 (usually XF86WWW) sends the XF86WWW keycode AND sends also the F3 code and that's a real problem since some applications use F1,2,3,...,12 keys. For exemple fn-key - f9 must sens XF86AudioMute, it does but also does the F9 key, look : FocusOut event, serial 31, synthetic NO, window 0x1400001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 31, synthetic NO, window 0x1400001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 31, synthetic NO, window 0x0, keys: 22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 KeyPress event, serial 31, synthetic NO, window 0x1400001, root 0x116, subw 0x0, time 298861, (232,-53), root:(234,285), state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 31, synthetic NO, window 0x1400001, root 0x116, subw 0x0, time 298861, (232,-53), root:(234,285), state 0x10, keycode 75 (keysym 0xffc6, F9), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False The weird thing is that fn-f11 and fn-f12 (volume up and volume down) sends only the good keycode without the F11 and F12 keycode. So for the moment I don't know if it's only a X.org problem or a problem linked to the ACPI since the fn-key is probably associated to the ACPI. However this does not happens on Linux. Cheers, -- Demelier David