reliably detecting if running on an XO

Holger Levsen holger at layer-acht.org
Tue Jun 24 09:46:27 EDT 2008


Hi,

can I reliably detect if my code is running on XO hardware?
Is checking if /sys/power/olpc-pm exists enough? Is there a better way?


regards,
	Holger, currently offline and on battery, therefore not booting an XO kernel 
on my laptop :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080624/0ed734d8/attachment.sig>


More information about the Devel mailing list