From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755158AbZHNCKe (ORCPT ); Thu, 13 Aug 2009 22:10:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753369AbZHNCKe (ORCPT ); Thu, 13 Aug 2009 22:10:34 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:57881 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752923AbZHNCKd (ORCPT ); Thu, 13 Aug 2009 22:10:33 -0400 X-Sasl-enc: tqMe9sljevbMPJXcUzs6sLCmwLnk/rI5tSy8sg1hTQLo 1250215832 Date: Thu, 13 Aug 2009 23:10:31 -0300 From: Henrique de Moraes Holschuh To: reinette chatre Cc: Lukas Hejtmanek , Johannes Berg , "linux-kernel@vger.kernel.org" Subject: Re: iwlwifi (4965) regression since 2.6.30 Message-ID: <20090814021031.GB4555@khazad-dum.debian.net> References: <1249336021.30019.4304.camel@rc-desk> <20090804084903.GV3382@ics.muni.cz> <1249426183.30019.4581.camel@rc-desk> <20090804225626.GZ3382@ics.muni.cz> <1249429081.30019.4588.camel@rc-desk> <20090806132244.GC15867@khazad-dum.debian.net> <20090806224110.GJ3382@ics.muni.cz> <20090806230704.GA14381@khazad-dum.debian.net> <20090807213508.GN3382@ics.muni.cz> <1250204399.30019.6344.camel@rc-desk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <1250204399.30019.6344.camel@rc-desk> X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, 13 Aug 2009, reinette chatre wrote: > On Fri, 2009-08-07 at 14:35 -0700, Lukas Hejtmanek wrote: > > On Thu, Aug 06, 2009 at 08:07:04PM -0300, Henrique de Moraes Holschuh wrote: > > > On Fri, 07 Aug 2009, Lukas Hejtmanek wrote: > > > > 0x0004 = 238 # KEY_WLAN > > > > > > This means any rfkill input handler (be it in kernel or userspace) will > > > toggle your WLAN cards when fn+f5 is pressed. You can just assign a > > > different keycode to it (use KEY_RESERVED or KEY_UNKNOWN if you don't want > > > the key to do anything). > > > > Could you give me some hints how to do the mapping? > > On my system this key is mapped to 385 (KEY_RADIO) - so that can explain And KEY_RADIO is the key to select the radio tuner... heh. The bogosity never ends. At least it is unlikely that anything would care for KEY_RADIO. > why we are seeing different behavior. Perhaps you can try to change your > key mapping to this if you just want bluetooth to be affected? That would be the correct thing to do, yes. > >From what I understand you can use input-kbd to change the key mappings. > The map file you can provide to it is in same format as the one it > prints for you. You can also add a HAL fdi file. I will attach one I found on my system, modify to your taste and find out where you should drop it on /etc for HAL to use... -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="30-keymap-module-thinkpad-acpi.fdi" 0x02:screenlock 0x03:sleep 0x06:switchvideomode 0x07:search 0x0b:suspend 0x17:vendor input.keymap 0x02:battery 0x02:screenlock 0x03:sleep 0x06:switchvideomode 0x07:search 0x0a:mode 0x0b:suspend 0x17:vendor input.keymap 0x03:sleep 0x04:radio 0x06:switchvideomode 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x02:screenlock 0x03:sleep 0x06:switchvideomode 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x02:screenlock 0x03:sleep 0x04:radio 0x06:switchvideomode 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x02:screenlock 0x03:sleep 0x06:switchvideomode 0x07:radio 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x02:screenlock 0x03:sleep 0x04:radio 0x06:switchvideomode 0x08:f24 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x01:screenlock 0x02:battery 0x03:sleep 0x04:radio 0x06:switchvideomode 0x07:f22 0x08:f24 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap 0x01:screenlock 0x02:battery 0x03:sleep 0x04:radio 0x06:switchvideomode 0x07:f22 0x08:f24 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x11:kbdillumtoggle 0x14:volumeup 0x15:volumedown 0x16:mute 0x13:zoom 0x17:vendor input.keymap 0x01:screenlock 0x02:battery 0x03:sleep 0x04:radio 0x06:switchvideomode 0x07:prog1 0x08:ejectcd 0x0b:suspend 0x0f:brightnessup 0x10:brightnessdown 0x13:zoom 0x17:vendor input.keymap --ReaqsoxgOBHFXBhH--