[openfirmware] r1602 - cpu/x86/pc/olpc/via

svn at openfirmware.info svn at openfirmware.info
Tue Dec 15 00:29:32 CET 2009


Author: pgf
Date: 2009-12-15 00:29:32 +0100 (Tue, 15 Dec 2009)
New Revision: 1602

Modified:
   cpu/x86/pc/olpc/via/runin.fth
Log:
fixed final tempfile generation.
also added ?usb-keyboard call to try to pick up freshly plugged scanner.


Modified: cpu/x86/pc/olpc/via/runin.fth
===================================================================
--- cpu/x86/pc/olpc/via/runin.fth	2009-12-14 23:28:13 UTC (rev 1601)
+++ cpu/x86/pc/olpc/via/runin.fth	2009-12-14 23:29:32 UTC (rev 1602)
@@ -54,11 +54,9 @@
 
 0 0 2value response$
 
-: final-filename$  ( -- adr len )  board#$ " %s.txt"  ;
-
 \ Send the board number as the request and return the response data
 : final-tag-exchange  ( -- )
-   final-filename$ open-temp-file
+   board#$ " %s.txt" sprintf open-temp-file
    sn$              " SN:"  put-key+value
    " Request" submit-file
    " Response" get-response  to response$ 
@@ -257,6 +255,7 @@
 : wait-connections  ( -- )
    silent-probe-usb
    wait-scanner
+   ?usb-keyboard
    wait-lan
 \   wait-usb-key
 ;             




More information about the openfirmware mailing list