OSDev.org https://forum.osdev.org/ |
|
Raspberry PI Keyboard https://forum.osdev.org/viewtopic.php?f=1&t=33844 |
Page 1 of 1 |
Author: | bigbob [ Mon Aug 19, 2019 1:03 am ] |
Post subject: | Raspberry PI Keyboard |
Hi, I am planning to by my first Raspberry Pi. I read tutorials and there is one thing I don't understand. I thought that the first thing we needed to implement was the USB-keyboard driver. I was surprised to see that the tutorials use the UART to get the keyboard-input. Do we need to buy extra hardware for the USB-to-UART conversion or the Raspberry Pi does that for us? I know only a little about hardware ... Regards, rob |
Author: | iansjack [ Mon Aug 19, 2019 1:27 am ] |
Post subject: | Re: Raspberry PI Keyboard |
Those tutorials are referring to serial input via a terminal application running on another computer. Depending upon the computer you need a serial to Pi serial cable or - more likely - a USB to Pi serial cable (e.g. https://uk.farnell.com/adafruit-industr ... gKMTPD_BwE ) These cables connect to the gpio pins on the Pi. To get input from a USB keyboard you need to write (or find) a USB driver (e.g. https://github.com/rsta2/uspi ). |
Author: | bigbob [ Mon Aug 19, 2019 1:40 am ] |
Post subject: | Re: Raspberry PI Keyboard |
Thanks! |
Author: | Candy [ Wed Aug 21, 2019 2:42 am ] |
Post subject: | Re: Raspberry PI Keyboard |
Note that the driver @iansjack linked is relevant for Rpi 1-3 (including 3b+), but not Rpi4 which uses an XHCI controller for the USB ports. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |