[Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
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/
#!/bin/sh
test -f /usr/share/
# Find and toggle wireless of bluetooth devices on ThinkPads
. /usr/share/
# disable bluetooth on wireless activate to save battery
if isAnyWirelessPo
# Wireless was turned on
logger "Wireless switch turned on: Disable bluetooth."
echo disable > /proc/acpi/
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
Upstream URL: https://<email address hidden>
---
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2013-03-24 (438 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
Lsusb:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP)
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 4291ZPK
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.2
Tags: trusty
Uname: Linux 3.13.0-27-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-04-18 (48 days ago)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 07/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET69WW (1.39 )
dmi.board.
dmi.board.name: 4291ZPK
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4291ZPK
dmi.product.
dmi.sys.vendor: LENOVO
affects: | acpi-support (Ubuntu) → linux-lts-trusty (Ubuntu) |
tags: | added: patch |
description: | updated |
Tobias Stegmann, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal: /wiki.ubuntu. com/ReportingBu gs.
apport-collect 1310248
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/