From owner-freebsd-questions Wed Jun 26 03:39:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA29988 for questions-outgoing; Wed, 26 Jun 1996 03:39:57 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA29983 for ; Wed, 26 Jun 1996 03:39:55 -0700 (PDT) From: af@biomath.jussieu.fr Received: from mekong.biomath.jussieu.fr (mekong.biomath.jussieu.fr [134.157.72.87]) by shiva.jussieu.fr (8.7.5/jtpda-5.2) with SMTP id MAA13603 ; Wed, 26 Jun 1996 12:39:38 +0200 (METDST) Received: from garfield.biomath.jussieu.fr (garfield) by mekong.biomath.jussieu.fr (5.67b/jn930126+af960507(mailhost)) at Wed, 26 Jun 1996 12:39:14 +0100 Received: from (af@localhost) by garfield.biomath.jussieu.fr (8.7.5/jtpda-5.2) id MAA02648 ; Wed, 26 Jun 1996 12:39:13 +0100 (GMT-1) Message-Id: <199606261139.MAA02648@garfield.biomath.jussieu.fr> Subject: Re: "can't find /dev/mouse" at X startup To: patrick@para.paradigm2000.com (Patrick Lau) Date: Wed, 26 Jun 1996 12:39:12 +0100 (GMT-1) Cc: freebsd-questions@freebsd.org In-Reply-To: <9606260909.AA07920@para.paradigm2000.com> from "Patrick Lau" at Jun 26, 96 05:09:09 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 :-]