基于串口的树莓派ps/2驱动
一个基于串口的树莓派ps/2 Linux驱动.PS/2的DATA线接串口的RX线,PS/2的CLK空置。用前要测试键盘的频率。 Using two resistors, a blue LED, a few other bits, and a kernel module you can use a PS/2 keyboard by connecting it to the Pi serial port. This works because I have found that you can read a keyboard without using the keyboard clock line if you use a serial port running at a custom speed. This works so long as the keyboard clock period is regular, which I have found to be the case with all keyboards I have tested.
文件列表
ps2pi.zip
(预估有个9文件)
ps2pi
ps2pi.c
9KB
CHANGELOG
446B
ps2pi_files
ps2-pi.png
6KB
finished.png
199KB
layout.png
39KB
probe.c
3KB
ps2pi.htm
22KB
ps2test.c
5KB
用户评论