Bug 16208

Summary: ps/2 mouse problem
Product: Base System Reporter: p.sikkema <p.sikkema>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description p.sikkema 2000-01-19 19:30:01 UTC
I use a abit bp6 dual celeron motherboard with a agp graphics card (intel 740 chipset). 
Under freebsd the p/s2 mouse won't run, serial mouse does.
With the XBF-i740 glibc 1.001 (linux) Xwindows runs well, exept for the mouse. Neither serial, nor ps/2.
In all cases the pointer moves far to fast and ends in the upper corners.
Comment 1 yokota 2000-01-20 02:05:47 UTC
>>Number:         16208
>>Category:       misc
>>Synopsis:       ps/2 mouse problem
[...]
>>Release:        3.2
>>Organization:
>>Environment:
>freebsd 3.2 release #0
>>Description:
>I use a abit bp6 dual celeron motherboard with a agp graphics card (intel 740 
>chipset). 
>Under freebsd the p/s2 mouse won't run, serial mouse does.
>With the XBF-i740 glibc 1.001 (linux) Xwindows runs well, exept for the mouse.
> Neither serial, nor ps/2.
>In all cases the pointer moves far to fast and ends in the upper corners.

Hmm, you seem to be saying the serial mouse runs, but isn't working in
X.  What does this mean?

In any case, would you provide the following informatin so that I can
diagnose your problem?

1. The brand and model of your PS/2 mouse and serial mouse.
2. /etc/rc.conf
3. /var/run/dmesg.boot after starting the system with the PS/2 mouse.
4. The "Pointer" section of your XF86Config (it's usually in /etc)

If your serial mouse is relatively old, you may need to tweak a bit.
We need to carry out some tests after you send us the above
information.

In general, the following quick steps will set up the mouse and
work for many people.

- When you connect a PS/2 mouse to your system, put the following lines
in /etc/rc.conf.

moused_enable="YES"
mouse_port="/dev/psm0"
mouse_type="auto"
mouse_flags=""

After editting /etc/rc.conf, reboot the system.

Then modify your "Pointer" section in XF86Config so that it looks:

Section "Pointer"
    Protocol    "MouseSystems"
    Device      "/dev/sysmouse"
EndSection

(As your X server is a Linux binary, the "Protocol" must be
"MouseSystems".  When you are using the FreeBSD version of the
X server, the "Protocol" should be "SysMouse".)

- When you use the serial mouse, edit /etc/rc.conf as follows.

moused_enable="YES"
mouse_port="/dev/cuaa0"
mouse_type="auto"
mouse_flags=""

(I assume your mouse is connected to COM1. If you are using COM2,
mouse_port should be "/dev/cuaa1")

The "Pointer" section of /etc/XF86Config should be the same as above.

Kazu
Comment 2 Mike Heffner freebsd_committer freebsd_triage 2001-06-26 04:48:42 UTC
State Changed
From-To: open->closed

Feedback timeout.