buggy mouse
i have a 2 button mouse with a middle scroller....and its a usb connected mouse....
it behaves weirdly on my fresh install of slackware 14.1.... after a duration of time it fails to respond and then i have to go to a virtual console and get back to my X window to get it working again..... to be specific the right click button doesnt work after sometime and i have to switch to a virtual console and come back to my X window to get my mouse working again... weird issue but hoping help is around.... do i need to reconfigure it? |
Hi...
Not sure I can help with this but just to confirm, can this issue be duplicated using another mouse? Regards... |
i have inserted another mouse...this time a logitech mouse now but same issues....and in my terminal lots of text is selected automatically....or my window gets selected and if i move the mouse around the window keeps moving over the screen.....
output of lssusb: Code:
bash-4.2$ lsusb | grep Mouse |
What mouse driver did you select when you installed Slackware? For the longest time, I used the PS2 version, which is limited vs the imps2 driver.
Also, have you tried multiple USB ports? |
well, i strictly dont remember which driver i selected....think it was usb this time round....
and i have switched the usb ports now... |
still no luck after changing my usb port....my mouse right click button stops working after sometime and i need to switch to a virtual console and back to get it working again....
|
Run "dmesg" as root once the mouse stops working, and see if anything relevant is logged.
I used to get this sometimes when going through a KVM switch. |
dmesg
Code:
mce: [Hardware Error]: Machine check events logged |
Maybe check lsmod to find out which module it's currently using.
Does it happen on huge kernel or generic? I'm using evdev driver for both mouse and keyboard, haven't seen this problem yet. |
Quote:
Code:
echo 'on' > "/sys/bus/usb/devices/2-*/power/control"; |
Quote:
Slackware has the "mcelog" utility which can decode MCEs (Machine Check Events), but even though there's an executable rc script, Slackware doesn't seem to run it at startup. Run it manually and see if mcelog can decode the next one: Code:
sh /etc/rc.d/rc.mcelog start Finally, have a read of the mcelog man page ("man mcelog") for more details. Good luck! Marc |
@BradReed:
from powertop tunables section i got the following: Code:
Good Bluetooth device interface status |
so i went through the documentation on powertop and changed Good to Bad for the usb listings...but still the issue persists....
now, when i check dmesg i get this output: Code:
[70970.469987] hub 2-1:1.0: port 2 disabled by hub (EMI?), re-enabling... |
What does lsusb show?
Mine shows my mouse as: $ lsusb Bus 001 Device 003: ID 187c:0515 Alienware Corporation Note the number after Bus ignoring leading zeroes and replace $BUS with it in the following: echo 'on' > "/sys/bus/usb/devices/usb$BUS/power/control"; or echo 'on' > "/sys/bus/usb/devices/$BUS-*/power/control"; Does either turn your mouse back on? |
Quote:
|
Quote:
try getting more info on that error, as MarcT explained |
its not just my usb mouse or usb keyboard that gets stuck but my laptop keys dont work as well...but the mouse scroll works perfectly still....nothing else works then...and i have to switch to a virtual console and back to get them working again.....
i would like to add that i start in console mode and only startx later... now here is the weird part....i am typing small case with my caps lock on my usb keyboard after switching back from console....this machine is driving me nuts now... do help.... |
i have not overclocked from my end....and from powertop its the "ondemand " configuration
|
Quote:
|
I would suggest either removing powertop, or setting all the tunables in powertop to BAD. Or at least all the USB-related tunables.
|
i know this is a pretty old thread but i want to update what i had done so long......
i did a fresh install of slackware.... still the issue persists....later i found that my laptop touchpad mouse was the one causing the issue as it was sending events for right click in frequent intervals so i just turned it off and switched to a new usb mouse and i am feeling alright for a couple of days now.... |
All times are GMT -5. The time now is 01:29 AM. |