[Top] [All Lists]

Re: Keyboard/Mouse drivers on SGI

To: Steve Alexander <>
Subject: Re: Keyboard/Mouse drivers on SGI
From: "William J. Earl" <>
Date: Tue, 24 Jun 1997 12:04:31 -0700
Cc: Miguel de Icaza <>,
In-reply-to: <>
References: <>
Steve Alexander writes:
 > My guess is that /dev/input/{keyboard,mouse} are both some sort of standard
 > serial port driver and that the modules I_PUSHed on top are what interpret 
 > the
 > low-level keyboard/mouse protocols.
 > SCO use a similar approach; their driver is called 'ev' if I remember
 > correctly.
 > So, if my theory is correct, what I'd expect to see is:
 >      mfd = open /dev/input/mouse
 >      I_PUSH mfd "mouse"
 >      kfd = open /dev/input/keyboard
 >      I_PUSH kfd "keyboard"
 >      sfd = open /dev/shmiq
 >      I_LINK sfd mfd
 >      I_LINK sfd kfd
 > More than that, I don't know.

     There are drivers for the actual devices, such as pckm on Indy,
to operate the actual keyboard controller, and then there are higher
level streams modules, such as pckbd and pcmouse on Indy, which know
about the keyboard and mouse devices (and other devices, such as
tablets).  The IRIX pckeyboard(7) and pcmouse(7) man pages document the
supported keyboards and mice.  As far as I know, the interface to the
streams modules is not well-documented, as it is used directly only
by the X server and the textport driver.  

    For the time being, I recommend that you go with the usual linux
driver for PC keyboard/mouse controller, which the Indy hardware 

<Prev in Thread] Current Thread [Next in Thread>