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

Matthew Garrett
2009-03-22T22:46:58Z

On Sun, Mar 22, 2009 at 11:06:55PM +0100, Norbert Preining wrote:

> BUT:
> - 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
sony_call_snc_handle calls in sony_nc_function_setup and see if they
change the behaviour? You'll probably need to reboot in between.

> - 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?

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