Ticket #7047 (new defect)

Opened 6 years ago

Last modified 2 years ago

Suspend turns radio on even if it was forced off

Reported by: newsham Owned by: cjb
Priority: normal Milestone: Future Release
Component: power manager (OHM) Version: Update.1
Keywords: radio, suspend Cc: gnu, eben, erikos
Action Needed: never set Verified: no
Deployments affected: Blocked By:


I'm running Joyride 1971 devel_jffs2. I've experienced this behavior in older joyride's as well.

SYNOPSIS If you explicitely turn off the radio, the radio will be turned on again when you resume from a forced suspend.

REPRODUCTION Go to a terminal. Turn off the radio with:

$ sugar-control-panel -s radio off

Wait for the radio lights to go off. Click on the power button to force a suspend. Once suspended, click on the power button again to resume. The radio will be powered back on, as evidenced by activity on the radio LEDs. The radio should stay off until it is enabled again by "sugar-control-panel -s radio on".

Change History

Changed 6 years ago by gregorio

  • milestone Never Assigned deleted

Milestone Never Assigned deleted

Changed 6 years ago by gnu

  • cc gnu added
  • next_action set to never set

In joyride 2263, here's what happens on my G1G1 XO:

If you click "Radio off" in the gui control panel, it doesn't actually turn off the whole WiFi chip, just the radio portion of the chip set. Thus when you suspend and resume, you will see the LEDs flash for a bit.

If you click "Extreme power management (disables wireless radio)" in the power portion of the gui control panel, then it turns off both the radio portion and the whole WiFi chip. When you suspend and resume, no LEDs blink; it stays dead.

I think the "Radio off" checkbox is a misfeature and should just go away. It was a stopgap until we could power off the whole WiFi chip. That would also close this bug by default.

Changed 6 years ago by cjb

  • cc eben, erikos added

Think I concur. Eben/Simon?

Changed 3 years ago by dsd

  • milestone set to Future Release

Changed 2 years ago by pgf

old bug, closing. we've gone several iterations on the on/off/rfkill since then.

Note: See TracTickets for help on using tickets.