From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH] toshiba_acpi: Add full hotkey support Date: Sat, 7 Mar 2009 15:06:40 +0000 Message-ID: <20090307150640.GA3516@srcf.ucam.org> References: <20090306003941.GA32403@srcf.ucam.org> <20090306005234.GA32539@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:48041 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752760AbZCGPGn (ORCPT ); Sat, 7 Mar 2009 10:06:43 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Andrey Borzenkov Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org On Sat, Mar 07, 2009 at 10:27:09AM +0300, Andrey Borzenkov wrote: > Matthew Garrett wrote: > > > + {KE_KEY, 0x13d, KEY_SLEEP}, > > + {KE_KEY, 0x13e, KEY_SUSPEND}, > > I have two buttons marked with memory and disk pictures. When I press the > first one HAL emits "sleep" button event, for the the second one HAL emits > "hibernate" event. I am using KDE4 and neither works :) According to KDE4 > developer, they implement "suspend" button as suspend to RAM. Just trying to > clarify which key this should be and whether HAL should be fixed. (I opened > bug report for KDE4) Yeah, I'm not really a KDE guy, so I'm not sure what's happening there. > > + {KE_KEY, 0x13f, KEY_SWITCHVIDEOMODE}, > > I wonder, who is supposed to act upon it? Is there any generic user space > agent who implements video output switching? At present I don't believe so, no. > > + {KE_KEY, 0x140, KEY_BRIGHTNESSDOWN}, > > + {KE_KEY, 0x141, KEY_BRIGHTNESSUP}, > > + {KE_KEY, 0x142, KEY_WLAN}, > > Ditto. Theoretically Toshiba even supports turning off radio via HCI, but it > is again not clear who should actually initiate it. Right. In some of these cases there's nothing that currently handles them, but userspace should probably get round to it at some point. -- Matthew Garrett | mjg59@srcf.ucam.org