[Dell Inspiron 5437] Wireless key does not work on this system

Bug #1342548 reported by Po-Hsu Lin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Medium
Liming Wang
linux (Ubuntu)
Fix Released
Medium
Liming Wang

Bug Description

CID: 201305-13673 Dell Inspiron 5437

The wireless hotkey does not work on this system

Steps:
1. Install 14.04 + update (3.13.0-30), boot to desktop
2. Try to control wireless / BT with the hotkey

Expected result:
* Wireless / BT could be controlled by the hotkey

Actual result:
* Hotkey is not working

Debugging information:
ubuntu@201305-13673:~$ sudo showkey -k
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode 28 release
keycode 240 press
keycode 240 release
keycode 240 press
keycode 240 release
^Ccaught signal 2, cleaning up...

KeyPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x2c0, subw 0x0, time 199006, (-357,353), root:(430,405),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3a00001,
    root 0x2c0, subw 0x0, time 199006, (-357,353), root:(430,405),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

nothing from sudo showkey -s

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-30-generic 3.13.0-30.55
ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1638 F.... pulseaudio
 /dev/snd/controlC1: ubuntu 1638 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
CurrentDesktop: Unity
Date: Wed Jul 16 01:56:06 2014
HibernationDevice: RESUME=UUID=67674077-ce03-4513-b8be-b3e9bdd8840d
InstallationDate: Installed on 2014-07-16 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Dell Inc. Inspiron 5437
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic.efi.signed root=UUID=e56f47e4-b04b-4702-b89f-59e1c08572c4 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-30-generic N/A
 linux-backports-modules-3.13.0-30-generic N/A
 linux-firmware 1.127.4
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/14/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.vendor: Dell Inc.
dmi.board.version: A07
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/14/2013:svnDellInc.:pnInspiron5437:pvrNotSpecified:rvnDellInc.:rn:rvrA07:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Inspiron 5437
dmi.product.version: Not Specified
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue could be fixed by adding a kernel parameter:
acpi_osi=\"!Windows 2012\"

Verified with the kernel I built:
http://people.canonical.com/~phlin/kernel/bug-1342548-wl-key/
It works with 14.04 on this system.

However, I am not familiar kernel patching workflow and I am not sure if there is any other concerns for not patching in this way, so I will just leave the patch here.

Thanks

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: patch
Ara Pulido (ara)
tags: added: blocks-hwcert
Changed in linux (Ubuntu):
assignee: Anthony Wong (anthonywong) → Liming Wang (wangliming)
Changed in hwe-next:
assignee: nobody → Liming Wang (wangliming)
importance: Undecided → Medium
Revision history for this message
Liming Wang (wangliming) wrote :

One similar patch has been submitted to the mainline kernel:

http://www.spinics.net/lists/linux-acpi/msg50338.html

It also fixes the wireless hotkey issue.
I think we could submit the Lin's patch to mainline.

Revision history for this message
Liming Wang (wangliming) wrote :

The similar bug is LP#1288161

Changed in hwe-next:
status: New → In Progress
Revision history for this message
Liming Wang (wangliming) wrote :

It seems that with win8 capability, wifi hotkey doesn't work well. I will submit one patch to mainline to resolve the bug.
@anthony Wong, please send the log of the "sudo lsinput" to me.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

sudo lsinput log from 201305-13673

Revision history for this message
Liming Wang (wangliming) wrote :

@anthony Wong, thanks a lot!

I need more log from following commands:
1. sudo input-events 5
2. acpi_listen
3. sudo showkey -s

Please press wifi hotkey after executing above commands.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

ubuntu@201305-13673:~$ sudo input-events 7
/dev/input/event7
   bustype : BUS_HOST
   vendor : 0x0
   product : 0x0
   version : 0
   name : "Dell WMI hotkeys"
   phys : "wmi/input0"
   bits ev : EV_SYN EV_KEY EV_MSC

waiting for events
(Nothing captured)

Also, nothing captured from acpi_listen, and sudo showkey -s

Revision history for this message
Liming Wang (wangliming) wrote :

But in your first message, "showkey -k“ has captured the keycode 240? Just like:
...
keycode 240 press
keycode 240 release
...

but "showkey -s" doesn't return anything? So, it's weird.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Yes, it's weird, this behaviour could be reproduced on those affected Dell systems.

Revision history for this message
Edward Lin (airken) wrote :

Quirk for Dell Inspiron 7737/7537/5437/3437 and Vostro 3446 is accepted by upstream.
And the patch will be merged in 3.18.

http://permalink.gmane.org/gmane.linux.acpi.devel/70627

Revision history for this message
Liming Wang (wangliming) wrote :

OK, so now we should backport the patches to our kernel.

Revision history for this message
Adam Lee (adam8157) wrote :

patch for this bug and Bug 1362388 is in mainline now.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with 201305-13673 Dell Inspiron 5437 again, it works with 14.04.1 + update (3.13.0-46)
Thanks!

Changed in hwe-next:
status: In Progress → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.