[Dell Inspiron 3437] Wireless hotkey does not work

Bug #1280063 reported by Po-Hsu Lin
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-lts-trusty (Ubuntu)
Triaged
Low
Unassigned

Bug Description

CID: 201304-13210 Dell Inspiron 3437

The wireless key does not work on this system

WORKAROUND: 1. Install 12.04.4 + 3.14rc2 kernel
2. Add "options dell_laptop force_rfkill=1" into /etc/modprobe.d/dell.conf
3. Reboot
4. Test the hotkey

Debugging information:
* With showkey command, key press event will be correctly detected,
but the release event will shows up right after the press event even if you hold the wireless hotkey down.

ubuntu@201304-13210:/usr/share/checkbox/jobs$ 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 240 press
keycode 240 release
keycode 240 press
keycode 240 release
keycode 240 press
keycode 240 release
keycode 29 press
^Ccaught signal 2, cleaning up...

* With xev command, the same release behaviour can be seen:
KeyPress event, serial 36, synthetic NO, window 0x3a00001,
    root 0x9c, subw 0x0, time 159906720, (603,314), root:(669,366),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3a00001,
    root 0x9c, subw 0x0, time 159906720, (603,314), root:(669,366),
    state 0x0, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.11.0-15-generic 3.11.0-15.25~precise1 [modified: boot/vmlinuz-3.11.0-15-generic]
ProcVersionSignature: Ubuntu 3.11.0-15.25~precise1-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-15-generic.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1729 F.... pulseaudio
 /dev/snd/controlC1: ubuntu 1729 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'MID'/'HDA Intel MID at 0xf7e14000 irq 64'
   Mixer name : 'Intel Haswell HDMI'
   Components : 'HDA:80862807,80860101,00100000'
   Controls : 21
   Simple ctrls : 3
Card1.Amixer.info:
 Card hw:1 'PCH'/'HDA Intel PCH at 0xf7e10000 irq 63'
   Mixer name : 'Realtek ALC283'
   Components : 'HDA:10ec0283,102805f3,00100003'
   Controls : 24
   Simple ctrls : 12
Date: Thu Feb 13 21:46:13 2014
HibernationDevice: RESUME=UUID=f5173d50-12c1-4e93-b79b-a0fea0855f5e
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
MachineType: Dell Inc. Inspiron 3437
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic root=UUID=6ae2d935-c236-4464-8b8c-1b4f7b899b5b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-15-generic N/A
 linux-backports-modules-3.11.0-15-generic N/A
 linux-firmware 1.79.9
SourcePackage: linux-lts-saucy
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/06/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: X19
dmi.board.vendor: Dell Inc.
dmi.board.version: X19
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrX19:bd06/06/2013:svnDellInc.:pnInspiron3437:pvrNotSpecified:rvnDellInc.:rn:rvrX19:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Inspiron 3437
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
Po-Hsu Lin (cypressyew) wrote :

Verified with the latest mainline kernel, 3.14.0-031400rc2, the issue persists

Revision history for this message
Anthony Wong (anthonywong) wrote :

@PHLin
With your 3.14 kernel running, can you reload the dell_laptop kernel module with the force_rfkill=1 parameter, and then check the wireless hotkey functionality again?

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

Hello Anthony,

On 201304-13210 + 3.14rc2 kernel, with /etc/modprobe.d/dell.conf created and the following line added
options dell_laptop force_rfkill=1
the wireless hotkey works

Steps:
1. Install 12.04.4 + 3.14rc2 kernel
2. Added "options dell_laptop force_rfkill=1" into /etc/modprobe.d/dell.conf
3. Reboot
4. Test the hotkey

Actual result:
* Wireless hotkey works as expected.

ubuntu@201304-13210:~$ rfkill list
0: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: no
1: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: no
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
(press the hotkey)

ubuntu@201304-13210:~$ rfkill list
0: dell-wifi: Wireless LAN
 Soft blocked: no
 Hard blocked: yes
1: dell-bluetooth: Bluetooth
 Soft blocked: no
 Hard blocked: yes
2: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
3: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

Ref:
https://bugzilla.redhat.com/show_bug.cgi?id=1045807#c6

Changed in linux-lts-saucy (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Low
penalvch (penalvch)
description: updated
Revision history for this message
Anthony Wong (anthonywong) wrote :

@PHLin

Thanks for the testing. We probably should whitelist this model in dell_laptop.

Changed in linux-lts-saucy (Ubuntu):
assignee: Anthony Wong (anthonywong) → Edward Lin (airken)
Edward Lin (airken)
Changed in linux-lts-saucy (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Edward Lin (airken) wrote :

Tried 2 methods to make wireless key work.
1. Add this module to whitelist. -> works fine.
2. Get notification from RBTN ACPI device then send KEY_RFKILL event. -> nothing gets from RBTN

Revision history for this message
Edward Lin (airken) wrote :
Edward Lin (airken)
Changed in linux-lts-saucy (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still affecting 12.04.5

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

@Po-Hsu,

Upstream does not accept the patch mentioned in #7.
Do you ever try the same workaround for the bug 1362388 ?

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

Hi Edward,
workaround for bug 1362388 works on this system

Daniel Manrique (roadmr)
Changed in linux-lts-trusty (Ubuntu):
importance: Undecided → Low
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

penalvch (penalvch)
no longer affects: linux-lts-saucy (Ubuntu)
Changed in linux-lts-trusty (Ubuntu):
status: New → Triaged
tags: added: bios-outdated-a09
penalvch (penalvch)
tags: added: cherry-pick
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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