Came to this bug while searching on my the wireless toggle switch
doesn't work on my Thinkpad X1 Carbon after a fresh Ubuntu 14.10
install. I understand some of the reasoning above, which seems to say,
that it is not really an issue because the button press can be
intercepted through other ways and dealt with then, but  I want  to say
that is the only key that is not working out of the box, so it is really
confusing, and just plain bad user experience. Even after reading the
"solution" above, I can't get it to work on my laptop. I can use rfkill
command for now, but, oh boy, it would be great to the key properly
working.

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

So, it's either my stock kernel doesn't have it, or something else is
broken.

Here's some info about your system.

root@x1:~# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-3.16.0-24-generic.efi.signed 
root=/dev/mapper/ubuntu--vg-root ro quiet splash 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

root@x1:~# uname -r
3.16.0-24-generic

root@x1:~# 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 
/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.

Please tell me what I can do to help.

-- 
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:
  [Lenovo 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/+bug/1310248/+subscriptions

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

Reply via email to