Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: How do i make my mouse work?
  1999-10-28  4:00 How do i make my mouse work? David Hocking
@ 1999-10-27  4:00 ` Eberhard Burr
  1999-10-29  4:00   ` Martin Sinot
  1999-10-28  4:00 ` Paavo Hartikainen
  1 sibling, 1 reply; 4+ messages in thread
From: Eberhard Burr @ 1999-10-27  4:00 UTC (permalink / raw)


"David Hocking" <davidh@student.unsw.edu.au> writes:

> Hi,
> I'm fairly new to linux and have finally got Debian loaded ok. Although when

good choice :-)

> i try to run startx it tells me that /dev/mouse isn't a file or directory.
> 
> So can anyone tell me how you load a mouse driver or something so that
> /dev/mouse is "mounted" (or loaded).

On Debian, afaik, /dev/mouse isn't created automatically unless you
install gpm, the general purpose mouse support daemon. If you only
want to use the mouse under X, then the best thing to do is to load
the file /etx/X11/XF86Config into an editor and replace the reference
to /dev/mouse by /dev/ttyS0 (if your mouse lives on COM1 under DOS) or 
/dev/ttyS1 (COM2 under DOS) or /dev/psaux (mouse on the PS/2 mouse
port)
Also, close to the reference to the device, in the "Pointer"-section,
you'll find  a reference to the protocol. Check the setting there too.

If you want any of a) using the mouse under plain console,
b) multiplexing of more than one pointing device onto the X pointer or 
c) using a device not supported by X, then you may want to check out
the gpm package. Beware: the setup-script of gpm is slightly confusing 
but the docs under /usr/doc/gpm are really good.

kind Regards,
-- 
Eberhard Burr    check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
                 for PGP Key -- #include <stddisc.h> -- electric cookie follows
Young men, hear an old man to whom old men hearkened when he was young.
		-- Augustus Caesar



^ permalink raw reply	[flat|nested] 4+ messages in thread

* How do i make my mouse work?
@ 1999-10-28  4:00 David Hocking
  1999-10-27  4:00 ` Eberhard Burr
  1999-10-28  4:00 ` Paavo Hartikainen
  0 siblings, 2 replies; 4+ messages in thread
From: David Hocking @ 1999-10-28  4:00 UTC (permalink / raw)


Hi,
I'm fairly new to linux and have finally got Debian loaded ok. Although when
i try to run startx it tells me that /dev/mouse isn't a file or directory.

So can anyone tell me how you load a mouse driver or something so that
/dev/mouse is "mounted" (or loaded).

Thanks,
Dave.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do i make my mouse work?
  1999-10-28  4:00 How do i make my mouse work? David Hocking
  1999-10-27  4:00 ` Eberhard Burr
@ 1999-10-28  4:00 ` Paavo Hartikainen
  1 sibling, 0 replies; 4+ messages in thread
From: Paavo Hartikainen @ 1999-10-28  4:00 UTC (permalink / raw)


"David Hocking" <davidh@student.unsw.edu.au> writes:

> Hi, I'm fairly new to linux and have finally got Debian loaded
> ok. Although when i try to run startx it tells me that /dev/mouse
> isn't a file or directory.

First you have to make sure that the mouse port is found by the kernel
you are running. Check out 'dmesg'.

> So can anyone tell me how you load a mouse driver or something so
> that /dev/mouse is "mounted" (or loaded).

Then you need to create symbolic link so that '/dev/mouse' points to
your actual mouse device. For example 'ln -s /dev/ttyS1 /dev/mouse' to
use mouse on serial port 1 and 'ln -s /dev/psaux /dev/mouse' to use
PS/2 mouse port.

-- 
 "pienena   /  Paavo "Rainbow Rat" Hartikainen
  minusta  /  E-mail: pahartik@sci.fi
  tulee   /  URL: http://www.sci.fi/~pahartik/
  rotta" /  EFnet: pahartik at #Atari and #LionKing



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do i make my mouse work?
  1999-10-27  4:00 ` Eberhard Burr
@ 1999-10-29  4:00   ` Martin Sinot
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Sinot @ 1999-10-29  4:00 UTC (permalink / raw)



Eberhard Burr <Eberhard.Burr@gmx.de> wrote in message
news:87k8o81thf.fsf@gmx.de...
> "David Hocking" <davidh@student.unsw.edu.au> writes:
>
> > Hi,
> > I'm fairly new to linux and have finally got Debian loaded ok. Although
when
> > good choice :-) i try to run startx it tells me that /dev/mouse isn't a
file or
> > directory.
> >
> > So can anyone tell me how you load a mouse driver or something so that
> > /dev/mouse is "mounted" (or loaded).
>
> On Debian, afaik, /dev/mouse isn't created automatically unless you
> install gpm, the general purpose mouse support daemon. If you only
> want to use the mouse under X, then the best thing to do is to load
> the file /etx/X11/XF86Config into an editor and replace the reference
> to /dev/mouse by /dev/ttyS0 (if your mouse lives on COM1 under DOS) or
> /dev/ttyS1 (COM2 under DOS) or /dev/psaux (mouse on the PS/2 mouse
> port)

Actually, /dev/mouse is a symbolic link to whatever device file you are
using as a mouse. It is not created automatically :-( but that can be
easily corrected. Just create a symbolic link called /dev/mouse
referring to /dev/ttyS0 (mouse on COM1) or /dev/ttyS1 (mouse on COM2)
or /dev/psaux (mouse on PS/2 mouse port), etc. That way, you can refer
to the mouse as /dev/mouse, without constantly having to know where
the mouse is.

Martin Sinot
martin@spase.nl





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-10-29  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-28  4:00 How do i make my mouse work? David Hocking
1999-10-27  4:00 ` Eberhard Burr
1999-10-29  4:00   ` Martin Sinot
1999-10-28  4:00 ` Paavo Hartikainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox