Date: Thu, 7 Mar 1996 15:12:00 +0930 From: "Garth Kidd" <garth@dogbert.systems.sa.gov.au> To: questions@freebsd.org Subject: 2.1.0 serial mice -- wauugh! Message-ID: <960307151212.ZM2871@jolt.systems.sa.gov.au>
next in thread | raw e-mail | index | archive | help
I'm trying to install my mouse for FreeBSD 2.1.0 and X86312.
# cat</dev/ttyd0
Wiggle the mouse, click the buttons... no response. Ditto for ttyd1. Both
the mouse and the serial ports worked fine under DOS, so I don't suspect
hardware problems.
I've tried, as suggested in messages to freebsd-questions and freebsd-bugs
I found by searching for "mouse";
# ln -sf /dev/cuaa0 /dev/mouse
... then configuring X to use /dev/mouse. This is also done by
/stand/sysinstall when asked to configure the mouse. Either way, it
doesn't work.
None of the fifteen or so items I found in the mailing list archives were
helpful; all but a couple were from similarly frustrated people unable to
get their mice working. The X86312 README suggests catting from
/dev/tty00, not present in 2.1.0. The handbook has nothing.
This is frustrating. As far as I can tell, it SHOULD work. Can anyone
point me to where the problem is, or what other tests I should run to
figure out what's going wrong? Even two-line rough suggestions will help,
and I'll make a FAQ submission if I ever get it straightened out so that
you never have to answer again.
Help!
[If you're responding to this in comp.unix.bsd.freebsd.misc, please cc
responses via email; the news-feed down here in Australia is more than a
little patchy.]
Potentially useful details follow:
# lsdev|grep sio
sio0 Idle Serial port: National 16450 or compatible
sio1 Idle Serial port: National 16450 or compatible
sio2 Idle Serial port: National 16450 or compatible
sio3 Idle Serial port: National 16450 or compatible
# dmesg|grep sio
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
# ls -lac /dev/ttyd*
crw------- 1 root wheel 28, 0 Mar 7 10:06 /dev/ttyd0
crw------- 1 root wheel 28, 1 Mar 7 09:17 /dev/ttyd1
crw------- 1 root wheel 28, 2 Mar 7 08:19 /dev/ttyd2
crw------- 1 root wheel 28, 3 Mar 7 08:19 /dev/ttyd3
# tail -2 /etc/rc.serial
mouse 0
mouse 1
# stty -a -f /dev/ttyd0
speed 1200 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
-echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
-nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
-brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -oxtabs
cflags: cread cs8 -parenb -parodd -hupcl clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
ttyd1's details are the same.
My kernel configuration file:
# cat /usr/src/sys/i386/conf/DOGBERT | egrep -v '^$' | egrep -v '^#'
machine "i386"
cpu "I486_CPU"
ident "DOGBERT"
maxusers 4
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options MFS #Memory File System
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3
options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI
options BOUNCE_BUFFERS #support for DMA bounce buffers
options UCONSOLE #Allow users to grab the console
options SYSVSHM
options SYSVSEM
options SYSVMSG
config kernel root on wd0
controller isa0
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options XSERVER # include code for XFree86
options "NCONS=8" # number of virtual consoles
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr
device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
device lpt1 at isa? port? tty
device lpt2 at isa? port? tty
device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device bpfilter 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
pseudo-device vn
--
garth@pisces.systems.sa.gov.au | Garth Kidd
+61-8-207-7740 (voice) | Professional Services Division
+61-8-207-7860 (fax) | Southern Systems
| Adelaide, AUSTRALIA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?960307151212.ZM2871>
