Re: ISSUE: psaux does not load in 2.2.0pre6

David Woodhouse (David.Woodhouse@mvhi.com)
Fri, 15 Jan 1999 13:07:48 +0000


johan.myreen@setec.fi said:
> 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.

OK - I was under the impression that an attempt to open /dev/psaux would fail
with ENODEV, if no mouse was present when the driver was initialised.

> 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?

Nope, but I do expect to be able to open /dev/ttyS? and send/receive data from
it.

I'll go and try this again.

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
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/