LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB logitech mouse freezes randomly (previous threads' solutions do not work) (https://www.linuxquestions.org/questions/linux-hardware-18/usb-logitech-mouse-freezes-randomly-previous-threads-solutions-do-not-work-237360/)

aixarat 09-30-2004 11:43 PM

USB logitech mouse freezes (previous threads' solutions do not work) -New twist
 
This may seem like something that has already been covered in the forums, but the solutions suggested in previous threads have not worked for me. Let me explain.

I have a HP Athlon laptop, only USB input ports (plus parallel and VGA). It has its touchpad pointing device, but I use a USB Logitech Optical Mouse instead. I run Mandrake 10 on KDE, but I tried under Gnome and had the same problem.

The touchpad works perfectly (or at least I have not used it as much as to see it crash). After the installation, the USB mouse seemed to work fine, wheel and everything. However, a week after the install it began to freeze randomly. Sometimes after an hour of work, sometimes after 20 seconds. If i disconnect and reconnect the mouse, it works again. When it is frozen, it has light and everything, it just does not work.

What I have seen in the forums so far indicate that it is a problem in the XF86Config-4 file in /etc/X11. I have changed that file, testing each suggestion I find, but althoug I have been able to reduce the freezing frequency, it still freezes randomly. My present X11 config file in the InputDevice part has the following:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "AlwaysCore" "true"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

And a little bit further under that...

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "AlwaysCore"
Screen "screen1"
EndSection

I have tried the first Option on InputDevice of Mouse 2 as "SendCoreEvents". The configuration I have now seems to be the one with the lowest freezing frequency, but it still does not prevent the mouse from freezing.

All suggestions are welcome.

Added after original posting:
NOTE 1: A new twist: just for the hell of it I've added a second identical mouse though a USB hub. What is happening is that, when one of the mice freezes (both do, equally at random) the other one keeps woking, and -this is interesting- the one that originale froze gets reactivated.(10/1/04)
NOTE 2: Although I have been working with 2 mice for the last couple of weeks, the question remains... is there any way to solve this problem? Help is appreciated. (10/10/04)

kvedaa 10-16-2004 10:32 PM

This might seem like an odd question, but when the mouse(mice) freeze on you, does the optical light go out on the mouse? My work laptop (a Dell Latitude) that is set up for dual boot between Fedora Core and XP Pro continues to give me a hard time with mice in the top ot the two USB ports, I simply lose power from time to time, effectivly freezing my mouse. Sometimes it fixs it self, but mostly I must either move the other USB port or make due with my touchpad.

If the optiacal light is still lit when the problem occurs you may have a chance at resolving the problem through config changes, if the light is not lit, then it likely will not matter what your conguration settings are.

Good Luck

aixarat 10-17-2004 05:54 AM

Actually, it does keep lit. It just does not seem to work.

I've been using two mice simultaneously, and what happens is that every now and then I have to "push" the secondary mouse in order to "de-jam" the primary one. Of course, the terms ' primary' and ' secondary' are completely arbitrary, it depends on which one is closer to my hand. Also, if my USB printer is turned on (it is attached to the same USB hub), the freezing frequency is drastically reduced.

sxm.rulez 10-30-2004 04:24 AM

Ciao!
I have exactly the same problem with my gentoo (kernel 2.6.9).
Have you found any solution?

aixarat 10-31-2004 01:57 AM

Well... kind of. For example, if I think I may have to print, I keep the printer on as long as possible, and that supresses the freezing. Also, I have been working with two mice. If eihter mouse freezes, I just "push" the other one and I can continue.It is not an elegant solution, but I can get the work done.

Getting my not-so-new laptop ready for dual boot implied an investment (new hard drive, I had to pay for my wireless card linux driver, a cooling pad cause now it gets much hotter, etc) and buying an additional mouse was the least expensive route for me to work in linux.

Hope you can solve it without much expense. If you find any real solution, please, let me know.

sxm.rulez 10-31-2004 04:33 AM

:cry:
....And I'll go on running gnomemeeting with usb webcam to keep my mouse alive....
My mouse works very well with 2.6.5 kernel with no freeze....If you want you can downgrade your kernel, I don't know what you may lose in this way.... but the mouse will work!

sxm.rulez 10-31-2004 03:00 PM

try installing libusb, it seems to help... let me know if it helps you too...

I was wrong, it doesn't help...

DWarsch 11-01-2004 06:25 AM

I had exactly the same problem with Debian and Kernel 2.6.9. My mouse froze after 0.5 to 20 seconds.
Problem got solved when i compiled my ohci_hcd driver as module and modprobed a few seconds after boot finished. USB debug/verbose were included into kernel too.

My mouse is now working since 20 minutes...

post if this helps!
good luck.

sxm.rulez 11-04-2004 04:07 AM

no..... it still freezes....

aixarat 11-05-2004 01:43 AM

I have not tried the kernel compilation suggestion yet. I started gathering all necessary elements, info first. My kernel is 2.6.0, so in my case should be an upgrade. However, after last post, I'll wait to install Mandrake 10.1 and see what happens. I'll do this in the next couple of weeks. I'll post the results.

garymd 11-14-2004 01:33 AM

Sory to say, but I am using MDK 10.1 and have a similar problem with logitech wireless USB mouse. It initially worked fine, i.e. fo rseveral days and now either freezes on boot up while moounting usb or freezes laterf I boot without it and try to add it later.

garymd 11-14-2004 01:02 PM

I am not sure how helpful this will be, but...as I said above I have MDK 10.1 installed (it is on a dual boot on Fujitsu 2120 Lifebook) and I am using a logitech wireless usb mouse. I tried editing the XF86Config file and crashed things a little bit when I added a second mouse. I managed to return it to previous configuration and rebooted OK but still had mouse freezing problem (of course). So then I went back and changed from "mouse" to "usbmouse" as shown below. It may not work long but so far so good. Take it with a grain of salt I am a pretty ignorant newbie.

My Original XF86Config

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

new XF86Config:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Hope this is helpful

blockme 11-14-2004 01:25 PM

I got a similar problem once. my solution was to remove one of the mouse entries so only the entry for ONE mouse was left. everything worked fine then.

aixarat 11-14-2004 05:11 PM

Question for Garymd: I noticed that the only difference between your config and mine was the "Always Core" line. Before I try your configuration, would you please tell me what did you put for that device in your "Server Layout" section?

Question for Blockme: I tried your solution, but my X windows server did not start. I had to return to the two mice configuration. Any other thing that I should modify in order to have X windows working with only my USB mouse?

sxm.rulez 11-15-2004 10:30 AM

Solution for me?
 
it seems enabling acpi modules in kernel and load them solves the problem: i ve noticed mouse stoped often when fan starts.... Why? i don't know(IRQ managing?boh!!!)... but it seem to work please let me know if it works for you too...
i think it's the same problem of Alxarat and Dwarsch, i don't think will fix the others....


All times are GMT -5. The time now is 01:25 AM.