Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764292AbXHQQHv (ORCPT ); Fri, 17 Aug 2007 12:07:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750724AbXHQQHl (ORCPT ); Fri, 17 Aug 2007 12:07:41 -0400 Received: from rv-out-0910.google.com ([209.85.198.186]:57821 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbXHQQHk (ORCPT ); Fri, 17 Aug 2007 12:07:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EP2BsxRHY1BwlAC9SeeDCWLxzht2rLbXtpyPuBESKooJ7nX1vrZ3tZ/sDxZ4eLJTPt97vlIzWxzVbil1xkLKtkPkvlBY1x9plJORkoqFjzDV079WQLq8c2yCKTfM21nhJaOZvzCbztWx6HUgNwMzp4L7vYxWlfKbiyIU/TVJdlM= Message-ID: <3d3168e50708170907s733a6c73i974d4406c9e8896b@mail.gmail.com> Date: Fri, 17 Aug 2007 18:07:38 +0200 From: "=?ISO-8859-2?Q?Micha=B3_Majchrowicz?=" To: linux-kernel@vger.kernel.org Subject: [linux-acpi] No ACPI Sleep button events problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1442 Lines: 26 Hi. I have a problem with Sleep button events. dmesg shows this: ug 16 22:44:27 lapek ACPI: AC Adapter [ADP1] (off-line) Aug 16 22:44:27 lapek ACPI: Battery Slot [BAT0] (battery present) Aug 16 22:44:27 lapek ACPI: Power Button (FF) [PWRF] Aug 16 22:44:27 lapek ACPI: Lid Switch [LID0] Aug 16 22:44:27 lapek ACPI: Sleep Button (CM) [SLPB] Moreover: Aug 16 22:44:27 lapek input: Power Button (FF) as /class/input/input0 Aug 16 22:44:27 lapek input: Lid Switch as /class/input/input1 Aug 16 22:44:27 lapek input: Sleep Button (CM) as /class/input/input2 Aug 16 22:44:27 lapek input: AT Translated Set 2 keyboard as /class/input/input3 Aug 16 22:44:27 lapek input: SynPS/2 Synaptics TouchPad as /class/input/input4 When I do cat /dev/input/event* I can see events on input1 generated by lid on input0 generated by power button but no events on input2 :( In fact all events from Sleep button go input3 (normal keyboard input) and are transleted to system trough this. Sleep button generates KEY_SLEEP evnets which is catched by gnome-power-manager so I have suspend functionality in X but no in "pure" console mode (no X running). How can I make these events to be generated on input2? Regards Michal. - 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/