Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My mouse pointer is crazy!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Fri Jan 28, 2005 6:08 pm    Post subject: My mouse pointer is crazy! Reply with quote

I dont know what could be causing this, but ever since I completed a set of 199 config updates, my mouse has been going crazy. At random, it will just fly to the top-right corner of the screen. This is usually triggered by media, such as if a sound is made when receiving an Instant Message, or when watching video's etc. It also seems to happen a lot when i'm viewing a Flash webpage. Sometimes it goes even more crazy, and thinks i've clicked things, or changes to a new desktop enviroment. Also, sometimes when it does it, I cant get the pointer back, and i'll have to hold down ctrl, or even press ctrl+tab, and move to a different program. Sometimes it'll do it randomly, when there is no media running or anything. I can just be viewing a page on FireFox and it'll do it.

Anyone know what this might be, and how it can be fixed?

If it has any significance, my mouse is a Logitech, optical, wheel mouse. Nothing especially fancy.
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
stenius
n00b
n00b


Joined: 26 Jan 2005
Posts: 42
Location: .us

PostPosted: Fri Jan 28, 2005 6:14 pm    Post subject: Reply with quote

that has happend to me too, i havent had a chance to figure out when it happens yet, it seems to have stopped after changing parts of my xorg.conf file, i couldnt tell you what because i have changed almost all of it
Back to top
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Fri Jan 28, 2005 6:14 pm    Post subject: Reply with quote

Which model Logitech? Mine is a cordless USB MX700:

xorg.conf:

Code:
Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons"    "7"
    Option "ZAxisMapping" "6 7"

    Option "Resolution" "100"
#    Option "Protocol"  "Xqueue"

#    Option "BaudRate"  "9600"
    Option "SampleRate" "800"

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

#    Option "ChordMiddle"

EndSection


If that doesn't help, could you post yours?

Also, if I recall a few years back having a problem with my mouse in X when gpm was configured incorrectly... don't know if that still happens or not... but you could disable it if you're running it to see.


Last edited by lookinin on Fri Jan 28, 2005 6:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Fri Jan 28, 2005 6:17 pm    Post subject: Reply with quote

my guess is some sort of irq conflict between your sound and your usb hub
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Fri Jan 28, 2005 6:22 pm    Post subject: Reply with quote

Mine is the "Logitech S96 PS/2 Optical Wheel Mouse".

This is my xorg.conf file :

Code:
# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "auto"

# Comment mouse device changed by NeddySeagoon
#    Option "Device" "/dev/mouse"
# Protocol Auto is worth a shot.

# Comment by NeddySeagoon
#  /dev/input/mice needs USB and USB HID or it won't exist.
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
     Option "Buttons" "5"


# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"        "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"  "9600"
#    Option "SampleRate"        "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


I posted the whole thing so there can be no misunderstandings.
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Fri Jan 28, 2005 6:36 pm    Post subject: Reply with quote

Only thing that worries me there is the "auto" for the protocol... could it be mistaking it? I can't find an example of xorg.conf with your mouse, so I'm not sure.

Did you try disabling gpm (if it's installed) or your soundcard (magnesium's suggestion)?
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Fri Jan 28, 2005 8:49 pm    Post subject: Reply with quote

My mouse is PS/2. It shouldnt be affected should it?
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
Slayta
n00b
n00b


Joined: 29 Oct 2003
Posts: 19
Location: Canada

PostPosted: Fri Jan 28, 2005 10:51 pm    Post subject: Reply with quote

hey im having the same problem. my mouse is an ms intelli explorer usb and ps/2 compatable.
_________________
HoaX Forever
[img:611ae5ef7c]http://www.gentoo.org/images/powered-by-gentoo.jpg[/img:611ae5ef7c]
[img:611ae5ef7c]http://www.team-hoax.com/linux/hoaxslayta.jpg[/img:611ae5ef7c]
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Fri Jan 28, 2005 10:55 pm    Post subject: Reply with quote

How long has yours been doing it? It's really annoying. It does seem to be triggered by sound. What soundcard have you got?
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
stenius
n00b
n00b


Joined: 26 Jan 2005
Posts: 42
Location: .us

PostPosted: Sat Jan 29, 2005 12:02 am    Post subject: Reply with quote

i have a soundblaster live, emu10k1, it was configured wrong when it was happing
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Sat Jan 29, 2005 3:17 pm    Post subject: Reply with quote

I just have onboard soundcard. nVidia nforce2.
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Sat Jan 29, 2005 3:37 pm    Post subject: Reply with quote

I still think that you have an IRQ conflict. When the system plays sound, it's using the same interrupt request for your mouse (sorry, it's PS/2 and not USB)

I can't for the life of me remember how do enumerate what IRQs are being used by what, but maybe someone smart here can?

ok, so lspci will enumerate your devices, and dmesg will enumerate what device is taking up what irq at kernel boot time, but it's not pretty. maybe try
Code:
dmesg | grep irq


Edit: fixed my note one what dmesg does. maybe posting of forums as soon as you roll out of bed is not a good idea :oops:
_________________
Adopt an unanswered post


Last edited by magnesium on Sat Jan 29, 2005 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Sat Jan 29, 2005 3:52 pm    Post subject: Reply with quote

Ok, here it is:
Code:
verted ~ # dmesg | grep irq
NFORCE2: not 100% native mode: will probe irqs later
ide1 at 0x170-0x177,0x376 on irq 15
SiI3112 Serial ATA: 100% native mode on irq 11
ide2 at 0xe0b03080-0xe0b03087,0xe0b0308a on irq 11


I dont really understand it:-\
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
stenius
n00b
n00b


Joined: 26 Jan 2005
Posts: 42
Location: .us

PostPosted: Sat Jan 29, 2005 4:19 pm    Post subject: Reply with quote

yeah my board is nforce2 but i dont have the onboard sound enabled
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Sat Jan 29, 2005 5:01 pm    Post subject: Reply with quote

ok, sorry about my previous post being so confusing. I've corrected it a bit.

after doing a bit of digging I found out you can enumerate what irq is being used by what through use of
Code:
cat /proc/interrupts
and this will take into account stuff you start up as a module after the kernel has loaded.

The problem is that i don''t see anything listed for PCI. :?
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Sat Jan 29, 2005 11:05 pm    Post subject: Reply with quote

Hmmm. This looks rather more interesting:

Code:
verted ~ # cat /proc/interrupts
           CPU0
  0:   14761479          XT-PIC  timer
  1:      12187          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:       3968          XT-PIC  NVidia nForce2
 11:    1754252          XT-PIC  ide2, eth0, nvidia
 12:     274841          XT-PIC  i8042
 15:         39          XT-PIC  ide1
NMI:          0
LOC:   14761601
ERR:      39740
MIS:          0


Thanks. Although I still dont know how it'll tell me how to fix this :P
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Sun Jan 30, 2005 9:15 pm    Post subject: Reply with quote

Is there anyone who has actually had this problem and fixed it?

I still havnt been able to figure anything out.
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
Slayta
n00b
n00b


Joined: 29 Oct 2003
Posts: 19
Location: Canada

PostPosted: Thu Feb 03, 2005 8:57 pm    Post subject: Reply with quote

can anyone fix this? its gettnig quite annoying. i hate restarting my system in the middle of somethin. please help.
_________________
HoaX Forever
[img:611ae5ef7c]http://www.gentoo.org/images/powered-by-gentoo.jpg[/img:611ae5ef7c]
[img:611ae5ef7c]http://www.team-hoax.com/linux/hoaxslayta.jpg[/img:611ae5ef7c]
Back to top
View user's profile Send private message
ttye0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 109

PostPosted: Tue Feb 08, 2005 9:10 pm    Post subject: Reply with quote

Proper protocol select for the mouse?
Is the hardware mouse option enabled?

-------------

Sorry, I didn't read the entire thread ;p


Last edited by ttye0 on Thu Feb 10, 2005 2:43 am; edited 1 time in total
Back to top
View user's profile Send private message
Verted
Guru
Guru


Joined: 09 Apr 2004
Posts: 480
Location: London, England

PostPosted: Tue Feb 08, 2005 11:05 pm    Post subject: Reply with quote

The hardware mouse option? I assume so. I mean, I can use my mouse. I dont actually think the problem is anything to do with the mouse or it's protocols or anything like that. I think it's something to do with sound, because the mouse goes crazy when an audio plays. Other than that it works fine.
_________________
Thanks,
-Verted
Back to top
View user's profile Send private message
patr547
n00b
n00b


Joined: 28 Jun 2004
Posts: 5

PostPosted: Wed Feb 23, 2005 4:05 am    Post subject: Reply with quote

i'm also having this problem, except it has a much more broad range of scenarios when it happens :)

pretty much any time that i'm watching a movie, listening to music, compiling something, or opening a program my mouse will jump all over the place, click on things, move things, open things, close things...well, i think you get the picture :) . this is especially annoying when i'm compiling something, because..well, sometimes compiling takes a while.

it's an optical ps/2 mouse and here's the mouse section of my xorg.conf:

Code:

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/mouse"

_________________
Pat
Back to top
View user's profile Send private message
Slayta
n00b
n00b


Joined: 29 Oct 2003
Posts: 19
Location: Canada

PostPosted: Wed Feb 23, 2005 7:35 pm    Post subject: Reply with quote

i replaced my mouse with a logitech ps/2 mouse and everything works fine. so im thinking it was my mouse being the problem. it was an old mouse so that may be the problem...hope this helps?
_________________
HoaX Forever
[img:611ae5ef7c]http://www.gentoo.org/images/powered-by-gentoo.jpg[/img:611ae5ef7c]
[img:611ae5ef7c]http://www.team-hoax.com/linux/hoaxslayta.jpg[/img:611ae5ef7c]
Back to top
View user's profile Send private message
grobister
n00b
n00b


Joined: 10 Aug 2003
Posts: 5
Location: Johannesburg, South Africa

PostPosted: Tue Mar 15, 2005 11:27 am    Post subject: Reply with quote

I am having the same problem on an old genius PS/2 mouse.

Code:

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping" "4 5"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"   "256"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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