LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-22-2017, 07:12 AM   #1
THX1138b
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Rep: Reputation: Disabled
Acer laptop trackpad toggle button makes mouse freeze until restart (Linux Mint and Lubuntu)


I have an old Acer Aspire 7535G laptop and it has a button next to the trackpad which toggles the trackpad on and off which is useful to be able to type without accidentally touching the trackpad and moving the cursor. I've installed Linux Mint 18.2 Cinammon 64-bit and tried a live Lubuntu 16.04.3 64-bit on this machine and when the mouse trackpad toggle button is activated, the mouse stops moving as expected; however when the button is pressed again, the mouse functionality does not resume until the machine is restarted. I tried to search for a solution to this but nothing I find relates to this problem. Could there maybe be a work-around to reactivate the mouse using a keyboard shortcut? Thanks for any advice.
 
Old 10-23-2017, 12:16 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
off the top of my head, i'd start investigating with
Code:
xev > xev.txt
enter that command in a terminal, then push the button once to deactivate and once to reactivate the touchpad, and look at the file xev.txt.
try not to move the mouse at all while you do it, otherwise there's going to be too much output.
maybe post it here so we can look at it together.
 
Old 10-23-2017, 07:04 AM   #3
THX1138b
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for responding! Here is the xev output. Incidentally, this same issue also occurs on an Acer Aspire 5738Z laptop.

Code:
Outer window is 0x1c00001, inner window is 0x1c00002

PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,
    atom 0x27 (WM_NAME), time 110885, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,
    atom 0x22 (WM_COMMAND), time 110885, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,
    atom 0x28 (WM_NORMAL_HINTS), time 110885, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x1c00001,
    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50
border_width 4, override NO

PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,
    atom 0x13b (WM_PROTOCOLS), time 110885, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x1c00001,
    event 0x1c00001, window 0x1c00002, override NO

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x180 (_NET_WM_VISIBLE_NAME), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x19d (_NET_WM_VISIBLE_ICON_NAME), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1b8 (_OB_APP_ROLE), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1ba (_OB_APP_NAME), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1bb (_OB_APP_CLASS), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1bc (_OB_APP_GROUP_NAME), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1bd (_OB_APP_GROUP_CLASS), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1b9 (_OB_APP_TITLE), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x1be (_OB_APP_TYPE), time 110886, state PropertyNewValue

PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,
    atom 0x144 (_NET_WM_ICON), time 110887, state PropertyNewValue

ReparentNotify event, serial 18, synthetic NO, window 0x1c00001,
    event 0x1c00001, window 0x1c00001, parent 0x1400394,
    (0,0), override NO

PropertyNotify event, serial 26, synthetic NO, window 0x1c00001,
    atom 0x149 (_NET_WM_STATE), time 110887, state PropertyNewValue

ConfigureNotify event, serial 26, synthetic NO, window 0x1c00001,
    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,
    border_width 0, above 0x14003e0, override NO

ConfigureNotify event, serial 26, synthetic NO, window 0x1c00001,
    event 0x1c00001, window 0x1c00001, (1,26), width 178, height 178,
    border_width 0, above 0x14003e0, override NO

PropertyNotify event, serial 26, synthetic NO, window 0x1c00001,
    atom 0x140 (_NET_FRAME_EXTENTS), time 110888, state PropertyNewValue

PropertyNotify event, serial 26, synthetic NO, window 0x1c00001,
    atom 0x1a1 (_KDE_NET_WM_FRAME_STRUT), time 110888, state PropertyNewValue

PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,
    atom 0x19f (_NET_WM_ALLOWED_ACTIONS), time 110888, state PropertyNewValue

ConfigureNotify event, serial 28, synthetic YES, window 0x1c00001,
    event 0x1c00001, window 0x1c00001, (50,60), width 178, height 178,
    border_width 2, above 0x0, override NO

PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,
    atom 0x143 (_NET_WM_DESKTOP), time 110888, state PropertyNewValue

MapNotify event, serial 43, synthetic NO, window 0x1c00001,
    event 0x1c00001, window 0x1c00001, override NO

VisibilityNotify event, serial 43, synthetic NO, window 0x1c00001,
    state VisibilityUnobscured

Expose event, serial 43, synthetic NO, window 0x1c00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 43, synthetic NO, window 0x1c00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 43, synthetic NO, window 0x1c00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 43, synthetic NO, window 0x1c00001,
    (0,68), width 178, height 110, count 0

PropertyNotify event, serial 43, synthetic NO, window 0x1c00001,
    atom 0x16e (WM_STATE), time 110898, state PropertyNewValue

FocusIn event, serial 44, synthetic NO, window 0x1c00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 44, synthetic NO, window 0x0,
    keys:  68  0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

PropertyNotify event, serial 44, synthetic NO, window 0x1c00001,
    atom 0x19e (_NET_WM_ICON_GEOMETRY), time 110904, state PropertyNewValue

PropertyNotify event, serial 45, synthetic NO, window 0x1c00001,
    atom 0x19e (_NET_WM_ICON_GEOMETRY), time 110922, state PropertyNewValue

PropertyNotify event, serial 45, synthetic NO, window 0x1c00001,
    atom 0x19e (_NET_WM_ICON_GEOMETRY), time 110926, state PropertyNewValue

KeyRelease event, serial 45, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 110945, (214,441), root:(266,503),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    XLookupString gives 1 bytes: (0d) "
"
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 113146, (214,441), root:(266,503),
    state 0x0, keycode 201 (keysym 0x1008ffb1, XF86TouchpadOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 113154, (214,441), root:(266,503),
    state 0x0, keycode 201 (keysym 0x1008ffb1, XF86TouchpadOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 114395, (214,441), root:(266,503),
    state 0x0, keycode 200 (keysym 0x1008ffb0, XF86TouchpadOn), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 114401, (214,441), root:(266,503),
    state 0x0, keycode 200 (keysym 0x1008ffb0, XF86TouchpadOn), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 117472, (214,441), root:(266,503),
    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
    XLookupString gives 1 bytes: (1b) ""
    XmbLookupString gives 1 bytes: (1b) ""
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 117588, (214,441), root:(266,503),
    state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
    XLookupString gives 1 bytes: (1b) ""
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 119945, (214,441), root:(266,503),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 48, synthetic NO, window 0x1c00001,
    mode NotifyGrab, detail NotifyAncestor

ClientMessage event, serial 48, synthetic YES, window 0x1c00001,
    message_type 0x13b (WM_PROTOCOLS), format 32, message 0x139 (WM_DELETE_WINDOW)
 
Old 10-23-2017, 11:40 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i'm not quite sure why i suggested what i suggested this morning;
of course it would be best to ascertain what is really happening there and if it can be fixed.
i'm not really sure how, though.
'dmesg' might shed some light, and 'journalctl'.
the keyword ACPI comes to mind, but i could be wrong.

is this a synaptic touchpad?
if so, there's most likely a dedicated command to dis/enable it, with 'synclient'.

the good news is that X recognizes the keys and if all else fails, we can map them to a dedicated touchpad on/off script.
Quote:
Originally Posted by THX1138b View Post
Code:
KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 113146, (214,441), root:(266,503),
    state 0x0, keycode 201 (keysym 0x1008ffb1, XF86TouchpadOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 113154, (214,441), root:(266,503),
    state 0x0, keycode 201 (keysym 0x1008ffb1, XF86TouchpadOff), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 114395, (214,441), root:(266,503),
    state 0x0, keycode 200 (keysym 0x1008ffb0, XF86TouchpadOn), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1c00001,
    root 0xe1, subw 0x0, time 114401, (214,441), root:(266,503),
    state 0x0, keycode 200 (keysym 0x1008ffb0, XF86TouchpadOn), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint vs Lubuntu for an old laptop zablas Linux - Newbie 20 01-25-2017 08:57 PM
[SOLVED] mint 17.3 freeze on restart/shutdown Daveb3 Linux Mint 3 03-08-2016 04:20 PM
Trackpad troubles in Linux Mint 17 on Asus X55C laptop jeenuv Linux Mint 5 09-10-2014 12:24 PM
Linux Mint Isadora, if I boot via battery mouse and keyboard freeze on Compaq laptop. jhbottrill Linux - Laptop and Netbook 3 01-29-2011 10:14 AM
Want to use my trackpad and USB mouse on laptop ComputerMan Linux - Hardware 3 02-21-2006 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration