Messages in this thread | | | Date | Wed, 6 Aug 2008 09:45:42 -0300 | From | Henrique de Moraes Holschuh <> | Subject | Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth toggling through rfkill (v2) |
| |
On Wed, 06 Aug 2008, Henrique de Moraes Holschuh wrote: > Some network drivers want to do it themselves, so now it will be the job of > every driver to know whether it should do something or not. > > To test your platform to know if you will need to do something, just comment > the rfkill->toggle_radio in rfkill_suspend, and check if your radios are > still transmitting when you suspend. I really doubt any laptop has that > problem, though.
Oh, and if you don't have a way to test, you can just call your own private switch_my_radios_off() function in your driver's suspend() handler. You don't even have to turn them back on on resume(), as rfkill will always do that for you.
-- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
| |