Re: [PATCH] toshiba_acpi: Add support for bluetooth toggling throughrfkill

From: Philip Langdale
Date: Tue Jul 22 2008 - 00:21:07 EST


Henrique de Moraes Holschuh wrote:
Please consider updating your patch to the new style rfkill class. A quick
look at your patch shows that it would benefit from the new
RFKILL_STATE_HARD_BLOCKED, and maybe to some rework to separate the
bluetooth rfkill controller and the input device switch better. Depending
on the existence of ACPI GPE events when the switch changes state on
Toshibas, you may even be able to get rid of some of the polling...

Well, if I can find said GPE, I'll certainly use it. A cursory glance through
the dis-assembled AML didn't reveal anything obvious. Is there a way to log
every single acpi event? I though acpid would receive them but it doesn't
appear to.

If you rework/repost your patch, please CC Ivo (the rfkill maintainer) and
the linux-wireless mailing list. If you want me to try to help review the
patch as well, please also add me to the CC.


I'll do this when I next get enough free time. Thanks for the feedback,

--phil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/