mouse randomly freezes. opensuse 11.3

Not sure what’s going on. I’ve had this happen with 2 different mice on 2 completely different systems. USB keyboard works fine, and I have to resort to keyboard use to reboot the system, at which point the mouse works fine again for a little while, and then again randomly freezes. Still lit up, but won’t do anything. Won’t click, won’t move, won’t scroll. Plugging it into a different USB port doesn’t make any difference.

It seems to do it if the system has been sitting idle for a few minutes. It will work for a moment after resuming use, and then freeze. Not even after necessarily locking the screen or having the system actually sleep, just if I leave it for a few moments and then come back. A few minutes ago, I booted it up, and it sat on the login screen for several minutes before I got back to it. I logged in, and clicked on firefox, and the mouse froze. I rebooted. I logged in, and opened firefox and surfed fine for a few minutes. Left to get a drink. Came back, moved the mouse, it froze.

As mentioned, when it does this, the keyboard still works. However, shutting down via the shut down command freezes after the system appears to have started shutting down (ie: gui exited, stuff unloaded, goes to blank screen, then hangs without powering down - while still showing a lot of hard drive activity)

This has happened both on a desktop with a usb mouse plugged in, and a laptop with either a usb mouse or the alps touchpad (which according to device manager in windows uses a usb interface)

I’ve even tried two different models of logitech optical scroll mouse, and same issue with either, and again with the touchpad as well.

This is in openSuse 11.3. Did it during install and after install. default install from dvd. all recommended patches applied. added window managers Gnome and LXDE to the available options.

Also, once this happens, the system does not log out properly. I can select log off or restart or shut down from the menu using the keyboard, and it starts to, but then hangs and doesn’t complete the shut down. I have to manually power-down and restart. This is with KDE as the window manager, or Gnome. I had Gnome on the laptop, and KDE on the desktop. I’m going to try one of the lightweight ones to see if that makes a difference.

Any ideas? Does it matter that I installed the 32bit version before I realized the processor shows in the bios as a 64bit? Should I reinstall with the 64bit version?

Does the power-saving method matter to Suse? I have it as S1 for faster resume.

Broadcom nic, Nvidea geforce graphics, amd sempron 3400+, 1gb ddr2 533mhz sdram, Sony SATA cdrw/dvdrom drive, wd SATA 80gb hard disk. Using grub bootloader from the 70gb extended partition. (dell diagnostics partitions are on the primary partition)

This is SOOOO weird, as everything was autodetected and set up perfectly, it seemed. Everything worked, sound, nic, usb ports, etc. I’m sooo confused. I know it’s not the mice, as they are known good mice from working systems.

I don’t have the specific models of the above hardware, they’re at home, so I’ll update when I get home with more info, but in the meantime, any suggestions are greatly appreciated!

At one time, that happened to me. Adding “nolapic” to the boot line (just after the “root=xxx” part) solved the problem.

I have no idea whether your problem is the same.

The computer where this happens is a Dell with an AMD processor. I also have a Dell with an Intell processor, and that did not give me the same problem.

Ok, umm. Dumb linux newbie here. :slight_smile: Where do I add that, precisely? And yes, this is a Dell with an AMD processor. Thanks for your quick response!

YaST’s Bootloader. Select the entry that you normally boot up with and edit it. You need to add to the … uhmmm … ‘Optional Kernel Command line parameters’.

Thank you! I will try that and report back my results.

Do you think I should go ahead and install the 64bit version? Or does it make much of a difference? Can I install as an upgrade or do I have to start over since I’ve already patched the 32bit version with updates?

I opted to do a clean install of the 64bit version, and in the install options on the bootloader, I edited it, and in the optional parameters section it already had a lot of stuff there, so I added it at the very end. I just typed nolapic at the very end of the optional parameters. Is that right?

On 03/01/2011 08:36 AM, grayceworks wrote:
>
> I just typed nolapic at the very end of the optional parameters. Is
> that right?

yes


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Ok, thank you! I’m still waiting for the install to complete. It’s downloading updates now.

While I’m waiting for that…

Do you think I should install the below nvidia drivers or just use the ones suse auto-installs?

nVidia Driver via Repo in 11.3 - Guide

Also, I read somewhere that I should disable USB autosuspend, and also regarding the acpi settings possibly causing this type of freezing, that I should add clocksource=jiffies to the kernel line in the GRUB menu so those will be my next ideas to try if this doesn’t fix it. :slight_smile:

On 03/01/2011 10:06 AM, grayceworks wrote:
>
> my next ideas to try if this doesn’t fix it. :slight_smile:

move slowly and deliberately…
don’t just try everything you can think of…
you can EASILY try so many different things that it is impossible to
know what worked, or what just made it better, OR what completely
killed the whole system!!

let it finish installing and SEE if the problem returns…if it does
THEN ask…

but, my first guess after the apic change would be to have a good look
here: http://en.opensuse.org/SDB:Configuring_graphics_cards
(which is newer that the cite you gave–read BOTH top to bottom BEFORE
beginning to flip any switches…

oh, and if the apic trick didn’t fix it, then TAKE that ‘fix’ out, and
reboot…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Excellent advice. :slight_smile:

It’s done installing now, and so far no freezes with the LXDE window manager only, and not installing KDE or Gnome at all. Realizing that due to this, it didn’t install some software like firefox or openoffice.org. So I"ll install those next, and continue testing for freezing issues. Hopefully it’s fixed. If not, I’ll do as you suggest and only try one thing at a time until I find the right answer. Thanks again!

On 03/01/2011 11:06 AM, grayceworks wrote:
>
> I’ll do as you suggest and only try one
> thing at a time until I find the right answer.

welcome…(i just had to say something because so many folks come
here, have a little problem and by the time they come and ask for help
they have tried dozens of fixes (usually based on guessing what
might have helped in another distro or system) and, their system is
so messed up i couldn’t fix it (not just me, many many here) if
sitting AT the keyboard, instead of half a world away!!

[then some will run away screaming how terribly difficult and
impossible that “Linux s#@¤” is. . .]


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Nah, not me. I’ve been using Suse since version 8.something. Just never had this freezing up issue before. And the update to the 64bit version and adding the nolapic only marginally helped. It was up for a few hours before the mouse froze. And it’s not precisely a freezing issue, it’s more like that usb port is being turned off or something. Because theoretically, I should be able to plug something in to the usb port and have it detected, right? The keyboard is functional at the moment, and the system is not frozen, as updates are downloading and installing. But I just went to move the mouse and it is non-functional. I can tab around with the keyboard, just not use the mouse. I tried unplugging the mouse and plugging it back in, and it won’t light up at all, no matter what port. (although I did not try the one the keyboard is plugged into, as I don’t want to lose the ability to use the keyboard while I’m installing updates)

so I think the next thing I will try is disabling the usb ports being turned off. what do you think?

On 03/01/2011 02:36 PM, grayceworks wrote:
>
> Nah, not me. I’ve been using Suse since version 8.something.

make up your mind on that…so far you have self proclaimed: “Dumb
linux newbie” and user since v 8.x

> And it’s not precisely a freezing issue, it’s
> more like that usb port is being turned off or something.

ok, i scanned the thread again and see you have tried multiple mice on
more than one machine…so, you need to concentrate on ONE mouse on
ONE machine for a while…ok?

you say: “I know it’s not the mice, as they are known good mice
from working systems.”

but, not so fast: i say that because on that one machine to
concentrate on you need to check the BIOS for power saving
options…like some laptops have VERY aggressive power savings
features…i don’t know, but i guess some may power down the USB if
it has not been used for x minutes…and, good old Redmond Special
could have keys to tell the mouse driver to crank it up again…but,
the free and open source driver may have no such capability (guess why?)

and, in THAT case the mouse can be “known good” on a Redmond system
and fall asleep and never recover on a non-Redmond system

AND, you probably need to check (and, maybe wiggle some) the power
savings set up in your Linux system…i don’t think there are any ways
to save USB power, but i’ve sure not looked at many laptop power
savings settings…

> Because
> theoretically, I should be able to plug something in to the usb port and
> have it detected, right?

usually.

> The keyboard is functional at the moment, and
> the system is not frozen, as updates are downloading and installing. But
> I just went to move the mouse and it is non-functional. I can tab around
> with the keyboard, just not use the mouse. I tried unplugging the mouse
> and plugging it back in, and it won’t light up at all, no matter what
> port.

if the light won’t come on when plugged into any port, that sure
sounds like it might be as simple as an intermittent electrical short
in the wire…

try wiggling the wire some…

> so I think the next thing I will try is disabling the usb ports being
> turned off. what do you think?

i don’t know…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Well, yes, I have used suse on my laptop since version 8, before it was opensuse. I learned enough to configure any additional drivers, set up a media player, and set up filesharing. lol

I didn’t learn ALL the ins and outs of linux, just enough to let me use my laptop and do my work, and do periodic upgrades. and while I have no problem following instructions to type stuff in the command line or run files, I really do consider myself a dumb newbie when it comes to linux, because I have to spend days researching stuff that most people who use the OS as much as I do should already know.

I actuallly never had a problem until I upgraded this last time. I was running 10.2 before, and at one point, I went 9 months without even needing a reboot. Probably would have been longer, but we had a power failure in the building and my battery finally went out. heh.

So yeah, I have no idea about troubleshooting this, beyond trying to diagnose by symptom. And same mouse was working fine on prior versions of suse. so I don’t think it would be linux vs windoze way of handling it. Already tried wiggling the wires etc. I used it for over an hour last time, before it froze, and then the next time, it froze in seconds, and then it let me work for 30 min, and then again, within 2 min, so this is getting weird.

It’s better since I added acpi = force irqpoll and I never enable power management on any of my computers actually. I find it annoying considering how often I am actually using them. I did go in and double-check bios settings to be sure. As well as checking everywhere I could think of in yast and other system settings.

I can’t get the bash script thingy to work to disable the usb autosuspend, it gives me an error. Here is what I wanted to try:
Keyboard & mouse freezes

Also, I did a hardware check while the mouse was working, and it shows up as a logitech usb optical mouse. I did a hardware check when it was not working and it did not show any mouse.

I don’t know what to try next. :frowning:

It’s also interesting that when the mouse is working, I can do a restart or shutdown, and it works. When the mouse has stopped working, it will neither halt, shut down, or restart the system. It gets partway thru and hangs. I have to force it to turn off with the power button for 5sec.

Apparently it’s a known but with this particular computer system:

https://bugs.launchpad.net/linux/+bug/67734

Wish i’d found this sooner! lol

On 03/01/2011 05:36 PM, grayceworks wrote:
> Also, I did a hardware check while the mouse was working, and it shows
> up as a logitech usb optical mouse. I did a hardware check when it was
> not working and it did not show any mouse.
>
> I don’t know what to try next. :frowning:

me either…probably a new laptop and/or mouse. (i think one of the
two (or both) are deciding to go to sleep, and not wake up)


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

On 03/01/2011 06:06 PM, grayceworks wrote:
>
> Wish i’d found this sooner! lol

ok…hardware/BIOS problem…
check and make sure you have the latest BIOS…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Yes!!! Finally! Mouse works, no freezing, and I can use any window manager. Gnome, KDE, whatever. :slight_smile: Upgraded to 1.1.4 from Dell’s website, and booted from a bootable dos flashdrive to do the update, since the linux version that Dell had was not compatible with Suse, and the windows version wouldn’t run in wine.

Thanks for all your help with the troubleshooting! :slight_smile:

I’m going to sleep now. lol

On 03/01/2011 11:36 PM, grayceworks wrote:

> Thanks for all your help with the troubleshooting! :slight_smile:
>
> I’m going to sleep now. lol

welcome, enjoy the snooze!!!


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11