All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Matthias Welwarsky <matze@welwarsky.de>
Cc: linux-acpi@vger.kernel.org
Subject: Re: [PATCH] sony-laptop: support rfkill via ACPI interfaces
Date: Sun, 22 Mar 2009 13:33:27 +0000	[thread overview]
Message-ID: <20090322133327.GB7932@srcf.ucam.org> (raw)
In-Reply-To: <200903212015.00581.matze@welwarsky.de>

On Sat, Mar 21, 2009 at 08:15:00PM +0100, Matthias Welwarsky wrote:
> On Saturday 21 March 2009 16:10:37 Matthew Garrett wrote:
> > The way that 0x113 moves around leaves me pretty sure that calling SN07
> > without checking what the function signature is is not a good idea. I'll
> > rewrite my patch.
> 
> If that's really a function signature, why are some of the slots empty? If 
> you're supposed to read the CFGI first via SN00, that would not make much 
> sense. However, it makes sense if the function is encoded by the slot and a 
> hole (i.e. Zero) means that the function is not supported or disabled.

I thought that at first, but 0x113 is the same code on the machines I 
checked even though it moves around. 0x100 appears to be "Get hotkey 
event" on the newer hardware even though it's not in slot 2.

> If you're right though, it means that "0x124" on all new-style models (those 
> with SN07 method) must always operate the killswitch. I might be able to find 
> that out from the decompiled DSDT. Right now I only checked the Z series DSDTs 
> (Z11 and Z21) and of course they are very similar. But I would be very 
> interested to see the code of  functions called for the other "slot 3" 
> methods, like 0x0104 and 0x0113. If you had some DSDTs to share...

The P, TT and Z all seem to have 0x124 as killswitch - the 0x113 and 
0x104 methods don't seem to be killswitch related, as far as I can tell. 
Mattia linked to a set of DSDTs earlier in the thread.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2009-03-22 13:33 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 21:21 [PATCH] sony-laptop: support rfkill via ACPI interfaces Matthew Garrett
2009-03-19 21:28 ` Matthew Garrett
2009-03-19 21:34 ` Norbert Preining
2009-03-19 21:44   ` Matthew Garrett
2009-03-19 21:49     ` Norbert Preining
2009-03-19 21:56       ` Matthew Garrett
2009-03-19 22:15     ` Norbert Preining
2009-03-20  0:28       ` Norbert Preining
2009-03-20  0:38         ` Matthew Garrett
2009-03-20  0:40           ` Norbert Preining
2009-03-20  1:18             ` Norbert Preining
2009-03-20  7:33               ` Matthias Welwarsky
2009-03-21 11:22               ` Matthias Welwarsky
2009-03-21 13:53                 ` Matthias Welwarsky
2009-03-21 14:45                   ` Mattia Dongili
2009-03-21 16:51                     ` Norbert Preining
2009-03-22 17:56                   ` Matthew Garrett
2009-03-22 18:03                     ` Matthew Garrett
2009-03-22 20:36                       ` Norbert Preining
2009-03-22 20:37                         ` Matthew Garrett
2009-03-22 22:06                           ` Norbert Preining
2009-03-22 22:46                             ` Matthew Garrett
2009-03-22 23:10                               ` Mattia Dongili
2009-03-22 23:14                                 ` Matthew Garrett
2009-03-23  0:08                                   ` Mattia Dongili
2009-03-23  0:10                                     ` Matthew Garrett
2009-03-23 12:30                                 ` Norbert Preining
2009-03-23 13:04                                   ` Mattia Dongili
2009-03-23 15:32                                     ` Norbert Preining
2009-03-23 15:43                                       ` Matthew Garrett
2009-03-23 16:00                                         ` Norbert Preining
2009-03-23 16:09                                           ` Matthew Garrett
2009-03-23 16:27                                             ` Norbert Preining
2009-03-23 16:30                                               ` Matthew Garrett
2009-03-23 16:37                                                 ` Norbert Preining
2009-03-23 16:40                                                   ` Matthew Garrett
2009-03-23 16:41                                                     ` Norbert Preining
2009-03-23 16:51                                                       ` Matthew Garrett
2009-03-23 17:48                                                         ` Norbert Preining
2009-03-23 19:51                                                           ` Matthew Garrett
2009-03-24  0:01                                                             ` Norbert Preining
2009-03-24  0:08                                                             ` Mattia Dongili
2009-03-23 21:48                                 ` Matthew Garrett
2009-03-24  0:02                                   ` Norbert Preining
2009-03-24  0:04                                     ` Matthew Garrett
2009-03-23 12:29                               ` Norbert Preining
2009-03-23 14:58                                 ` Matthew Garrett
2009-03-21 16:18                 ` Norbert Preining
2009-03-20  8:52 ` Mattia Dongili
2009-03-20 14:00   ` Matthew Garrett
2009-03-21  4:00     ` Mattia Dongili
2009-03-21  4:35       ` Matthew Garrett
2009-03-21  6:32         ` Mattia Dongili
2009-03-21 14:06           ` Matthew Garrett
2009-03-21 14:37             ` Mattia Dongili
2009-03-21 14:55               ` Matthew Garrett
2009-03-21 15:10                 ` Matthew Garrett
2009-03-21 19:15                   ` Matthias Welwarsky
2009-03-22 13:33                     ` Matthew Garrett [this message]
2009-03-22  2:38                   ` Mattia Dongili

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=20090322133327.GB7932@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=matze@welwarsky.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.