After obtaining an HDMI video out from the EBAZ4205 board and being able to use it from Linux by /dev/fb0, now I need to interact with Linux and the C / Python app (showing the spectrum, tuning and so on) with standard input devices keyboard and mouse.
For this need, I examined two options:
- USB
- PS/2
USB
Unfortunately EBAZ4205 has no USB interface, but I found the way to implement it using a cheap external module USB3300
I'm now looking forward to arriving it from China.
PS/2
- It's a bit obsolete but it is very promising because it doesn't need any hardware addition.
- I found an AXI PS2 IP controller from DIGILENT: AXI PS/2 1.0 IP Core User Guide from DIGILENT,. I tried to use it but I didn't succeed!
- So I decided to use some VHDL code I found here PS/2 Mouse Interface (VHDL). Unfortunately this VHDL code manage the two buttons PS/2 mouse only and not the middle button and the wheel (so called IntelliMouse), so I had to integrate the VHDL code.
- Then I also found a linux device driver xilinx_ps2.c with a similar memory mapped interface that I hope to be able to adapt.
You can follow the full Hackaday project EBAZ4205 PS/2 Mouse
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.