Date: Sun, 20 Mar 2011 13:14:36 +0000 From: Alexander Best <arundel@freebsd.org> To: Warren Block <wblock@wonkity.com> Cc: Anonymous <swell.k@gmail.com>, freebsd-usb@freebsd.org Subject: Re: Problem with mouse during high CPU load Message-ID: <20110320131436.GA46380@freebsd.org> In-Reply-To: <alpine.BSF.2.00.1103181044140.41731@wonkity.com> References: <20110121182340.GA80488@freebsd.org> <86vczgts3a.fsf@gmail.com> <20110318154203.GA48923@freebsd.org> <alpine.BSF.2.00.1103181044140.41731@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri Mar 18 11, Warren Block wrote: > On Fri, 18 Mar 2011, Alexander Best wrote: > > >On Fri Mar 18 11, Anonymous wrote: > >>Alexander Best <arundel@freebsd.org> writes: > >> > >>>i've reported this issue quite a while ago [1], but back then nobody was > >>>able > >>>to help me. i have an issue with my usb mouse. when there's a high CPU > >>>load it > >>>produces random mouse clicks. this doesn't happen on other OSes. i've > >>>attached > >>>a different usb mouse to my freebsd box and i could't observe the same > >>>behavior. so it seems this problem is only related to specific mice. > >> > >>I'm curious, can you reproduce it without moused(8), i.e. specifying > >>/dev/umsN in xorg.conf rather than /dev/sysmouse. > > > >wow that worked. :) > > > >i've set my mouse to /dev/ums0 and set Option "AllowEmptyInput" "off", > >because > >without that line i couldn't use the mouse. > > Please use Option "AutoAddDevices" "Off" if you want to disable hal > hotplugging in xorg.conf: http://www.wonkity.com/~wblock/docs/html/aei.html > > >even with very fast movements i don't get any random clicks anymore. > >although > >this a solution works for X, for the console the only way to use a mouse is > >moused(8). > > Yes, but moused is autostarted for USB mice by > moused_nondefault_enable="YES" in /etc/defaults/rc.conf. ahh. so putting moused_nondefault_enable="NO" in my rc.conf should prevent moused(8) from starting? i suspect moused(8) can't handle the amount of input that get produced by newer usb mice with a high input rate. maybe some buffer is too small. i don't think this is a usb issue. i'll take a look at moused(8) and see if i can find where the problem occurs. cheers. alex -- a13x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110320131436.GA46380>