[Bug 1167869] Re: [keymap] Dell Latitude D830: hibernate key
Martin Pitt
martin.pitt at ubuntu.com
Thu May 23 04:22:59 UTC 2013
The udev keymaps are correct. As I said, on the kernel level there is
only KEY_SLEEP (suspend to RAM) and KEY_SUSPEND (suspend to disk, aka
hibernate).
On the X.org level, /usr/share/X11/xkb/keycodes/evdev assigns <I150> to
KEY_SLEEP and <I213> to KEY_SUSPEND. /usr/share/X11/xkb/symbols/inet
then maps <I150> to XF86Sleep and <I213> to XF86Suspend, mirroring the
evdev naming. There is also an entry
key <I255> { [ XF86Hibernate ] }; //
KEY_HIBERNATE
But this isn't defined in /usr/share/X11/xkb/keycodes/evdev. Per the
"evdev code + 8" mapping, this would correspond to KEY_RFKILL and thus
be wrong.
So there are two things which can happen here:
* Change the xkb mapping of <I213> to XF86Hibernate. This seems to be
what KDE expects, and GNOME gets along with it as well (it handles both
XF86Hibernate and XF86Suspend).
* Change KDE to accept XF86Suspend for hibernation as well, in
addition to XF86Hibernate (which is never emitted right now).
** Package changed: systemd (Ubuntu) => xkeyboard-config (Ubuntu)
** Changed in: xkeyboard-config (Ubuntu)
Status: New => Triaged
** Summary changed:
- [keymap] Dell Latitude D830: hibernate key
+ KEY_SUSPEND should mean "hibernate"/XF86Hibernate
** Also affects: kde4libs (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1167869
Title:
KEY_SUSPEND should mean "hibernate"/XF86Hibernate
Status in “kde4libs” package in Ubuntu:
New
Status in “xkeyboard-config” package in Ubuntu:
Triaged
Bug description:
<Fn><F1>. Puts the computer into hibernate mode. Dell QuickSet is
required (see "DellTM QuickSet" on page 129). --- Info from Notebook technical documentation.
XEV output:
KeyRelease event, serial 40, synthetic NO, window 0x3e00001,
root 0x103, subw 0x0, time 5090384, (164,-14), root:(166,44),
state 0x0, keycode 213 (keysym 0x1008ffa7, XF86Suspend), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
So, as we see, this combination generates XF86Suspend code, and it is
not working for some reason (nothing`s happened when to press it). It
must generate XF86Hibernate to work.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: udev 175-0ubuntu25
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Thu Apr 11 11:04:03 2013
InstallationDate: Installed on 2013-02-28 (41 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MachineType: Dell Inc. Latitude D830
MarkForUpload: True
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-17-generic root=UUID=61a1e2a2-ab1a-47a0-bf86-5ef19ee2e901 ro rootflags=subvol=@ quiet splash
SourcePackage: udev
UpgradeStatus: Upgraded to raring on 2013-03-16 (26 days ago)
dmi.bios.date: 12/22/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 0UY141
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd12/22/2011:svnDellInc.:pnLatitudeD830:pvr:rvnDellInc.:rn0UY141:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D830
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/1167869/+subscriptions
More information about the foundations-bugs
mailing list