Opened 6 years ago

Last modified 20 months ago

#10375 new defect

Lid close/open turns on WiFi on suspended XO-1

Reported by: hal.murray Owned by: cjb
Priority: normal Milestone:
Component: distro Version: 1.5/1.0 Software Build os852 aka 10.1.2
Keywords: Cc:
Blocked By: #10803 Blocking:
Deployments affected: Action Needed: reproduce
Verified: no


Here is the recipe:

Turn off WiFi.
Turn on Power Saving.
Switch to the Neighborhood view so you can watch things.
Wait until it suspends.
Close the lid.
Wait a while.
Open the lid.

I see the following sequence of events:

Right away, I get 3 mesh networks.
After a second or two, there is a blink, blink,
  and I see 2 APs.  (but not my AP)
After roughly 10 more seconds, blink, blink,
  and I see the rest of the APs I expect.
Then the WiFi LED turns on and it connects to my AP.

There are two other quirks that are probably related.

After booting with the WiFi off:

The Neighborhood view shows 3 mesh networks.
The My Settings Network page has the Radio box checked/on.
(The WiFi LED is out.)

Argh. I just noticed another quirk that is probably part of this tangle:

If the WiFi is on and you close/open the lid, it comes up with the WiFi LED off. It scans the mesh networks and blinks and eventually shows the right number of APs, but it doesn't connect to my AP and never turns on the WiFi LED. Ping to the XO doesn't work. Poking my AP connects and turns on the LED. (That was with power saving disabled.)

Attachments (1)

rfkill_at_boot.patch (680 bytes) - added by pgf 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by pgf

much of the confusion here comes from an omission in XO-1's rfkill implementation. on XO-1, the rfkill state, as set by the network control panel, and recorded by the .rfkill_block_wifi flag file, is not honored at boot time. so the wlan will always be enabled on a fresh boot.

the attached patch will fix this specific problem, and should fix (i think) the first two issues noted in the description.

Changed 6 years ago by pgf

comment:2 Changed 6 years ago by dsd

  • Action Needed changed from never set to reproduce
  • Component changed from not assigned to distro
  • Milestone changed from Not Triaged to 11.2.0-M4
  • Owner set to cjb

This might be working in 11.2.0. needs retest.

comment:3 Changed 6 years ago by dsd

  • Blocked By 10803, 10913 added

I think it would work, except sugar has lost the code that interacts with rfkill (#10913) and rfkill is a bit broken on XO-1.5 (#10803)

comment:4 Changed 6 years ago by dsd

  • Blocked By 10913 removed

comment:5 Changed 20 months ago by Quozl

  • Milestone 11.3.0 deleted

Milestone 11.3.0 deleted

Note: See TracTickets for help on using tickets.