Date: Wed, 26 Jun 1996 12:39:12 +0100 (GMT-1) From: af@biomath.jussieu.fr To: patrick@para.paradigm2000.com (Patrick Lau) Cc: freebsd-questions@freebsd.org Subject: Re: "can't find /dev/mouse" at X startup Message-ID: <199606261139.MAA02648@garfield.biomath.jussieu.fr> In-Reply-To: <9606260909.AA07920@para.paradigm2000.com> from "Patrick Lau" at Jun 26, 96 05:09:09 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Lau wrote / a ecrit:
>
> Hi,
Hi... please put a "Subject:" in your mail, preferably relevant to
your question. You're more likely to get an answer that way.
>
> I am new to FreeBSD, I currently installed the SNAP2.2-960611 and
> want to install X. I follow the readme of X and start configuring
> the XF86Config file. I encounter the following problem:
>
> I type xdm -nodaemon to test XDM and get the message:
> Fatal error:
> Can't find /dev/mouse something like that
>
> I go to /dev and follow the readme procedure to
> dmesg|grep sio and get
> sio0 at 0x3f8-0x3ff ........
> also I try ./MAKEDEV tty00 and use cat < /dev/tty00 to see whether mouse
> response but get
> no such file tty00 error....
On a system with a serial mouse, /dev/mouse should be a soft link to
/dev/cuaaX (X = 0 or 1 depending on the port). My serial mouse is
connected to COM1 and I have:
lrwxr-xr-x 1 root wheel 10 Jun 25 16:05 /dev/mouse -> /dev/cuaa0
The dialin device related to /dev/cuaaX is /dev/ttydX *not*
/dev/tty0X. I think that opening this device will hang until CD is
asserted on the port, which might not be the case when a mouse is
connected to it, hence the usage of /dev/cuaaX (dialout device).
>
> BTW: MAKEDEV tty00 will make tty*0 device. Am I correct?
>
>
Wrong. "MAKEDEV ttyd0" would create /dev/ttyd0, /dev/ttyid0 and
/dev/ttyld0. They most likely already are here, though, just like the
/dev/cua?0 devices. Take a look at the first lines of /dev/MAKEDEV.
Good luck,
_Alain_
--
Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM
Public Health 91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs Mail: af@biomath.jussieu.fr
Tel: (+33) 1-40-77-96-19 Fax: (+33) 1-45-86-80-68
I've RTFMed. It says: "Refer to your system administrator"
But... I *am* the system administrator :-]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606261139.MAA02648>
