#11437: power icon missing from Sugar My Settings
------------------------------+---------------------------------------------
Reporter: Quozl | Owner: erikos
Type: defect | Status: new
Priority: high | Milestone: 1.75-software
Component: sugar | Version: Development build as of this date
Resolution: | Keywords:
Next_action: code | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
------------------------------+---------------------------------------------
Comment(by erikos):
So in the control panel we displayed the power icon if the machine is an
XO (we asumed that if '/ofw' is present that would be the case), with the
1.75 this fails. We have several options:
* make another check based on '/ofw' and '/proc/device-tree' (maybe if
'mfg-data/SN' is present we can say it is an XO)
* do get the xo version ('/proc/device-tree/banner-
name','/sys/class/dmi/id/product_version', '/ofw/banner-name' ) and
determine that way it is an XO
probably more long term:
* maybe the power extension should be an olpc package and the upstream
code should be removed
* make the section more generic (whatever that exactly looks like)
--
Ticket URL: <http://dev.laptop.org/ticket/11437#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system