← Back to team overview

kernel-packages team mailing list archive

[Bug 1310248] Re: Thinkpad X220 wireless switch doesn't generate an acpi event


Tobias Stegmann, could you please test the latest upstream kernel available (the one all the way at the top, and not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:

where VERSION-NUMBER is the version number of the kernel you tested. For example:

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:

If the mainline kernel does not fix this bug, please add the following tags:

As well, please remove the tag:

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your

** Tags added: latest-bios-1.39

** Changed in: linux (Ubuntu)
   Importance: Low => Medium

** Summary changed:

- Thinkpad X220 wireless switch doesn't generate an acpi event
+ [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  [Lenovo Thinkpad X220] wireless switch doesn't generate an acpi event

Status in “linux” package in Ubuntu:

Bug description:
  $ 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 

  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

  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

  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
   /dev/snd/controlC0:  tobias     2256 F.... pulseaudio
                        tobias     2324 F.... pulseaudio
  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)
   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=/boot/vmlinuz-3.13.0-27-generic root=UUID=9a62bd25-d065-4486-a18d-5a3f2a6c3473 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
   linux-restricted-modules-3.13.0-27-generic N/A
   linux-backports-modules-3.13.0-27-generic  N/A
   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.asset.tag: Not Available
  dmi.board.name: 4291ZPK
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8DET69WW(1.39):bd07/18/2013:svnLENOVO:pn4291ZPK:pvrThinkPadX220:rvnLENOVO:rn4291ZPK:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4291ZPK
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to: