Results 1 to 3 of 3

Thread: PS/2 Keyboard plug events

  1. #1
    rssrik NNTP User

    Default PS/2 Keyboard plug events

    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

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: PS/2 Keyboard plug events

    On Thu, 03 Jul 2008 14:56:04 GMT
    rssrik <rssrik@no-mx.forums.opensuse.org> wrote:

    >
    > 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 :-)

    --
    Cheers Malcolm (Linux Counter #276890)
    SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
    up 2 days 22:12, 1 user, load average: 0.09, 0.09, 0.06
    GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09


  3. #3
    Tilman Schmidt NNTP User

    Default Re: PS/2 Keyboard plug events

    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.

    HTH
    T.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •