public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Seyfried <seife-T+3qhDtrTvDv8lqoKu5MV4HBZQ1bDw0s@public.gmane.org>
To: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Stefan Seyfried
	<seife-T+3qhDtrTvDv8lqoKu5MV4HBZQ1bDw0s@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell)
Date: Tue, 29 Nov 2005 16:35:01 +0100	[thread overview]
Message-ID: <20051129153501.GB11822@message-id.s3e.de> (raw)
In-Reply-To: <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

On Fri, Nov 25, 2005 at 01:05:22PM +0100, Stefan Seyfried wrote:

> > If so, acpi is fully responsible for hotkey function by keystroke.
> > If not, please verify http://bugzilla.kernel.org/show_bug.cgi?id=4876#c4 works 
> > or not. This is proc file stuff for hotkey function by issuing command from 
> > shell. 
> 
> I'm trying this out but may only get to it on monday or tuesday next week.

setting brightness works on the vgn-f115b with the patch after fixing it up
for 2.6.14.2 (attached, the most nasty one was the missing
EXPORT_SYMBOL(acpi_scan_ids) :-)

I have of course some other questions:
- what will happen on other machines if i load the hotkey module and issue
  echo "10001:1:1:0" >/proc/acpi/hotkey/action
  - will it crash?
  - will it just not work?
  - will it just work, so this is a generic solution?
- will it also work on my panasonic which right now needs pcc_acpi?
  (i will check this one out soon)
- if the "10001:1:1:0" is not a generic string for all machines (i am afraid
  it isn't), how do i find out what to put into /proc/acpi/hotkey/action?

Another problem is that for distributions to be able to use this stuff, it
must not depend on the "acpi_generic_hotkey=1" parameter. Can't we decide at
module load time if we want to use the generic or the vendor specific hotkey
interface?
Having the user select which machine he has _before_ installing with some
cryptic boot parameter is something i'd like to avoid.

Also i see that now some sony-specific stuff is in the generic hotkey driver.
Will we have to add specific stuff for all other vendor specific drivers if
we want to merge their functionality into hotkey.c?
-- 
Stefan Seyfried

[-- Attachment #2: hotkey-sony-2.6.14.2.patch.gz --]
[-- Type: application/x-gunzip, Size: 3669 bytes --]

  parent reply	other threads:[~2005-11-29 15:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23  5:49 sony vaio pcg-k45 hell Yu, Luming
2005-10-24  1:07 ` Thom Cherryhomes
     [not found]   ` <64b848100510231807u36cd8056q521204eaa9099ebc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-10-24 10:22     ` Stefan Seyfried
     [not found]       ` <20051024102231.GA32705-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-10-25  9:00         ` Erik Slagter
2005-10-26  2:29         ` Yu, Luming
     [not found]           ` <200510261029.01166.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-10-28 16:13             ` Stefan Seyfried
     [not found]           ` <200511251602.02494.luming.yu@intel.com>
     [not found]             ` <200511251602.02494.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-11-25 12:05               ` Stefan Seyfried
     [not found]                 ` <20051125120522.GA26643-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>
2005-11-29 15:35                   ` Stefan Seyfried [this message]
     [not found]                     ` <20051129153501.GB11822-l0tNAEGuAhiXoBlonBaIS7NAH6kLmebB@public.gmane.org>
2005-11-29 20:43                       ` ACPI generic hotkey working on SONY (was: sony vaio pcg-k45 hell) Matthew Garrett
     [not found]                         ` <20051129204349.GA18378-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-11-29 21:48                           ` Stefan Seyfried

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051129153501.GB11822@message-id.s3e.de \
    --to=seife-t+3qhdtrtvdv8lqoku5mv4hbzq1bdw0s@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox