Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753694AbZDMVcO (ORCPT ); Mon, 13 Apr 2009 17:32:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752793AbZDMVby (ORCPT ); Mon, 13 Apr 2009 17:31:54 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:54620 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662AbZDMVbx (ORCPT ); Mon, 13 Apr 2009 17:31:53 -0400 Date: Mon, 13 Apr 2009 22:31:51 +0100 From: Matthew Garrett To: Frans Pop Cc: linux-acpi@vger.kernel.org, dsilvers@simtec.co.uk, toshiba_acpi@memebeam.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] toshiba-acpi: Add support for hotkey notifications Message-ID: <20090413213151.GA18201@srcf.ucam.org> References: <20090331214501.GC29489@srcf.ucam.org> <200904132238.11401.elendil@planet.nl> <20090413211800.GA17922@srcf.ucam.org> <200904132326.36303.elendil@planet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904132326.36303.elendil@planet.nl> User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@codon.org.uk X-SA-Exim-Scanned: No (on vavatch.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1488 Lines: 36 On Mon, Apr 13, 2009 at 11:26:34PM +0200, Frans Pop wrote: > On Monday 13 April 2009, Matthew Garrett wrote: > > On Mon, Apr 13, 2009 at 10:38:09PM +0200, Frans Pop wrote: > > > On Monday 13 April 2009, Matthew Garrett wrote: > > > > Hm. Do you get events for the multimedia keys without this patch > > > > and using the old interface? > > > > > > Yes, 2.6.28 gives in /proc/acpi/toshiba/keys as value for 'hotkey': > > > previous track: 0x0b31 > > > next track: 0x0b32 > > > play/pause: 0x0b33 > > > stop: 0x0b30 > > > > Without running any software, does hitting these keys cause the acpi > > interrupt in /proc/interrupts to increment? > > Yes (with 2.6.28; fnfx* purged before system boot). Ok - can you build with ACPI debugging, set /proc/acpi/debug_level and debug_layer to 0xffff, hit one of the keys, turn the debugging back off and then send me the log? Easiest is to do something like: echo 0xffff >/proc/acpi/debug_level; echo 0xffff >/proc/acpi/debug_layer; sleep 3; echo 0 blah blah so you don't have to try to disable them while stuff's appearing all over your screen. There'll be a lot of output, so if you could send it to me rather than the list then that would be great. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/