Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!news.cais.net!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!news.up.net!news.mtu.edu!walter.acs.nmu.edu!usenet From: matth3w@arbornet.org (bla bla bla) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: PS/2 mouse config on a laptop Date: Sat, 04 May 1996 20:47:39 GMT Organization: Northern Michigan University Lines: 63 Message-ID: <4mfmm9$daf@walter.acs.nmu.edu> References: <4l23jn$lvq@cmgm.stanford.edu> <4lvi7c$a8@anorak.coverform.lan> NNTP-Posting-Host: 198.110.207.219 X-Newsreader: Forte Free Agent 1.0.82 brian@awfulhak.demon.co.uk (Brian Somers) wrote: >Ritchie Froehlich (ritchief@cmgm.stanford.edu) wrote: >: >: Greetings to the land of the FreeBSD.... >: >: I'm having a little trouble getting FreeBSD 2.1 to recognize my >: mouse. I using an older 486 laptop that has a trackball mouse >: that is reported by msd (in DOS) to be a "PS/2 style mouse" (without >: any mouse drivers installed) and "Logitech PS/2 Mouse on IRQ 12" >: (with mouse dirvers loaded). According to the user manual, IRQ 12 >: is indeed reserved for the PS/2 mouse. Hello, I have experienced the Exact same problem your currently having. What you have to do is recompile your kernel. There is documentation on how to do this, but I'll explain it anyway. cd to /usr/src/sys/i386/conf I you don't have this directory, that means you don't have the source installed (i.e. your screwed until you obtain the source, 120megs aprox) cp the GENERIC kernel to something you name(e.g. NEWKERNEL or MYKERNEL) use your favorite text editor to edit the cp'ed file. Scroll down the file until you find the line: device mse0 at isa? blablabla, etc..... Delete thet line and replace it with this: device psm0 at isa? port "IO_KBD" tty irq 12 vector psmintr If you using pico, make sure that this is only one line. If you feel brave and have an Idea of what to change, you can configure other things in your kernel, but I would'nt advise it. Get your mouse running first, then play with the rest. next type the line: /usr/sbin/config THE_KERNEL_NAME_YOU_CHOSE If you made any errors in the kernel, config should catch most of them, It wil also build the compile directory. Follow its instructions when it's done. type cd ../../compile/YOU_KERNEL_NAME_YOU_CHOSE then simply type "make". The machine will sit there compiling for a half hour/hour or so. when its done, type cp /kernel /kernel.1 or something so you can save your original kernel before you replace it just in case of the unthinkable. then type cp kernel / And that will copy you new kernel to the / dir. now reboot. If it worked, you should see something like psm0 at 60xx63 found plus alot of other garble when its probing for devices. To see if it worked, start up x. Any questions? e-mail me mbrown@arbornet.org