old-www/HOWTO/3-Button-Mouse-3.html

38 lines
1.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The 3 Button Serial Mouse mini-HOWTO: Serial Ports </TITLE>
<LINK HREF="3-Button-Mouse-4.html" REL=next>
<LINK HREF="3-Button-Mouse-2.html" REL=previous>
<LINK HREF="3-Button-Mouse.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="3-Button-Mouse-4.html">Next</A>
<A HREF="3-Button-Mouse-2.html">Previous</A>
<A HREF="3-Button-Mouse.html#toc3">Contents</A>
<HR>
<H2><A NAME="s3">3. Serial Ports </A></H2>
<P>The first thing to do is to make sure the software can find the mouse.
Work out which serial port your mouse is connected to - usually this
will be <CODE>/dev/ttyS0</CODE> (COM1 under DOS) or <CODE>/dev/ttyS1</CODE>
(COM2). (<CODE>ttyS0</CODE> is usually the 9 pin socket, <CODE>ttyS1</CODE> the
25 pin socket, but of course there is no hard and fast rule about these
things.) There are also an equivalent number of <CODE>/dev/cua</CODE> devices,
which are almost the same as the <CODE>ttyS</CODE> ones, but their use is
now discouraged. For convenience make a
new link <CODE>/dev/mouse</CODE> pointing at this port. For instance,
for <CODE>ttyS0</CODE>:
<P>
<BLOCKQUOTE><CODE>
ln -s /dev/ttyS0 /dev/mouse
</CODE></BLOCKQUOTE>
<P>
<HR>
<A HREF="3-Button-Mouse-4.html">Next</A>
<A HREF="3-Button-Mouse-2.html">Previous</A>
<A HREF="3-Button-Mouse.html#toc3">Contents</A>
</BODY>
</HTML>