XO-1/Touchpad/Issues: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 15: Line 15:
'''IF YOU READ THIS YOU ARE GAY'''
'''IF YOU READ THIS YOU ARE GAY'''


'''IF YOU READ THIS YOU ARE GAY'''
= Large Jump Logging Technique =
== '''IF YOU READ THIS YOU ARE GAY''' ==

The following highly technical sequence is for developers with build 802 on XO-1 C2 units, which lets them capture touchpad events in more detail ... it can be deployed to children with the instruction "when the touchpad goes nuts, please press the key to the left of the frame key, this will record data that we will use to analyse the problem, and you'll hear a short beep when it is done.".

The key to the left of the frame key on the [[Keyboard]] is the '''Bulletin Board''' key, which has two rectangles overlaid, sometimes in a circle ([[Image:Key_bboard.jpg]]) and was intended to toggle display of the shared visual clipboard; a feature that is not yet shipped.

To configure a laptop for this data gathering, the following commands must be run as root on the laptop:

<pre>
# make a script that records the kernel messages to a file.
cat << EOF > /usr/local/bin/grab-touchpad-log
#!/bin/sh
dmesg | gzip - > /home/olpc/dmesg.\`date +%s\`.gz
speaker-test --test=sine --frequency=800 &
PID=\$!
sleep 0.1
kill \$PID
EOF

# make the script executable.
chmod +x /usr/local/bin/grab-touchpad-log

# configure kernel to record touchpad events on next boot and now.
echo 'echo 1 > /sys/module/psmouse/parameters/tpdebug' >> /etc/rc.local
echo 1 > /sys/module/psmouse/parameters/tpdebug

# set up the matchbox window manager to run the script when the key
# to the left of the frame key is hit.
echo 'XF86Messenger=!/usr/local/bin/grab-touchpad-log' \
>> /usr/share/sugar/data/kbdconfig
</pre>

[[Category:Touchpad]]

Revision as of 18:14, 22 May 2010

This page is part of the XO Support FAQ.     Support Index | Print This Page
<imagemap>

Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]

  1. Comment : there's some whitespace here:

rect 135 205 345 408 Other support

  1. maybe desc none is better. testing.

desc none

</imagemap>


Occasionally, a laptop's touchpad will behave abnormally. This behavior includes the pointer jumping to a corner of the screen, or moving wildly. On current software (release 8.2 or better, consider upgrading!), the touchpad will be automatically recalibrated when this happens. You should hold your fingers away from the touchpad when this happens. Later Touchpad driver changes further reduce this problem.

A recalibration of the touchpad can be manually invoked using the "four-finger salute" (Escape + Frame + Right Arrow + Fn, with Fn pressed last). Work-arounds in extreme cases include using a common USB mouse with the laptop.

cant help you :( IF YOU READ THIS YOU ARE GAY

IF YOU READ THIS YOU ARE GAY

IF YOU READ THIS YOU ARE GAY IF YOU READ THIS YOU ARE GAY IF YOU READ THIS YOU ARE GAY

IF YOU READ THIS YOU ARE GAY

IF YOU READ THIS YOU ARE GAY