[openfirmware] [commit] r2471 - in dev: . olpc/touchpad
repository service
svn at openfirmware.info
Fri Aug 19 07:02:59 CEST 2011
Author: wmb
Date: Fri Aug 19 07:02:58 2011
New Revision: 2471
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2471
Log:
OLPC XO-1.5 - removed last vestiges of the use of remote-mode for mouse tracking. stream-mode is it from now on.
Modified:
dev/olpc/touchpad/syntpad.fth
dev/olpc/touchpad/touchpad.fth
dev/ps2mouse.fth
Modified: dev/olpc/touchpad/syntpad.fth
==============================================================================
--- dev/olpc/touchpad/syntpad.fth Thu Aug 18 23:13:25 2011 (r2470)
+++ dev/olpc/touchpad/syntpad.fth Fri Aug 19 07:02:58 2011 (r2471)
@@ -43,12 +43,6 @@
stream-mode
;
-\ The normal mouse driver uses remote mode, but this device
-\ doesn't support remote mode, so patch the mouse driver
-\ "open" routine to substitute "start" for "remote-mode".
-
-patch start remote-mode open
-
0 value hw-cursor?
defer move-hw-cursor ( x y -- )
' 2drop to move-hw-cursor
Modified: dev/olpc/touchpad/touchpad.fth
==============================================================================
--- dev/olpc/touchpad/touchpad.fth Thu Aug 18 23:13:25 2011 (r2470)
+++ dev/olpc/touchpad/touchpad.fth Fri Aug 19 07:02:58 2011 (r2471)
@@ -106,15 +106,14 @@
olpc-touchpad? if
0 mode ! advanced-mode stream-on
else
- remote-mode 3 mode !
+ stream-mode 3 mode !
then
;
-\ The normal mouse driver uses remote mode, but this device
-\ doesn't support remote mode, so patch the mouse driver
-\ "open" routine to substitute "noop" for "remote-mode".
+\ Substitute "start" for "stream-mode" in the driver's open
+\ method, so we can use advance-mode for the ALPS touchpad.
-patch start remote-mode open
+patch start stream-mode open
\ I have been unable to get this to work. The response is always
Modified: dev/ps2mouse.fth
==============================================================================
--- dev/ps2mouse.fth Thu Aug 18 23:13:25 2011 (r2470)
+++ dev/ps2mouse.fth Fri Aug 19 07:02:58 2011 (r2471)
@@ -340,7 +340,7 @@
\ Reset the mouse and check the response codes
h# ff read2 0<> swap h# aa <> or if false exit then
- remote-mode
+ stream-mode
then
then
More information about the openfirmware
mailing list