Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96972

Summary: mouseemu slows down trackpad/usbmouse
Product: Gentoo Linux Reporter: Massimo Burcheri <burcheri.massimo+bugs-gentoo>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Massimo Burcheri 2005-06-24 12:12:19 UTC
I noticed that dragging icons, frames or windows in KDE is really slow.
Reloading the usb module ohci-hcd helps for the usb mouse. For the trackpad (iBookG3) I did'nt find a solution.

Killing mouseemu solves the problem for all.
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2005-07-02 07:26:19 UTC
Are there any messages in dmesg? Perhaps it's writing many error messages or you
have event debugging on.

I'm not sure I understand the problem though:

Clicking and dragging is slow, but killing mouseemu fixes the problem?  Or do
you need to reload the usb modules *and* kill mouseemu?  

Which version of mouseemu?
Comment 2 Massimo Burcheri 2005-07-02 08:12:40 UTC
> Clicking and dragging is slow, but killing mouseemu fixes the problem?  Or do 
> you need to reload the usb modules *and* kill mouseemu?   
 
I boot the machine (iBookG3-600Dualusb) with mouse plugged in and mousemu 
started then one of the following does help: 
1. unplug the mouse and plug in again 
2. reload ohci-hcd 
or 3. killall mouseemu 
 
Your other questions I will answer soon. 
Comment 3 Massimo Burcheri 2005-07-14 03:47:36 UTC
Sorry it's a way late. 
 
To your questions: 
dmesg doesn't show something about mouseemu. 
I have a lot of lines like: 
IN from bad port 64 at c01517bc 
IN from bad port 64 at c01517bc 
IN from bad port 64 at c01517bc 
IN from bad port 64 at c01517bc 
But I have them every time in the beginning of dmesg, also without mouseemu. 
 
Then mouseemu has it's own log: 
mouseemu 0.12 (C) Colin Leroy <colin@colino.net> 
using (0+68) as middle button, (0+87) as right button, (56) as scroll. 
using /dev/uinput. 
Trying to open /dev/uinput... ok. 
cleaning... 
 
Right now I deleted mouseemu from runlevel, when using usb-mouse it isn't 
usefull. After I start it manually the problem appears: mouse behaves more 
slowly especially when dragging frames and icons. As I said concerning the 
usb-mouse it helps to replug it, or reload the usb-modules. For the pad I 
didn't find a workaround. 
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2005-07-20 19:39:46 UTC
Those errors in your dmesg are from the legacy PC/AT keyboard driver, turn it
off and these errors will go away.
The options you're looking for are:
Device Drivers -> Input Devices -> Hardware I/O Ports ->
 < > Serial I/O Support

Do you have the ADB mouse button emulation enabled as well as using mouseemu?
Comment 5 Massimo Burcheri 2005-07-21 01:02:50 UTC
(In reply to comment #4) 
> Do you have the ADB mouse button emulation enabled as well as using mouseemu? 
 
Oh, i found it: ADB emulation is also enabled, yes, and works well. 
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2005-07-21 13:48:07 UTC
Since you're using mouseemu, can you try disabiling the kernel mousebutton
emulation while you're using mouseemu?  See if that helps at all.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2005-09-01 18:18:11 UTC
Please reopen the bug if that didn't fix the issue for you.