Re: ISSUE: psaux does not load in 2.2.0pre6

Johan =?iso-8859-1?Q?Myr=E9en?= (johan.myreen@setec.fi)
Fri, 15 Jan 1999 13:03:55 +0000


David Woodhouse wrote:

> Or even better, to have the driver automatically notice when a mouse is
> plugged in, without intervention from the user at all. P'raps it should scan
> for a mouse whenever /dev/psaux is opened when a mouse isn't currently thought
> to be attached?

Note that this can be done in user space: the only way the mouse
communicates with the host is by sending and receiving bytes on the
wire. For that you have the write() and read() calls.

Compare to a serial port: surely you don't expect the serial driver
to automatically detect when a mouse or a modem is hot-plugged into
a serial port?

Besides, I don't think the PS/2 mouse was intended to be
hot-pluggable. There have been reports of fried ports on this
list.

Johan Myréen
jem@iki.fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/