LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   running debian 7.7 and have strange mouse issue (https://www.linuxquestions.org/questions/debian-26/running-debian-7-7-and-have-strange-mouse-issue-4175529593/)

WestCoastSunset 12-30-2014 03:55 PM

running debian 7.7 and have strange mouse issue
 
I have a lenovo t410 and everytime I run a terminal window and click inside the terminal, the mouse buttons stop working until I exit the terminal using the exit command or alt-f4. certain programs seem to behave this way as well, I think because they are just front ends for a terminal based program.

Any idea's how to fix this?

Head_on_a_Stick 12-31-2014 10:14 AM

What happens if you run:
Code:

xev
and click inside the window?

Is the mouse click recognised?

Which Desktop Environment/Window Manager are you using?

Which terminal emulator are you using?

John VV 12-31-2014 12:16 PM

what desktop is this?
odd things can happen if Gnome3 has to FALL BACK to the emergency gnomeshell because gnome3 can not run on the hardware


if so
install KDE
and use kde desktop

WestCoastSunset 01-02-2015 01:35 PM

As of this writing, I have tried ubuntu live on a thumb drive, Debian live xfce and debian live kde, and have reinstalled debian a couple of times on the laptop. It is dual boot and I have windows 7 installed as well. I have no mouse issues in Windows 7. The touchpad buttons do not work, but that is OK, I don't really use the touchpad (I think the buttons are replaceable)

In any event, in every installation I have tried thus far (EXCEPT FOR WINDOWS 7) the mouse buttons work initially, but soon stop working altogether. xev reports keyboard events, but does not report any mouse events once this happens.

Head_on_a_Stick 01-02-2015 02:10 PM

Does the problem occur if you don't use any terminal-based applications at all?

If you switch to another TTY & then back (<Ctrl>+<Alt>+F2 then <Ctrl>+<Alt>+F7), does that restore the buttons?

Anything in the logs:
Code:

grep EE /var/log/Xorg.0.log
EDIT: When the buttons stop working, run `dmesg|tail` in a terminal and see if there is anything salient there.

WestCoastSunset 01-02-2015 03:11 PM

Thanks, I didn't know where the logs were.

At first I thought it was just related to Gnome, which is why I installed debian xfce from the live cd (on a thumb drive) but when other distributions exhibited the same behavior, I began to think the problem is at a much lower level. There are many similar reports of mouse buttons not working, but the symptoms aren't always the same. Oddly enough, when I bring the laptop to work, the problem seems to be less. But I did experience it today. We will see what happens when I get home.

Strange. I started iceweasel, then had to do work related activity so I closed it (it's really slow today). then I opened it again and experience the problems with buttons not working. Your first suggestion of switching to another tty and back again did not work. But oddly, in the desktop where Iceweasel is started, the mouse buttons work.

Just started thunar and closed it and experienced the buttons not working. I'll post what dmesg is giving me.


Code:

[ 1446.344398] cfg80211: Calling CRDA to update world regulatory domain
[ 1446.350654] cfg80211: World regulatory domain updated:
[ 1446.350659] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1446.350664] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1446.350669] cfg80211:    (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1446.350673] cfg80211:    (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 1446.350677] cfg80211:    (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1446.350681] cfg80211:    (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1446.350685] cfg80211:    (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1446.350689] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 1446.350693] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 1446.772945] wlan0: authenticate with 64:a0:e7:91:01:3d (try 1)
[ 1446.971638] wlan0: authenticate with 64:a0:e7:91:01:3d (try 2)
[ 1446.976035] wlan0: authenticated
[ 1446.984059] wlan0: associate with 64:a0:e7:91:01:3d (try 1)
[ 1447.183544] wlan0: associate with 64:a0:e7:91:01:3d (try 2)
[ 1447.185276] wlan0: RX ReassocResp from 64:a0:e7:91:01:3d (capab=0x11 status=0 aid=1)
[ 1447.185281] wlan0: associated
[ 1447.193376] cfg80211: Calling CRDA for country: US
[ 1447.200023] cfg80211: Regulatory domain changed to country: US
[ 1447.200028] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1447.200034] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 1447.200038] cfg80211:    (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm)
[ 1447.200042] cfg80211:    (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
[ 1447.200046] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
[ 1447.200050] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 1480.509254] cfg80211: Calling CRDA to update world regulatory domain
[ 1480.515565] cfg80211: World regulatory domain updated:
[ 1480.515571] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1480.515576] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1480.515581] cfg80211:    (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1480.515585] cfg80211:    (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 1480.515589] cfg80211:    (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1480.515593] cfg80211:    (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1480.515597] cfg80211:    (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1480.515601] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 1480.515605] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 1480.908589] wlan0: authenticate with 64:a0:e7:90:f8:fd (try 1)
[ 1481.104808] wlan0: authenticate with 64:a0:e7:90:f8:fd (try 2)
[ 1481.105649] wlan0: authenticated
[ 1481.115425] wlan0: associate with 64:a0:e7:90:f8:fd (try 1)
[ 1481.312702] wlan0: associate with 64:a0:e7:90:f8:fd (try 2)
[ 1481.314516] wlan0: RX ReassocResp from 64:a0:e7:90:f8:fd (capab=0x11 status=0 aid=1)
[ 1481.314521] wlan0: associated
[ 1481.322962] cfg80211: Calling CRDA for country: US
[ 1481.329433] cfg80211: Regulatory domain changed to country: US
[ 1481.329438] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1481.329443] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 1481.329448] cfg80211:    (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm)
[ 1481.329452] cfg80211:    (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
[ 1481.329456] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
[ 1481.329460] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 1581.201910] wlan0: authenticate with 64:a0:e7:89:9d:1d (try 1)
[ 1581.401452] wlan0: authenticate with 64:a0:e7:89:9d:1d (try 2)
[ 1581.601336] wlan0: authenticate with 64:a0:e7:89:9d:1d (try 3)
[ 1581.801224] wlan0: authentication with 64:a0:e7:89:9d:1d timed out
[ 1582.925811] wlan0: deauthenticating from 64:a0:e7:90:f8:fd by local choice (reason=2)
[ 1582.932857] cfg80211: Calling CRDA to update world regulatory domain
[ 1582.937613] wlan0: authenticate with 64:a0:e7:91:01:32 (try 1)
[ 1582.939086] cfg80211: World regulatory domain updated:
[ 1582.939091] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1582.939097] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1582.939101] cfg80211:    (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1582.939105] cfg80211:    (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 1582.939110] cfg80211:    (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1582.939114] cfg80211:    (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1582.939118] cfg80211:    (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1582.939122] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 1582.939126] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 1583.136499] wlan0: authenticate with 64:a0:e7:91:01:32 (try 2)
[ 1583.336373] wlan0: authenticate with 64:a0:e7:91:01:32 (try 3)
[ 1583.536221] wlan0: authentication with 64:a0:e7:91:01:32 timed out
[ 1584.382303] wlan0: authenticate with 64:a0:e7:90:f8:fd (try 1)
[ 1584.383121] wlan0: authenticated
[ 1584.383534] wlan0: associate with 64:a0:e7:90:f8:fd (try 1)
[ 1584.385240] wlan0: RX ReassocResp from 64:a0:e7:90:f8:fd (capab=0x11 status=0 aid=1)
[ 1584.385248] wlan0: associated
[ 1584.391821] cfg80211: Calling CRDA for country: US
[ 1584.397999] cfg80211: Regulatory domain changed to country: US
[ 1584.398004] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1584.398010] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 1584.398014] cfg80211:    (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm)
[ 1584.398018] cfg80211:    (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
[ 1584.398022] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
[ 1584.398027] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 1703.582887] cfg80211: Calling CRDA to update world regulatory domain
[ 1703.588770] cfg80211: World regulatory domain updated:
[ 1703.588776] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1703.588782] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1703.588788] cfg80211:    (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1703.588793] cfg80211:    (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 1703.588799] cfg80211:    (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1703.588804] cfg80211:    (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1703.588811] cfg80211:    (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 1703.588817] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 1703.588822] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 1703.906013] wlan0: authenticate with 64:a0:e7:91:b8:0d (try 1)
[ 1704.105703] wlan0: authenticate with 64:a0:e7:91:b8:0d (try 2)
[ 1704.106430] wlan0: authenticated
[ 1704.114807] wlan0: waiting for beacon from 64:a0:e7:91:b8:0d
[ 1704.176297] wlan0: beacon received
[ 1704.176406] wlan0: associate with 64:a0:e7:91:b8:0d (try 1)
[ 1704.178324] wlan0: RX ReassocResp from 64:a0:e7:91:b8:0d (capab=0x11 status=0 aid=1)
[ 1704.178329] wlan0: associated
[ 1704.186316] cfg80211: Calling CRDA for country: US
[ 1704.192592] cfg80211: Regulatory domain changed to country: US
[ 1704.192597] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1704.192603] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 1704.192607] cfg80211:    (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm)
[ 1704.192611] cfg80211:    (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
[ 1704.192615] cfg80211:    (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
[ 1704.192619] cfg80211:    (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 1784.665400] wlan0: authenticate with 64:a0:e7:91:b8:02 (try 1)
[ 1784.669669] wlan0: authenticated
[ 1784.703825] wlan0: waiting for beacon from 64:a0:e7:91:b8:02
[ 1785.101140] wlan0: authenticate with 64:a0:e7:91:b8:0d (try 1)
[ 1785.102085] wlan0: authenticated
[ 1785.102505] wlan0: associate with 64:a0:e7:91:b8:0d (try 1)
[ 1785.104105] wlan0: RX ReassocResp from 64:a0:e7:91:b8:0d (capab=0x11 status=0 aid=1)
[ 1785.104111] wlan0: associated
[ 2007.934635] EXT4-fs error (device sda7): ext4_lookup:1047: inode #15990793: comm pool: deleted inode referenced: 15990984
[ 2014.564311] EXT4-fs error (device sda7): ext4_lookup:1047: inode #15990793: comm pool: deleted inode referenced: 15990984
[ 2042.977372] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 2313.706045] sdb: detected capacity change from 8004304896 to 0
[ 2315.690829] usb 2-1.2: USB disconnect, device number 4
[ 2346.766186] iwlwifi 0000:03:00.0: Tx aggregation enabled on ra = 64:a0:e7:91:b8:0d tid = 0


WestCoastSunset 01-03-2015 01:04 PM

xpapad.wordpress.com/2009/09/09/dealing-with-mouse-and-touchpad-freezes-in-linux/

This seems to help

Basically, you open up a terminal window and type the following two commands Needs root or sudo (in which case make sure the logged in user is in the sudoers file(-: ):

rmmod psmouse
modprobe psmouse

In my particular case, I have to keep the terminal window in a completely different window as the mouse problems affect the keyboard as well and <alt><tab> switching doesn't work. I hear a beep.

I will probably disable the touchpad as I never use it, I always have a wireless mouse. I also find that one of my fingers touches the touchpad and highlights all the previous text and the next keystroke deletes it. <ctrl> z restores it, but it is annoying.

WestCoastSunset 01-03-2015 10:58 PM

Just thought anyone who is reading this in the future might want to know that disabling the touchpad and the ibm mouse button fixed the issue. I use a wireless mouse.


All times are GMT -5. The time now is 01:37 PM.