[openfirmware] [commit] r2590 - dev/usb2/device/keyboard
repository service
svn at openfirmware.info
Tue Oct 11 23:59:40 CEST 2011
Author: wmb
Date: Tue Oct 11 23:59:39 2011
New Revision: 2590
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2590
Log:
USB keyboard driver - flash the keyboard LEDs on open as a clue that the keyboard has been attached.
Modified:
dev/usb2/device/keyboard/kbd.fth
Modified: dev/usb2/device/keyboard/kbd.fth
==============================================================================
--- dev/usb2/device/keyboard/kbd.fth Tue Oct 11 22:19:10 2011 (r2589)
+++ dev/usb2/device/keyboard/kbd.fth Tue Oct 11 23:59:39 2011 (r2590)
@@ -339,6 +339,8 @@
\ Some USB keyboards don't implement set-idle properly, and it's not critical,
\ so we suppress the message to avoid confusing the user
idle-rate set-idle drop \ if ." Failed to set USB keyboard idle" cr then
+ 7 set-leds \ Flash the LEDs to indicate that OFW has attached the keyboard
+ d# 200 ms
0 set-leds
false
;
More information about the openfirmware
mailing list