From owner-freebsd-questions Tue Jul 16 19:36:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA05756 for questions-outgoing; Tue, 16 Jul 1996 19:36:06 -0700 (PDT) Received: from homer23.u.washington.edu (durang@homer23.u.washington.edu [140.142.77.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id TAA05713 for ; Tue, 16 Jul 1996 19:36:01 -0700 (PDT) Received: from localhost by homer23.u.washington.edu (5.65+UW96.04/UW-NDC Revision: 2.33 ) id AA11540; Tue, 16 Jul 96 19:35:51 -0700 Date: Tue, 16 Jul 1996 19:35:51 -0700 (PDT) From: Ken Marsh To: Nate Williams Cc: questions@freebsd.org Subject: Re: MAKEDEV making symbolic link, not mouse dev. In-Reply-To: <199607170209.UAA27620@rocky.mt.sri.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > sio0 at 0x3f8-0x3ff irq 4 on isa > > > > I don't know where I got this, but I suspect the device file to be tty00 > > or mouse. However, if I do "/dev/MAKEDEV tty00" then /dev/tty00 is NOT > > created, and no error message is given. If I try "/dev/MAKEDEV mouse" then > > a symbolic link, /dev/mouse is created, linked to ITSELF.... > > I don't know why the 'mouse' target exists in MAKEDEV, but that' > irrelevant. > > In any case, if you do a 'man sio', you'll see: > > FILES > /dev/ttyd? for callin ports > /dev/ttyid? > /dev/ttyld? corresponding callin initial-state and lock-state > > So, since the mouse 'calls in' (sends data to the system), you would use > /dev/ttyd?, where ? is the device number of the port, in your case it > would be /dev/ttyd0. I have the device now. I can't test it in Xwin because I still have problems with XF86Config. (See other mail from me re: XF86Config) The FreeBSD documentation at : http://xfree86.pacificrim.net/XFree86/3.1.1/FreeBSD-4.html suggests that I use "cat < /dev/tty00" (in my case "cat < /dev/ttyd0") to test the mouse by "just make(ing) sure that it generates output when the mouse is moved or clicked" When I do "cat < /dev/ttyd0" the mouse does not generate any output visible on the screen. When redirected to a file, the file remains empty. Also, Cntl-D has no effect, so I have to switch to another virtual terminal to terminate the process with a kill command. Does this mean that ttyd0 may not be the right device after all? Thanks again. Ken Marsh