Dave Frodin ([email protected]) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/1983

-gerrit

commit 376cb892065fdbb5cdd8a5bd261ed21b5b777183
Author: Dave Frodin <[email protected]>
Date:   Wed Dec 5 17:22:47 2012 -0700

    coreinfo: changes to get the USB keyboard working
    
    A call to usb_initialize() was needed. Several curses flags
    also need to be set to get the behavior we want.
    
    Change-Id: I495b42055a54603e4efb92b2845051434d88432d
    Signed-off-by: Dave Frodin <[email protected]>
---
 payloads/coreinfo/coreinfo.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 7e8b201..1a34d4a 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -271,6 +271,10 @@ int main(void)
 {
        int i, j;
 
+#if defined(CONFIG_USB)
+       usb_initialize();
+#endif
+
        initscr();
 
        start_color();
@@ -292,6 +296,9 @@ int main(void)
                        categories[i].modules[j]->init();
        }
 
+       noecho(); /* don't echo keyboard chars */
+       keypad(stdscr, TRUE); /* there may be a Fn key */
+
        loop();
 
        return 0;

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to