Battery hot key does not bring up the power management dialog in Trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Invalid
|
Undecided
|
Unassigned | ||
unity-settings-daemon (Ubuntu) |
Fix Released
|
Medium
|
Sebastien Bacher | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Impact
the battery hotkey doesn't do anything
* Test case:
On a laptop with a special key for battery info press fn+f3
-> the power info dialog should be displayed
* Regression potential
the action used before was buggy, having a valid one shouldn't create any issue
-------
CID: 201209-11840 Dell L322X
The battery hotkey on this system (fn+f3) cannot bring up the power management dialog.
Also verified with 14.04.2 on LiveUSB, it's not working as well.
But it works with 12.04.5 on LiveUSB. (Maybe it's user-space related?)
It seems that the key event could be detected properly, it could pass our checkbox test (which will check the '0xe071,
ubuntu@
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 238 press
keycode 238 release
keycode 29 press
^Ccaught signal 2, cleaning up...
ubuntu@
ubuntu@
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)...
0x9c
0xe0 0x71 0xe0 0xf1
^Ccaught signal 2, cleaning up...
ubuntu@
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA:
country TW:
(2402 - 2472 @ 40), (3, 27)
(5270 - 5330 @ 40), (3, 17), DFS
(5735 - 5815 @ 40), (3, 30)
CurrentDesktop: Unity
Date: Tue Mar 17 03:29:53 2015
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-03-13 (3 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Dell Inc. XPS L322X
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.127.5
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/28/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS L322X
dmi.sys.vendor: Dell Inc.
Related branches
- Iain Lane: Approve
-
Diff: 38 lines (+1/-20)1 file modifiedplugins/media-keys/gsd-media-keys-manager.c (+1/-20)
This is the xev ouput when pressing the fn+f3 battery hotkey:
MappingNotify event, serial 39, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
FocusOut event, serial 39, synthetic NO, window 0x3e00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 40, synthetic NO, window 0x3e00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 40, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0