*BSD News Article 54791


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!uwm.edu!homer.alpha.net!mvb.saic.com!news.mathworks.com!newsfeed.internetmci.com!IntGame!charnel.ecst.csuchico.edu!csusac!csus.edu!orion!wleong
From: wleong@sfsu.edu (WEE-KING LEONG)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help!! How to config X with ps/2 mouse?
Date: 7 Nov 1995 21:20:14 GMT
Organization: San Francisco State University
Lines: 47
Message-ID: <47oiie$iba@news.csus.edu>
NNTP-Posting-Host: wleong@orion.sfsu.edu
X-Newsreader: TIN [version 1.2 PL2]


Someone please shed some light!
I couldn't get X to run because of the ps/2 mouse problem. I currently have 
FreeBSD 2.0.5 and XR3.11 version. I have read lots of threads from FreeBSD
and XFree86 web sites and my conclusion to solve the problem is as follow.

1:  #cd /usr/src/sys/i386/conf
2:  #cp GENERIC GENERIC_PS2
3:  #vi GENERIC_PS2
    - I added this two lines
           options   "ALLOW_CONFLICT_IOADDR"
           device psm0 at isa? port "IO_KBD" tty irq 12 vector psmintr
4:  #config GENERIC_PS2
5:  #cd ../../compile/GENERIC_PS2
6:  #make depend
7:  #make         <--"does it matter if I type <make> or <make install> ?"
8:  #mv /kernel /kernel.old
9:  #mv kernel /kernel
10: #reboot

I have done the following before reboot
#echo 'set path=($path /usr/X11R6/bin' >> /etc/csh.login
#echo 'PATH=$PATH:/usr/X11R6/bin' >> /etc/profile

I added this follwoing to /etc/ttys
( I have ttyv0-ttyv2 on and ttyv3 off)

ttyv4 "/usr/X11R6/bin xdm -nodaemon" xterm on secure

The last thing I could get is a windows after reboot, the mouse works fine
in the window, but the keyboard is not responding. I have to switch back
to my old kernel after that. And ever since, when I tried to do X -probeonly,
it always failed for some reason.

If you see something that I shouldn't or should be doing here, please please 
please let me know cause I ran out of resources for help already.

Your response is greatly appreciated!



--
====================================================================

"Grosch's law
Computing power increases as the square of the cost."
                    --Grosch