[Sugar-devel] [PATCH] touchpad section for Sugar Control Panel

Walter Bender walter.bender at gmail.com
Tue May 18 16:08:58 EDT 2010


I've attached two patches: (1) a new touchpad section for the control
panel and (2) new icons for sugar-artwork used by the control panel.

The idea is that on the CL1 OLPC XO 1.0 laptops, we want to give a
choice of either the resistive or capacitive touchpads on the theory
that the resistive touchpad may be easier to use in situations where
the capacitive touchpad is problematic. This patch looks for the
existence of the node "/sys/devices/platform/i8042/serio1/ptmode" and
will only appear in the Control Panel if this node is present (just
the CL1 version of the XO 1.0).

We still need a script t be added to olpc-utils that is executed at
boot time to: (1) change the mode of
/sys/devices/platform/i8042/serio1/ptmode to 666; and (2) write a 1 to
that node if a flag file exists ("/home/olpc/.olpc-pentablet-mode").

I plan to make a few adjustments to the icons (e.g., use the current
XO colors, for example), but wanted to make this version available for
testing ASAP.

enjoy.

-walter

---
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-adding-touchpad-section-to-CP.patch
Type: text/x-patch
Size: 14687 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100518/092475e3/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-icons-for-touchpad-panel.patch
Type: text/x-patch
Size: 8106 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100518/092475e3/attachment-0003.bin 


More information about the Sugar-devel mailing list