lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 6 Aug 2009 10:22:44 -0300
From:	Henrique de Moraes Holschuh <hmh@....eng.br>
To:	reinette chatre <reinette.chatre@...el.com>
Cc:	Lukas Hejtmanek <xhejtman@....muni.cz>,
	Johannes Berg <johannes@...solutions.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: iwlwifi (4965) regression since 2.6.30

On Tue, 04 Aug 2009, reinette chatre wrote:
> > My problem is, that since 2.6.31-rcX Fn+F5 toggles soft rfkill state. It
> > did not happen in 2.6.30 and earlier. In that case, Fn+F5 triggered an
> > acpi event (key press). Now, it triggers acpi eveny *and* touches soft
> > rfkill of WIFI.  I like the previous behavior, i.e., don't touch
> > anything, just report acpi event.
> 
> I do not know why your Lenovo T61 gets wifi software rfkill when you press
> Fn-F5 and mine does not. I am adding Henrique and hope he can tell us what
> is going on. 

Well, if you really want to get to the bottom of the matter, I need:

1. .config from both of you

2. the output of "grep . /sys/bus/platform/devices/thinkpad_acpi/hotkey_*";

3. the keymap of the thinkpad-acpi input device.  On Debian, "lsinput and
input-kbd" from package "input-utils" can be used to locate the correct
input device and dump its keymap.  Other distros have similar input-device
utilities, I think.


I guess 2.6.31 has the new rfkill code, and this likely enabled rfkill-input
or something.

If you *really* want to make sure fn+f5 will never give you surprises, you
either:

1. switch bit 4 off from /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask

or

2. program scancode 4 on the thinkpad-acpi input device to something that is
not KEY_WLAN, KEY_BLUETOOTH, etc.


ACPI events for fn+f5 will be generated *only* on the deprecated, outdated
/proc/acpi/event interface.  hotkey_mask gets rid of those too.

-- 
  "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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ