From mboxrd@z Thu Jan 1 00:00:00 1970 From: "P. Christeas" Subject: FYI: ACPI 'sleep 1' resets atkbd keycodes Date: Sun, 25 Jan 2004 11:37:19 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200401251137.21646.p_christ@hol.gr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Vojtech Pavlik , lkml List-Id: linux-acpi@vger.kernel.org This may be just a minor issue: I had to use the setkeycodes utility to enable some extra keys (that weren't mapped by kernel's atkbd tables). After waking from sleep 1, those keys were reset. That is, I had to use 'setkeycodes' again to customize the tables again. IMHO the way kernel works now is correct. It should *not* have extra code just to handle that. Just make sure anybody that alters his kbd tables puts some extra script to recover the tables after an ACPI wake. This should be more like a note to Linux distributors. Have a nice day. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn