*BSD News Article 66085


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PS/2 mouse config on a laptop
Date: 17 Apr 1996 16:00:30 GMT
Organization: SRI Intl. - Montana Operations
Lines: 47
Message-ID: <4l34iu$471@helena.MT.net>
References: <4l23jn$lvq@cmgm.stanford.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <4l23jn$lvq@cmgm.stanford.edu>,
Ritchie Froehlich <ritchief@cmgm.stanford.edu> wrote:
> 
[ PS/2 mouse on his laptop ]
>looked for a PS/2 mouse in the list of dirvers.  The closest thing
>I could find was mse0 (obviously the wrong device, but I though I'de
>give it a try anyway), which I configured for IRQ 12, port 0x23c,
>flags 0x0.  On boot-up, mse0 is probed and reports "wrong signature
>7f".  I guess the microsoft mouse spec. differs from IBM PS/2.  Gee,
>who would have guessed.

What you want is the psm driver, which is documented in the LINT file.

# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
device        psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

I use the above line on my NEC laptop, so it should work for you.

>I have a couple of questions regarding mouse configuration.  How
>do I configure a PS/2 mouse on IRQ 12, should I use the Logitech or
>MouseMan specification in XF86Config and is there a way to test the
>mouse without going into X (I'm getting really tired of rebooting).

You should use the "PS/2" specification in XF86Config.  And, make sure
/dev/psm0 exists, here is mine from my laptop.

nec: # ls -al /dev/psm0 
crw-------  1 root  wheel   21,   1 Apr 17 08:32 /dev/psm0

>I've noticed that reboot(8) does not always reboot my computer.  When
>I hit keys during reboot process, it sometimes restarts the computer.

I think this might be a coincidence.  It might take longer than you think to
reboot your box, and when you hit keys it distracts you long enough to think
that the computer is rebooting.

>Most of the time, it just hangs after printing the "Rebooting" message.

Do you have power management enabled on your box?


Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth