how to detect a PS/2 keyboard plug / unplug event in Linux (may be using UDEVt). I am developing a program, which would pop up a message saying that the “KEYBOARD IS CONNECTED / DISCONNECTED” when the KBD is plugged in/out in PS/2 port.
The problem is there are no events generated by UDEV for PS/2 keyboards.
>
> Hi all,
>
> Does anyone know,
>
> how to detect a PS/2 keyboard plug / unplug event in Linux (may be
> using UDEVt). I am developing a program, which would pop up a message
> saying that the “KEYBOARD IS CONNECTED / DISCONNECTED” when the KBD is
> plugged in/out in PS/2 port.
>
> The problem is there are no events generated by UDEV for PS/2
> keyboards.
>
> Requesting for ideas,
>
> thanks
> rssrik
>
>
Hi
Sorry I don’t have a solution, just an observation. Tha’s a good way
to blowup the PS/2 controller fuse on the motherboard, but it’s your
application
rssrik schrieb:
> Does anyone know,
>
> how to detect a PS/2 keyboard plug / unplug event in Linux (may be
> using UDEVt). I am developing a program, which would pop up a message
> saying that the “KEYBOARD IS CONNECTED / DISCONNECTED” when the KBD is
> plugged in/out in PS/2 port.
I don’t think that’s possible. The PS/2 port is not designed to
be hotpluggable. In fact, you risk killing the PS/2 port of your
motherboard by plugging in a PS/2 keyboard while the system is
powered on.