Opened 6 years ago

Last modified 2 years ago

#7047 new defect

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
Blocked By: Blocking:
Deployments affected: Action Needed: never set
Verified: no

Description

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 (5)

comment:1 Changed 6 years ago by gregorio

  • Milestone Never Assigned deleted

Milestone Never Assigned deleted

comment:2 Changed 6 years ago by gnu

  • Action Needed set to never set
  • Cc gnu added

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.

comment:3 Changed 6 years ago by cjb

  • Cc eben erikos added

Think I concur. Eben/Simon?

comment:4 Changed 3 years ago by dsd

  • Milestone set to Future Release

comment:5 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.