Public bug reported:

$ 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-lts-trusty (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: acpi-support (Ubuntu) => linux-lts-trusty (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1310248

Title:
  Thinkpad X220 wireless switch doesn't generate an acpi event

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1310248/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to