Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 15:52:11 +0200 (CEST)
From:      Malte Lance <malte@webmore.com>
To:        MBHASKAR@us.oracle.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Configuring a mouse
Message-ID:  <XFMail.980501155211.malte@webmore.com>
In-Reply-To: <199804301912.MAA02852@mailsun2.us.oracle.com>

next in thread | previous in thread | raw e-mail | index | archive | help

First of all:
Instead of xf86config you should use XF86Setup.

Now regarding your mouse:

What kind of mouse are you using ?
Busmouse or PS/2-mouse ?
"psm" is the PS/2-mouse-device, "mse" is the busmouse-device.

I'll assume here you are using a PS/2-mouse.

> 3) Here is the config line from /usr/src/sys/i386/conf/MYKERNEL:
> 
> device      psm0    at isa? disable port "IO_KBD" conflicts tty irq 12
> vector psmintr
> options PSM_CHECKSYNC      #checks the header byte for sync

the keyword "disable" DISABLES your mouse. Remove it and build a new
kernel or enter the kernel-config at boot-time and change it in the psm-device-
entry.

Did not find "PSM_CHECKSYNC" as an option on 2.2.6

Have a look at /dev and check if there is a "psm0"-device.
Check /dev/mouse if it is pointing to /dev/psm0.

> 1) Do we have to explicitly invoke the moused daemon? Is it not
>    automatically started by startx/xinit? I haven't run moused
>    until now.

Moused is a FreeBSD-thing. Don't confuse it with the pointer-device in X.
You do not really need moused running, but if you use it, the Pointer-section
in /etc/XF86Config gets much easier.
Moused can be enabled in /etc/rc.conf with several options and flags.
Have a look at "man moused". It is very well written and explains everything
about configuring the moused for several kinds of mice.
If you decide to use moused, the Pointer-section in /ect/XF86Config will look
like this:
Section "Pointer"
   Protocol        "SysMouse"
   Device          "/dev/mouse"
EndSection

If you will not use moused, then you need to change your /etc/XF86Config:

> 2) Here is the Pointer section in /etc/XF86Config file:
> 
># **********************************************************************
># Pointer section
># **********************************************************************
> 
> Section "Pointer"
>     Protocol    "MouseMan"
>     Device      "/dev/ttyd0"

/dev/ttyd0 is not the PS/2-mouse-device.
Make /dev/mouse a link to /dev/psm0 and specify "Device "/dev/mouse".

Hope this helps.

Malte

> Regards,
> Mahesh
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Mahesh Bhaskarpandit              |      Phone: (W) 650-506-3246
> 1Op252, Oracle Corporation,       |             (R) 650-345-1879
> 500, Oracle Parkway,              |      Fax:       650-506-7355     
> Redwood City, CA - 94065          |      E-mail: mbhaskar@us.oracle.com
>                                   |              maheshb30@hotmail.com
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 

----------------------------------
E-Mail: Malte Lance <malte@webmore.com>
Date: 01-May-98
Time: 14:35:39
----------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980501155211.malte>