Re: [PATCH 1/2] toshiba-acpi: Add support for hotkey notifications

From: Matthew Garrett
Date: Mon Apr 13 2009 - 17:32:15 EST


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@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/