From 34cba9b5dc07ac65c76d91533d2a27f39c3a2286 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 3 Jul 2014 16:25:02 -0600 Subject: [PATCH] NSH: Add an option to take stdin from a USB keyboard device --- configs/sama5d4-ek/README.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/sama5d4-ek/README.txt b/configs/sama5d4-ek/README.txt index fb1aa1ad61d..1ff6b5a33ba 100644 --- a/configs/sama5d4-ek/README.txt +++ b/configs/sama5d4-ek/README.txt @@ -3463,7 +3463,17 @@ Configurations be configured as a USB host port if desired). Support for Mass Storage Class and USB (Boot) Keyboard class is also - enabled. + enabled. The keyboard class was useful for verifying that low-speed + devices can connect successfully, but is otherwise not used by this + configuration. Feel free to disable it if you like: + + CONFIG_USBHOST_HIDKBD=n + + You could also replace the NSH stdin device to take input from a USB + keyboard with: + + CONFIG_NSH_USBKBD=y + CONFIG_NSH_USBKBD_DEVNAME="/dev/kbda" 14. Support the USB high-speed USB device driver (UDPHS) is not enabled by default but could be enabled by changing the NuttX configuration file as