From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N5oSi-00074y-UB for garchives@archives.gentoo.org; Wed, 04 Nov 2009 22:36:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3A3FE0B68; Wed, 4 Nov 2009 22:36:19 +0000 (UTC) Received: from sentinel.math.Princeton.EDU (sentinel.math.Princeton.EDU [128.112.16.31]) by pigeon.gentoo.org (Postfix) with ESMTP id A42E6E0B68 for ; Wed, 4 Nov 2009 22:36:19 +0000 (UTC) Received: from math.princeton.edu ([128.112.18.16] helo=sep.dynalias.net) by sentinel.math.Princeton.EDU with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1N5oSg-0001wu-H3 for gentoo-user@lists.gentoo.org; Wed, 04 Nov 2009 17:36:19 -0500 Received: by sep.dynalias.net (Postfix, from userid 1001) id A12BF539BA1; Wed, 4 Nov 2009 17:38:40 -0500 (EST) Date: Wed, 4 Nov 2009 17:38:40 -0500 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Lenovo USB Keyboard Message-ID: <20091104223840.GA29561@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <4AE9C5F7.7040908@xunil.at> <1256837286.2885.10.camel@brotherus.corp.redhat.com> <4AE9D2CD.7050507@xunil.at> <1256842706.2885.19.camel@brotherus.corp.redhat.com> <4AEAB02A.5000701@xunil.at> <1256903883.86657.18.camel@centar> <4AEB3218.8070405@xunil.at> <4AF004BC.9050402@xunil.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AF004BC.9050402@xunil.at> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 3c7ae6b1-39ef-47ee-b240-5fc1a204462e X-Archives-Hash: 27bd2b992b9a805e18fd08a5d5e169ef On Tue, Nov 03, 2009 at 11:23:56AM +0100, Penguin Lover Stefan G. Weichinger squawked: > Stefan G. Weichinger schrieb: > > > I still get no output/event for those upper seven keys ... oh my. > > At least I got a cleaned up xorg.conf for now ;-) > > > > It ain't that important although I would like to see them working, it's > > a bit hard to understand that issues like this don't just work as well. > > Just to point that out: I am still interested in a solution if anyone .... I have an Acer multimedia keyboard. I use xbindkeys to set the actions related to multimedia keys. Below is a snip of my .xbindkeysrc ---------------------rc------------------ "amixer sset Headphone 1-" m:0x0 + c:174 "amixer sset Headphone 1+" m:0x0 + c:176 "amixer sset Headphone toggle" m:0x0 + c:160 "mpc stop" m:0x0 + c:164 "mpc toggle" m:0x0 + c:162 "mpc prev" m:0x0 + c:144 "mpc next" m:0x0 + c:153 "mpc repeat" m:0x4 + c:144 "mpc random" m:0x4 + c:153 "xscreensaver-command -lock" m:0x0 + c:223 "rxvt -T 'Mutt' -e /usr/bin/mutt" m:0x0 + c:236 "/usr/local/bin/crxvt -T 'cMutt' -e /usr/bin/mutt" m:0x4 + c:236 "/usr/local/bin/jrxvt -T 'jMutt' -e /usr/bin/mutt" m:0x8 + c:236 ------------------------------end rc------------------- As you can see, keycodes 174 annd 176 are volumes up and down, 160 is the mute button, 164, 162 are stop and play/pause, 144 and 153 are REW and FF, which I doubled up with meta keys to get other features. 223 is the "screen saver" key. And 236 is the "e-mail" key. I've quite forgotten how I found these keycodes. But some of them are quasi standard (I've seen the codes for volume and music player work on other keyboards, including Dell laptops). On my old laptop I used to use a different solution: I think I mapped the appropriate keycodes to the XF86VolumeUp and similar keys and then mapped those key events using the WM. I can try to dig out the old config if you'd like. HTH, W -- Marten: That's like rule number one of dating-if the lady tells you she wants to wait, you wait. Even if it means you get blueballed so hard your nuts travel into the future due to relativistic effects. Dora: Ah, the Hawking Libido Dilation Effect. Bane of frustrated young men and physicists alike. Sortir en Pantoufles: up 1062 days, 21:17