Subject: Re: Mouse loses control
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 12/03/2002 17:28:43
Manuel Bouyer wrote:

>On Tue, Dec 03, 2002 at 04:53:27PM +0000, Sung N. Cho wrote:
>  
>
>>Hello,
>>
>>Looks like /dev/wsmouse works as well.  In any case, I turned off ps/2 
>>mouse from the BIOS and have used /dev/wsmouse0 for my USB mouse.  I 
>>have also detached the the USB mouse, enabled ps/2 mouse in BIOS and 
>>used /dev/wsmouse0 as ps/2 mouse.  Now, I have turned off PS/2 mouse and 
>>put /dev/wsmouse instead, and XFree86 correctly detects USB mouse as 
>>usual.  But that was never a problem.  Problem was in the stability of 
>>mouse actions.  At the moment, my custom kernel is compiled without ps/2 
>>mouse support (only usb mouse enabled in kernel).  But, I still have 
>>random mouse behavior while dragging or resiging windows.  Under 
>>windows98, neither of these mouse have problem.  Not under Linux also. 
>>I am not sure why I'm getting disturbances in mouse.  For example, when 
>>I open mozilla mail and click on messages, it pops up several windows as 
>>if I clicked it that many times.  This happens randomly quite often, of 
>>course.  Or, when I delete a message, it sometimes deletes several 
>>messages.  Thank you.
>>    
>>
>
>Do you also have these problem when using the regular PS/2 mouse ?
>
>  
>
Hello, Manuel.

No, it seems PS/2 mouse works fine under NetBSD but only my USB mouse 
have that problem.  I just recompiled kernel with both PS/2 and USB 
mouse support and wsmux off.  To select PS/2 mouse, I just choose 
/dev/wsmouse0 in XF86Config and to select USB mouse, I set /dev/wsmouse1 
in XF86Config.  PS/2 mouse is very stable and solid.  But USB mouse has 
that random instability of dragging, etc.  I don't think it's broken 
since it works solid in both Linux and Windows98.

I would hope to use USB mouse since that's an optical one, therefore, 
don't have to clean the wheels etc. :( Does having wsmux in kernel 
selectively choose USB mouse over PS/2 mouse when both are enabled in 
kernel? Thank you.