Re: [PATCH] sony-laptop: support rfkill via ACPI interfaces

Norbert Preining
2009-03-23T12:29:55Z

Hi Matthew,

On So, 22 Mär 2009, Matthew Garrett wrote:
> > - suddenly the sony-laptop module is convinced that the *hardware*
> > rfkill switch is always turned on, always. Not even reloading an older
> > sony-laptop helped. Rebooting neither. Shutting down and rebooting
> > with an older sony-laptop as default made wifi show up again.
> > I am not sure if cold booting into the latest version of your patch
> > will work, haven't tried till now, sorry, will do tomorrow.
>
> Hmm. Don't /think/ I did anything that should affect that, but it's
> possible. If it's reproducable, can you try commenting out the

Forget it, as I said, I will retry cold booting and that made it work
without a problem.

> > - S1 and S2 do adjustment of the brightness, while Fn-F5 and Fn-F6 do
> > not do anything, but this is probably only configuration stuff.
>
> Ok, sounds like the mapping needs to be changed. Can you let me know
> which ACPI events are generated for each key?

S1
sony/hotkey SNC 00000001 00000090
sony/hotkey SNC 00000001 00000010

S2
sony/hotkey SNC 00000001 00000091
sony/hotkey SNC 00000001 00000011
Fn-F5 (brightness -)
sony/hotkey SNC 00000001 00000010
sony/hotkey SNC 00000001 0000003b
Fn-F6 (brightness +)
sony/hotkey SNC 00000001 00000011
sony/hotkey SNC 00000001 0000003b
Fn-F7 (switch output mode)
sony/hotkey SNC 00000001 00000012
sony/hotkey SNC 00000001 0000003b
Fn-F9 (Zoom minus)
sony/hotkey SNC 00000001 00000089
sony/hotkey SNC 00000001 00000009
Fn-F10
sony/hotkey SNC 00000001 00000015
sony/hotkey SNC 00000001 0000003b
Fn-F12 (suspend to disk)
(not sure about that, it actuallyDID suspend and I am not
sure. At least NOW I know that S2D works ;-)
sony/hotkey SNC 00000001 00000017
sony/hotkey SNC 00000001 0000003b

Hope that helps

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SHIFNAL (n.,vb.)
An awkward shuffling walk caused by two or more people in a hurry
accidentally getting into the same segment of revolving door. A
similar effect is achieved by people entering three-legged races
unwisely joined at the neck instead of the ankles.
--- Douglas Adams, The Meaning of Liff
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html