Re: [PATCH 58/98] sony-laptop: Add rfkill support on new models

Matthew Garrett
2009-03-29T15:06:49Z

On Sun, Mar 29, 2009 at 01:52:42PM +0200, Matthias Welwarsky wrote:
> On Saturday 28 March 2009 05:31:33 you wrote:
> > From: Matthew Garrett <mjg59@srcf.ucam.org>
> >
> > Newer Vaios provide a full featured rfkill implementation via their
> > platform methods. Add support for enumerating the available devices and
> > providing rfkill access to them. Support for the physical kill switch is
> > added, with the devices moving into the HARD_BLOCKED state when toggled.
>
> Bug: If you insert the module with hardware kill switch enabled, it cannot be
> disabled any more, i.e. despite operating the hardware kill switch, devices
> will not become enabled.
>
> Any hint how I could debug this?

Put debug prints through the rfkill_update and rfkill_get functions? I
don't see anything especially obvious that would prevent this from
working.
--
Matthew Garrett | mjg59@srcf.ucam.org