From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 28 19:38:52 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC92316A4DA for ; Fri, 28 Jul 2006 19:38:52 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F94643D6A for ; Fri, 28 Jul 2006 19:38:47 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so966457uge for ; Fri, 28 Jul 2006 12:38:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=ZFELv0E3gvLi5XKtbMvbxFmLcDb9hUVsN6Gxn8lkcSKphu68RGcjhr49ybzdbFCTZhFXK+L9UAdvF4zYOJ2meeh2hFyuVCf2hPzGl8otX78T4HgsBK6irz2pOEPdh2UBecuLDdlcQ44yYT7InXzyBYIHsTOMczdI/x+Ym3rR46E= Received: by 10.78.142.14 with SMTP id p14mr163629hud; Fri, 28 Jul 2006 12:38:46 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.114.53]) by mx.gmail.com with ESMTP id 39sm1164923hui.2006.07.28.12.38.42; Fri, 28 Jul 2006 12:38:44 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k6SJdLpc004669; Fri, 28 Jul 2006 21:39:21 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k6SJ3BYk003688; Fri, 28 Jul 2006 21:03:11 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 28 Jul 2006 21:03:11 +0200 From: Ulrich Spoerlein To: deischen@freebsd.org Message-ID: <20060728190311.GA1057@roadrunner.informatik.uni-wuerzburg.de> Mail-Followup-To: deischen@freebsd.org, freebsd-acpi@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-acpi@freebsd.org Subject: Re: Fn keys on Dell E1405 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 19:38:52 -0000 Daniel Eischen wrote: > Greetings and salutations, > > Is there anything I can do to get Fn key functionality on > my Dell E1405 notebook? I've seen the patches for video > switching and will try them at some point, but it's not > as important to me as getting suspend/resume and wireless > radio on/off. Also getting the CD/DVD drive to eject would > be nice. On my Inspiron 8600, nearly all Fn keys produce plain key scancodes, that you can assign to specific commands in X. I have the following keycodes in .xmodmaprc keycode 164 = XF86AudioStop keycode 137 = XF86Eject keycode 162 = XF86AudioPause keycode 160 = XF86AudioStop keycode 153 = XF86AudioNext keycode 144 = XF86AudioPrev keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 160 = XF86AudioMute Please check those values with xev(1). You would then have to assign specific commands to these keys with the help of your window manager. Funny side note: The brightness up/down combo does NOT generate any kind of keycode ... BUT when I turn the brightness up or down while xpdf(1) has the focus, xpdf(1) will enter an infinite refresh loop and needs to be killed. Very strange .... Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon?