From owner-freebsd-questions Tue Nov 21 20:17:34 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA26762 for questions-outgoing; Tue, 21 Nov 1995 20:17:34 -0800 Received: from bacchus.eng.umd.edu (bacchus.eng.umd.edu [129.2.94.5]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA26757 for ; Tue, 21 Nov 1995 20:17:28 -0800 Received: from latte.eng.umd.edu (latte.eng.umd.edu [129.2.98.15]) by bacchus.eng.umd.edu (8.7/8.7) with ESMTP id XAA02084; Tue, 21 Nov 1995 23:17:21 -0500 (EST) Received: (chuckr@localhost) by latte.eng.umd.edu (8.7/8.6.4) id XAA22425; Tue, 21 Nov 1995 23:17:20 -0500 (EST) Date: Tue, 21 Nov 1995 23:17:19 -0500 (EST) From: Chuck Robey X-Sender: chuckr@latte.eng.umd.edu To: Robin Lunn cc: questions@freebsd.org Subject: Re: what is the device number for sio? In-Reply-To: <199511212032.WAA11010@admin.is.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Tue, 21 Nov 1995, Robin Lunn wrote: > Hi there, > > /dev/MAKEDEV doesnt know about tty00 and I'de like to be able to run X with a > mouse. What is the device driver number for sio and how would I find such > things in future? /sys/i386/conf/devices.i386 wasnt very helpful. :-( > It only lists swap devices. Sure it does. Do a ./MAKEDEV std, it'll make all the correct tty and cua ports. There isn't any sio device, that's the name for the drivers (Serial Input/Output) not the device name. DON'T use that number for the major, it's certainly not right. There's a good manpage for the sio driver, just type 'man sio'. You'd want to use /dev/cuaa0 for your serial mouse on the first port, BTW. The Major device numbers refer to the type of driver, and minor numbers refer to specific modes or ports configured for that device. Com ports AREN'T major 0. > > I assume the minor number for com1 will be 0, ie mknod tty00 c MAJOR 0. > > Much thanks, > -- > _ __ | Only my ideas here unless I say otherwise... > ' ) ) / | (BeamJack@IRC) > /--' ____/___o __ | > / \_(_) /_) (__/) )_ | "I didn't know it was impossible when I did it!" > ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: