← Back to team overview

kernel-packages team mailing list archive

[Bug 1389268] Re: Thinkpad wireless switch key doesn't work

 

SergeiS, thank you for reporting this and helping make Ubuntu better. Could you please test the latest upstream kernel available from the very top line at the top of the page (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:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18-rc3

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.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

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
understanding.

** Tags added: latest-bios-1.17

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

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Summary changed:

- Thinkpad wireless switch key doesn't work 
+ [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work

** Description changed:

- I am experiencing the issue on X1 Carbon laptop, but it seems that the
- issue affects all Thinkpads. Here's a link to a similar report for a
- different model
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310248
- 
- It appears that the code in charge of handling the X1 Carbon adaptive
- keyboard is here and rfkill handling is there:
+ On my X1 Carbon laptop the wireless switch key doesn't work. It appears
+ that the code in charge of handling the X1 Carbon adaptive keyboard is
+ here and rfkill handling is there:
  https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c
  
- Pressing the key generates no events (see below) and thus has no effect.
- So, it's either my stock kernel doesn't have it, or something else is broken.
- 
- root@x1:~# ls /dev/input/by-path/platform-thinkpad_acpi-event -lh
+ Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one:
+ ls /dev/input/by-path/platform-thinkpad_acpi-event -lh
  lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event -> ../event7
  
- # nothing ever fires when I press all extra buttons including the
- wireless one
- 
- root@x1:~# input-events 7
+ input-events 7
  /dev/input/event7
-    bustype : BUS_HOST
-    vendor : 0x17aa
-    product : 0x5054
-    version : 16641
-    name : "ThinkPad Extra Buttons"
-    phys : "thinkpad_acpi/input0"
-    bits ev : EV_SYN EV_KEY EV_MSC EV_SW
+    bustype : BUS_HOST
+    vendor : 0x17aa
+    product : 0x5054
+    version : 16641
+    name : "ThinkPad Extra Buttons"
+    phys : "thinkpad_acpi/input0"
+    bits ev : EV_SYN EV_KEY EV_MSC EV_SW
  
  waiting for events
  timeout, quitting
  
  # acpi events fire for all extra buttons except the wireless one!
  
  root@x1:~# acpi_listen -t 100
  ibm/hotkey LEN0068:00 00000080 00001105
  ibm/hotkey LEN0068:00 00000080 00001106
  ibm/hotkey LEN0068:00 00000080 00001108
  ibm/hotkey LEN0068:00 00000080 0000110a
  ibm/hotkey LEN0068:00 00000080 00001101
  ibm/hotkey LEN0068:00 00000080 00001101
  ibm/hotkey LEN0068:00 00000080 00001101
  video/switchmode VMOD 00000080 00000000
  ibm/hotkey LEN0068:00 00000080 0000110e
  
  So, since nothing fires on both channels, it seems I can't manually bind
  the button to rfkill either.
  
- As temporary workaround I had added a custom rule to /etc/acpi/events
- and bound handling do a different adaptive button that does generate a
- acpi event.
+ WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to a
+ different adaptive button that does generate a acpi event.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-24-generic 3.16.0-24.32
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  Uname: Linux 3.16.0-24-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  sergei     2598 F.... pulseaudio
-  /dev/snd/controlC1:  sergei     2598 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  sergei     2598 F.... pulseaudio
+  /dev/snd/controlC1:  sergei     2598 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Nov  4 10:01:26 2014
  HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913
  InstallationDate: Installed on 2014-11-03 (1 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  MachineType: LENOVO 20A8A0K5US
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7
  RelatedPackageVersions:
-  linux-restricted-modules-3.16.0-24-generic N/A
-  linux-backports-modules-3.16.0-24-generic  N/A
-  linux-firmware                             1.138
+  linux-restricted-modules-3.16.0-24-generic N/A
+  linux-backports-modules-3.16.0-24-generic  N/A
+  linux-firmware                             1.138
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/02/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GRET40WW (1.17 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20A8A0K5US
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20A8A0K5US
  dmi.product.version: ThinkPad X1 Carbon 2nd
  dmi.sys.vendor: LENOVO

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1389268

Title:
  [Lenovo ThinkPad X1 Carbon 20A8] Wireless switch key doesn't work

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  On my X1 Carbon laptop the wireless switch key doesn't work. It
  appears that the code in charge of handling the X1 Carbon adaptive
  keyboard is here and rfkill handling is there:
  https://kernel.googlesource.com/pub/scm/linux/kernel/git/jic23/iio/+/refs/heads/togreg/drivers/platform/x86/thinkpad_acpi.c

  Pressing the key generates no events (see below) and thus has no effect. So, it's either my stock kernel doesn't have it, or something else is broken. Nothing ever fires when I press all extra buttons including the wireless one:
  ls /dev/input/by-path/platform-thinkpad_acpi-event -lh
  lrwxrwxrwx 1 root root 9 Nov 2 19:45 /dev/input/by-path/platform-thinkpad_acpi-event -> ../event7

  input-events 7
  /dev/input/event7
     bustype : BUS_HOST
     vendor : 0x17aa
     product : 0x5054
     version : 16641
     name : "ThinkPad Extra Buttons"
     phys : "thinkpad_acpi/input0"
     bits ev : EV_SYN EV_KEY EV_MSC EV_SW

  waiting for events
  timeout, quitting

  # acpi events fire for all extra buttons except the wireless one!

  root@x1:~# acpi_listen -t 100
  ibm/hotkey LEN0068:00 00000080 00001105
  ibm/hotkey LEN0068:00 00000080 00001106
  ibm/hotkey LEN0068:00 00000080 00001108
  ibm/hotkey LEN0068:00 00000080 0000110a
  ibm/hotkey LEN0068:00 00000080 00001101
  ibm/hotkey LEN0068:00 00000080 00001101
  ibm/hotkey LEN0068:00 00000080 00001101
  video/switchmode VMOD 00000080 00000000
  ibm/hotkey LEN0068:00 00000080 0000110e

  So, since nothing fires on both channels, it seems I can't manually
  bind the button to rfkill either.

  WORKAROUND: Add custom rule to /etc/acpi/events and bound handling to
  a different adaptive button that does generate a acpi event.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-24-generic 3.16.0-24.32
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  Uname: Linux 3.16.0-24-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  sergei     2598 F.... pulseaudio
   /dev/snd/controlC1:  sergei     2598 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Nov  4 10:01:26 2014
  HibernationDevice: RESUME=UUID=b3bb00ce-12f6-48e7-a508-667a4201d913
  InstallationDate: Installed on 2014-11-03 (1 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  MachineType: LENOVO 20A8A0K5US
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash rfkill.default_state=0 acpi_osi=Linux acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-24-generic N/A
   linux-backports-modules-3.16.0-24-generic  N/A
   linux-firmware                             1.138
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/02/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GRET40WW (1.17 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20A8A0K5US
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8A0K5US:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8A0K5US:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20A8A0K5US
  dmi.product.version: ThinkPad X1 Carbon 2nd
  dmi.sys.vendor: LENOVO

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


References