Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mm-sources-2.6.0-test9 and slow mouse cursor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Sun Nov 02, 2003 8:16 pm    Post subject: mm-sources-2.6.0-test9 and slow mouse cursor Reply with quote

hi!

i have followed all the nice mm-sources through all those testing series. But i have to say that i got the most problems with the latest (test9) series. the biggest problem is my mouse cursor. it is *dog slow*! in X i can compensate this a little by setting up xfce4 in such a way that i set the acceleration up. but in gdm and in console, i have to push my mouse approximately 1.5 meters to cross my screen at a resolution of 1024x768. this has never happened to me with any other kernel before. do you have any ideas what is misconfigured here?

thanks,
revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
warhawk
n00b
n00b


Joined: 12 Feb 2003
Posts: 22

PostPosted: Wed Nov 05, 2003 6:52 pm    Post subject: Reply with quote

same problem here with mm-sources test9-r1 on my laptop. with development-sources test9 there is no problem with the mouse/touchpad.
Back to top
View user's profile Send private message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Wed Nov 05, 2003 10:39 pm    Post subject: Reply with quote

hm, what do you think we should do about this?
maybe just wait till the next release? i can't imagine we are the only two persons suffering from this.
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Thu Nov 06, 2003 12:01 am    Post subject: Reply with quote

well, i found the problem(i hope so, for me it works, but as i am actually no coder, i might be doing something wrong):
if you are using a ps2-mouse, you could try this:

look for line
Code:
 int psmouse_resolution;

in /path/to/your/kernelsource/drivers/input/mouse/psmouse-base.c
and change it to

Code:
int psmouse_resolution = 400;


i chose 400 as resolution as i have read an article mentioning this as the default resolution.
for me the mouse now works again as expected.
i can't guarantee that it is harmless, but for me it seems to work very well.

revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
warhawk
n00b
n00b


Joined: 12 Feb 2003
Posts: 22

PostPosted: Thu Nov 06, 2003 12:37 am    Post subject: Reply with quote

this worked for me, thx
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Thu Nov 06, 2003 10:23 am    Post subject: Reply with quote

Also worked for me. No problems as yet. Thanks revo! :D
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
Papapishu
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 129
Location: ((void*)NULL)

PostPosted: Thu Nov 06, 2003 1:41 pm    Post subject: Reply with quote

I had the same problem.
Let's see if it works...
_________________
#359074
Back to top
View user's profile Send private message
dodger101
n00b
n00b


Joined: 25 Aug 2003
Posts: 11

PostPosted: Fri Nov 07, 2003 11:12 am    Post subject: Reply with quote

worked for me, too.
thanks revo.

dodger
_________________
How can I sign here?
Back to top
View user's profile Send private message
Cobron
n00b
n00b


Joined: 01 Feb 2003
Posts: 45

PostPosted: Fri Nov 07, 2003 1:19 pm    Post subject: Reply with quote

Thanks, your solution works!

Is this a bug? => Should this be reported as a bug?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Nov 08, 2003 6:49 pm    Post subject: Reply with quote

easier solution, add "psmouse_resolution=xxx" to the boot options in grub/lilo., where xxx is a value. someone on the lkml suggested 200, but you could also try 400 as suggested in this thread,

a possible alternate solution is to pass "psmouse_noext=1" to the kernel as a boot option.

you could also play around with "psmouse_rate=xxx" (try 60, the linux 2.4 default).

this is a known problem which has come around because the mouse autodetection code has been updated. im guessing it will be fixed/reverted, linus says "I'm pretty certain that
the current mouse initialization has got to go".
looks like the autodetection will be removed, safer defaults will be used, and the user will be able to configure things like resolution and rate through sysfs.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
revo
n00b
n00b


Joined: 02 Feb 2003
Posts: 57

PostPosted: Sat Nov 08, 2003 9:35 pm    Post subject: Reply with quote

dsd wrote:

this is a known problem which has come around because the mouse autodetection code has been updated. im guessing it will be fixed/reverted, linus says "I'm pretty certain that
the current mouse initialization has got to go".
looks like the autodetection will be removed, safer defaults will be used, and the user will be able to configure things like resolution and rate through sysfs.


well, this sounds easier indeed :)

but, as someone mentioned, development-sources work ok/like the test8 series. is this only changed in mm-sources?

and: can you verify that my idea is harmless? i wouldn't like to screw up a lot because of this and i would like not to recompile my kernel if possible, only recompile when test10 is out one day.

revo
_________________
3 wang-tan soup, 3 garlic chicken and 3 orders of fortune cookies, that's it. - and then?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Nov 08, 2003 10:39 pm    Post subject: Reply with quote

revo wrote:
but, as someone mentioned, development-sources work ok/like the test8 series. is this only changed in mm-sources?

it is changed in Linus's tree, which is an up-to-date reflection of the latest -test release, plus all of the patches he has accepted/merged since. every time mm-sources comes out, Andrew Morton updates his tree from Linus's tree and then applies his own updates.
so- its not only changed in mm-sources, its changed in the official "bitkeeper sources" (Linus's tree) plus any other patchsets that use linus's tree.

Quote:
and: can you verify that my idea is harmless? i wouldn't like to screw up a lot because of this and i would like not to recompile my kernel if possible, only recompile when test10 is out one day.


i assume the idea you are referring to is your modification to psmouse-base.c
yes- it looks ok. but its not expected that users should modify source files like that, hence why it is available as a kernel boot option.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum