LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Optical mouse keeps freezing up, why? (https://www.linuxquestions.org/questions/mandriva-30/optical-mouse-keeps-freezing-up-why-278217/)

tomfrh 01-15-2005 05:37 PM

Optical mouse keeps freezing up, why?
 
Hi,

I am trying my hand at Linux and I installed Mandrake 10.1 on my machine. Unfortunately my Microsoft USB Optical mouse freezes up after a random amount of time. The keyboard still works however the mouse wont respond.

I am using KDE.

The mouse does not have issues under Windows.

Any hints?

Regards,
Tom

mhearne 02-07-2005 04:26 PM

ls -al /dev/mouse should show: mouse -> psaux
If it doesn't, cd to /dev and as root:
rm -f mouse
ln -s psaux mouse

And in /etc/X11/XF86Config:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2" # yours may differ
# Option "Device" "/dev/mouse" #ps2 - comment out
Option "Device" "/dev/usbmouse" #usb mouse - add
Option "ZAxisMapping" "6 7"
EndSection

Michael

macubergeek 03-03-2005 03:43 AM

Same Problem
 
Just curious if this problem was resolved. I have a brand new A7V8X-X mobo that is doing this exact problem with mandrake 10.1. Just out of curiosity, i installed Suse Personal 9.1 and it worked great. I'm going to take a look at the suggestion to try and see if this works, but i've heard rumblings that this is a problem with mandrake and the VIA chipset on my mobo. Anyone care to comment? thx

opjose 03-03-2005 06:46 AM

mhearne's solution WOULD work great if the mouse was a PS/2 type one.

In the poster's case it's a USB one.

The "freezing" is probably caused by probes for USB devices.

You may need to alias off USB modules (such as the uhci, etc.) which may be interfering with the mouse.

Also kernel parameters may play a part as well...

macubergeek 03-03-2005 06:50 AM

no success
 
Checked the config, and my settings matched the configuration you supplied. i have tried switching from APIC to PIC in the bios to no luck. Unfortunately, i have a usb keyboard as well, so when it locks up, it takes the keyboard out as well. All the devices work perfectly well under Win2k and on my mac, so i know the devices are good. When the keyboard and mouse lock up, the system is still functioning (screensaver kicks in, windows still pop open...) and i can ssh into it and go to init 6 to restart.

This is really bumming me out, as i've been a long fan of Mandrake (user since mandrake 6.0) If anyone has a suggestion, i'd love some assistance.

opjose 03-03-2005 07:12 AM

Eh, if you have a USB mouse then the above will not work for you.

Try running mouseconfig and setting up the mouse again but specifying the correct interface.

macubergeek 03-03-2005 07:38 AM

syslog errors
 
After i tweaked it i reran mousconfig, I checked my syslog and found the following error right after the mouse and keyboard locked up:

Mar 2 23:22:51 localhost drakconf.real[5719]: ### Program is starting ###
Mar 2 23:22:56 localhost kernel: usb 2-1.2: control timeout on ep0in
Mar 2 23:23:01 localhost kernel: usb 2-1.3: control timeout on ep0in
Mar 2 23:23:17 localhost last message repeated 3 times
Mar 2 23:23:22 localhost kernel: usb 2-1.1: control timeout on ep0in

But i have no idea what this means. Any thoughts?

macubergeek 03-03-2005 07:43 AM

mouseconfig error
 
Also, when i run mouseconfig from a terminal window instead of running it thru mandrake control center, i get the following errors:

FATAL: module hid not found
FATAL: module hid not found
FATAL: module mousedev not found
FATAL: module mousedev not found


I get no error when i run from MCC

opjose 03-03-2005 07:48 AM

Do you have any other devices plugged into the USB ports?

macubergeek 03-03-2005 07:52 AM

mouseconfig
 
Mousconfig does alter my XF86Config file, it changes the settings to:

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

macubergeek 03-03-2005 07:54 AM

Yes, i do have one device, A Belkin KVM switch, which is how my keyboard and mouse are routed to the computer. I don't think it's the cause, because this system was doing it before i even bought the kvm switch, and on a completely fresh install of M10.1

opjose 03-03-2005 08:18 AM

Humor me.

Remove the Belkin, and start your system from a COLD start.

Then check the logs and it's performance again.

macubergeek 03-03-2005 08:41 AM

I just got it to lock up with the mouse directly in the usb port, a ps/2 keyboard and no kvm. I'm rebooting to check the logs and see what they say.

Ok, rebooted and have the logfile, but it looks the same as before. Just remember that this same setup worked flawlessly when i tried suse personal 9.1 earlier this week. The only thing i've done to this system to try to make this work, is install the nvidia driver for my video card.

Mar 3 00:31:03 localhost kernel: VFS: Mounted root (ext2 filesystem).
Mar 3 00:31:03 localhost kernel: usbcore: registered new driver usbfs
Mar 3 00:31:03 localhost kernel: usbcore: registered new driver hub
Mar 3 00:31:03 localhost kernel: USB Universal Host Controller Interface driver v2.2
Mar 3 00:31:03 localhost kernel: PCI: Found IRQ 3 for device 0000:00:10.0
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.0, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.1, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.2, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.3, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.0: irq 5, io base 0000d800
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
Mar 3 00:31:03 localhost kernel: hub 1-0:1.0: USB hub found
Mar 3 00:31:03 localhost kernel: hub 1-0:1.0: 2 ports detected
Mar 3 00:31:03 localhost kernel: PCI: Found IRQ 3 for device 0000:00:10.1
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.0, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.1, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.2, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.3, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.1: irq 5, io base 0000d400
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
Mar 3 00:31:03 localhost kernel: hub 2-0:1.0: USB hub found
Mar 3 00:31:03 localhost kernel: hub 2-0:1.0: 2 ports detected
Mar 3 00:31:03 localhost kernel: PCI: Found IRQ 3 for device 0000:00:10.2
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.0, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.1, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.2, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.3, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.2: irq 5, io base 0000d000
Mar 3 00:31:03 localhost kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
Mar 3 00:31:03 localhost kernel: hub 3-0:1.0: USB hub found
Mar 3 00:31:03 localhost kernel: hub 3-0:1.0: 2 ports detected
Mar 3 00:31:03 localhost kernel: PCI: Found IRQ 3 for device 0000:00:10.3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.0, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.1, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.2, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: IRQ routing conflict for 0000:00:10.3, have irq 5, want irq 3
Mar 3 00:31:03 localhost kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller
Mar 3 00:31:03 localhost kernel: ehci_hcd 0000:00:10.3: irq 5, pci mem e09e5000
Mar 3 00:31:03 localhost kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
Mar 3 00:31:03 localhost kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
Mar 3 00:31:03 localhost kernel: hub 4-0:1.0: USB hub found
Mar 3 00:31:03 localhost kernel: hub 4-0:1.0: 6 ports detected
Mar 3 00:31:03 localhost kernel: usbcore: registered new driver hiddev
Mar 3 00:31:03 localhost kernel: usbcore: registered new driver usbhid
Mar 3 00:31:03 localhost kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Mar 3 00:31:03 localhost kernel: ReiserFS: hda1: found reiserfs format "3.6" with standard journal


Mar 3 00:31:03 localhost kernel: usb 1-1: new low speed USB device using address 2
Mar 3 00:31:03 localhost kernel: input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:10.0-1

Mar 3 00:31:03 localhost kernel: usbcore: registered new driver usbmouse
Mar 3 00:31:03 localhost kernel: drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver

Mar 3 00:30:53 localhost service_harddrake[2516]: ### Program is starting ###
Mar 3 00:30:55 localhost service_harddrake[2516]: added MOUSE: Microsoft Corp.|IntelliMouse Optical
Mar 3 00:30:55 localhost service_harddrake[2516]: symlinked file input/mice to /dev/mouse
Mar 3 00:30:55 localhost service_harddrake[2516]: renamed file /etc/X11/XF86Config to /etc/X11/XF86Config.old
Mar 3 00:30:55 localhost service_harddrake[2516]: symlinked file XF86Config to /etc/X11/xorg.conf
Mar 3 00:30:55 localhost service_harddrake[2516]: created file /etc/sysconfig/harddrake2/previous_hw
Mar 3 00:30:55 localhost harddrake: succeeded
Mar 3 00:30:55 localhost network: Setting network parameters: succeeded

Mar 3 00:32:40 localhost drakconf.real[5382]: ### Program is starting ###
Mar 3 00:32:49 localhost drakconf.real[5407]: ### Program is starting ###
Mar 3 00:32:55 localhost kernel: usb 1-1: control timeout on ep0in
Mar 3 00:33:26 localhost last message repeated 6 times
Mar 3 00:34:27 localhost last message repeated 12 times

opjose 03-03-2005 10:39 AM

Usually the error you are getting about ep0in is the result of a conflict with another EXTERNAL USB device.

As you have removed the external devices, but still get the same thing it's something else.

What is troubling is the error you are getting about IRQ5 want 3

How is the PNPOS setting of your bios set?

Have you allocated any resources manually via the bios?

macubergeek 03-03-2005 06:51 PM

My bios is set to PNP OS Disabled
No resources manually allocated in bios


All times are GMT -5. The time now is 07:20 AM.