#10208 NORM 1.0-sof: disable wifi stopped working on XO-1
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jul 9 13:12:06 EDT 2010
#10208: disable wifi stopped working on XO-1
------------------------------+---------------------------------------------
Reporter: dsd | Owner: dsaxena
Type: defect | Status: new
Priority: normal | Milestone: 1.0-software-update
Component: kernel | Version: not specified
Resolution: | Keywords:
Next_action: code | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------+---------------------------------------------
Comment(by pgf):
hmm. not so fast.
on XO-1, the interface we use for disabling wireless isn't really an
enable/disable mechanism. it's more of a "reset and release" vs. "reset
and hold in reset". i.e., there's no way to force the wlan out of reset
without _causing_ a reset.
the result is that if we implement rfkill on top of this, then two "rfkill
unblock wifi" commands in a row will cause a wlan reset. we could keep a
state variable, but since there's another path to the wlan reset
capability via /sys/power/wlan-enabled, that get's complicated, and
possibly error-prone. if there were an EC command called
"EC_WLAN_FETCH_RESET_STATE" we could use that to avoid a second reset, but
there isn't.
ideas? most of the time this won't be an issue. what's at stake is
implementing what looks like an rfkill interface which isn't really
correct.
--
Ticket URL: <http://dev.laptop.org/ticket/10208#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list