[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mouse



eileen@orbell.com wrote:
> Hi,
> 
> I seem to be having some problems config my mouse under X.  I have a 
> Microsoft serial mouse and choose
> /dev/mouse and Microsoft under XF86Setup.  On startx I get the error
> Cannot open mouse (no such file or directory)
> Any ideas?

At a guess that sound like the /dev/mouse symlink doesn't exist.  Presuming
that's the case, you have two options.

1) Reconfig X to point at the "real" mouse location or
2) Make a /dev/mouse symlink that points at the real mouse location.

My suggestion is 2.

To see if you have the /dev/mouse try just doing:

ls -l /dev/mouse

and see what happens.  On my system, I get:

hal9000:~$ ls -l /dev/mouse
lrwxrwxrwx    1 root     root            5 Sep 26 22:18 /dev/mouse -> psaux

which means that the /dev/mouse symlink points at the PS/2 port.  And since
my trackball is a PS/2 device that's where it should point.

So the first thing you need to do is figure out which serial port your mouse
is plugged into.  It's most likely either ttyS0 or ttyS1.  Once you've
figured that out, create the symlink by doing:

ln -s /dev/ttySx /dev/mouse

where you replace x with the correct number for the port your mouse is
plugged into.  Then restart X and all should be well.
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
                      | everything is of great understanding,
'91 GS500E            | for belief in one false principle is the
Morgantown WV         | beginning of all unwisdom.

Attachment: pgppWnf8wxMhP.pgp
Description: PGP signature


Reply to: