login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
16
Re: Input+S3: extra keycodes forgotten after suspend
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Dmitry Torokhov <dmitry.torokhov@...>
To: Bruno Pr?mont <bonbons@...>
Cc: Linux Input <linux-input@...>, Linux Kernel Mailing List <linux-kernel@...>, R. J. Wysocki <Rafal.Wysocki@...>
Subject:
Re: Input+S3: extra keycodes forgotten after suspend
Date: Friday, May 16, 2008 - 4:38 pm
Hi Bruno, On Fri, May 16, 2008 at 10:25:43PM +0200, Bruno Pr?mont wrote:
quoted text
> On my Acer TravelMate 660 I lose keycodes for the extra keys (dritek > extensions) after resume. > > The system runs setkeycodes during boot sequence to initialize key codes > for the extra keys as below: > > /usr/bin/setkeycodes KEYCODES="e025 138 e026 141 e027 171 e074 148 e073 149 e055 229 e056 230 e057 227 e058 228" > # Fn + F1 ~ e025 => 138 [KEY_HELP] (Help) > # Fn + F2 ~ e026 => 141 [KEY_SETUP] (Notebook Manager) > # Fn + F3 ~ e027 => 171 [KEY_CONFIG] (Power Options) > # Mail ~ e06c => 155 [KEY_MAIL] (EMail) > # WWW ~ e032 => 150 [KEY_WWW] (Browser) > # P1 ~ e074 => 148 [KEY_PROG1] (P1) > # P2 ~ e073 => 149 [KEY_PROG2] (P2) > # Bluetooth ~ e058 => 228 [KEY_BLUETOOTH_DISABLE] (Disable Bluetooth) > # Bluetooth ~ e057 => 227 [KEY_BLUETOOTH_ENABLE] (Enable Bluetooth) > # Wireless ~ e056 => 230 [KEY_WLAN_DISABLE] (Disable WLAN) > # Wireless ~ e055 => 229 [KEY_WLAN_ENABLE] (Enable WLAN) > # Vol UP ~ e030 => 115 [KEY_VOLUMEUP] (Increase Volume) > # Vol DOWN ~ e02e => 114 [KEY_VOLUMEDOWN] (Decrease Volume) > # Vol Mute ~ e020 => 113 [KEY_MUTE] (Mute volume) > > After resume I end up with the following messages when pressing the keys: > [ 779.695675] atkbd.c: Unknown key pressed (translated set 2, code 0xd6 on isa0060/serio0). > [ 779.695675] atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known. > [ 779.705218] atkbd.c: Unknown key released (translated set 2, code 0xd6 on isa0060/serio0). > [ 779.705218] atkbd.c: Use 'setkeycodes e056 <keycode>' to make it known. > [ 781.603912] atkbd.c: Unknown key pressed (translated set 2, code 0xd5 on isa0060/serio0). > [ 781.603912] atkbd.c: Use 'setkeycodes e055 <keycode>' to make it known. > [ 781.613564] atkbd.c: Unknown key released (translated set 2, code 0xd5 on isa0060/serio0). > [ 781.613564] atkbd.c: Use 'setkeycodes e055 <keycode>' to make it known. > [ 782.772662] atkbd.c: Unknown key pressed (translated set 2, code 0xd7 on isa0060/serio0). > [ 782.772662] atkbd.c: Use 'setkeycodes e057 <keycode>' to make it known. > [ 782.782390] atkbd.c: Unknown key released (translated set 2, code 0xd7 on isa0060/serio0). > [ 782.782390] atkbd.c: Use 'setkeycodes e057 <keycode>' to make it known. > [ 783.461807] atkbd.c: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0). > [ 783.461807] atkbd.c: Use 'setkeycodes e058 <keycode>' to make it known. > [ 783.471544] atkbd.c: Unknown key released (translated set 2, code 0xd8 on isa0060/serio0). > [ 783.471544] atkbd.c: Use 'setkeycodes e058 <keycode>' to make it known. > > > Is this kind of issue known, what are the options to get kernel to remember the > keycode mappings after s2ram? >
Do you unload atkbd or perhaps i8042 for s2ram? Or do you see that keyboard is detected again (in dmesg) after resume? -- Dmitry --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Fri May 16, 4:25 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Fri May 16, 4:38 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Fri May 16, 5:00 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Mon May 19, 11:50 am)
Re: Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Mon May 19, 12:45 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Wed May 21, 1:55 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Wed May 21, 4:08 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Wed May 21, 4:38 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Fri May 23, 12:44 am)
Re: Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Fri May 23, 4:57 pm)
Re: Input+S3: extra keycodes forgotten after suspend
, Dmitry Torokhov
, (Tue May 27, 1:52 am)
Re: Input+S3: extra keycodes forgotten after suspend
, Bruno
, (Tue May 27, 4:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: PCI probing changes
Borislav Petkov
[PATCH] [KERNEL-DOC] kill warnings when building mandocs
Greg Kroah-Hartman
[PATCH 012/196] nozomi driver
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
610 guests
online.
Online users
zeekec
Syndicate