Hello all,
for an embedded board lacking the PS2 port, I've designed an hardware adapter which reads the PS2 packets and translate them bit-to-bit in an SPI signals which I'm able to read at a device node, byte per byte.
Now the question is this:

1)what is the simplest way to have the keyboard working like a PS2 one? The driver should read from spi device node, and not from PS2.
2)My SPI adapter is mono directional, it can only read from keyboard and not write to it. May it be a problem?
3)I need my keyboard to report key press and key release events. I've read this is possible, but it is not clear to me if this is an hardware setting in the board, or a software setting in the kernel driver. Can someone give me some hints?
Thank you very much!