kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #64731
[Bug 1310248] [NEW] Thinkpad X220 wireless switch doesn't generate an acpi event
You have been subscribed to a public bug:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
I use a customized acpi event script to disable bluetooth on my Thinkpad x220, if I toggle the hardware wifi switch (not Fn+F5):
$ cat /etc/acpi/ibm-wireless-switch.sh
#!/bin/sh
test -f /usr/share/acpi-support/state-funcs || exit 0
# Find and toggle wireless of bluetooth devices on ThinkPads
. /usr/share/acpi-support/state-funcs
# disable bluetooth on wireless activate to save battery
if isAnyWirelessPoweredOn; then
# Wireless was turned on
logger "Wireless switch turned on: Disable bluetooth."
echo disable > /proc/acpi/ibm/bluetooth
fi
This used to work fine with Ubuntu 13.10, however it stopped working with 14.04. More precisely the switch doesnt generate an acpi event anymore. To check that I used acpi_listen.
$ acpi_listen -t 10
# nothing happens here
Using 14.04 with kernel version 3.11.0-19 from 13.10 the switch works fine again:
$ acpi_listen -t 10
ibm/hotkey HKEY 00000080 00007000
Thanks.
** Affects: linux (Ubuntu)
Importance: Low
Status: Incomplete
--
Thinkpad X220 wireless switch doesn't generate an acpi event
https://bugs.launchpad.net/bugs/1310248
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.