How to tell X.org to reload input device module? (Working around suspend-to-ram crash on Acer laptop)

Vi.

When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.

Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found

# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }

(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...

How to tell X.org to try it's InputDevice again (without restarting X server)?

P.S. rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram.

Update: Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.

Vi.

xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 restores Touchpad extensions.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Suspend to RAM not working

From Dev

acer laptop, no clue what the module is

From Dev

How to tell whether RAM ECC is working?

From Dev

How to install Ubuntu on a laptop with soldered RAM module that has damaged cells

From Dev

Keyboard not working after suspend to ram (sleep)

From Dev

LinuxMint15: Suspend to RAM not working

From Dev

Keyboard not working after suspend to ram (sleep)

From Dev

Ubuntu 16.04 LTS Wifi device not ready- Acer Predator Laptop

From Dev

Laptop automatically suspend when I connect any USB device

From Dev

How to disable suspend on close laptop lid on NixOS?

From Dev

How to tell if laptop supports SSD

From Dev

How to suspend Cloud Foundry Org?

From Dev

Acer laptop's built-in keyboard and mouse not working in Windows

From Dev

iOS: How to tell when an app is going to suspend?

From Dev

How to easily reload/reimport a module while working in a console

From Dev

logind.conf not working, closing lid will not suspend laptop

From Dev

How to get suspend mode working?

From Dev

Acer laptop no power signs

From Dev

Installing Linux on Acer Laptop

From Dev

How to disable Secure Boot on an Acer Aspire 3 laptop?

From Dev

How to upgrade UEFI bios without battery in Acer laptop?

From Dev

Working around ADB "waiting for device" issue

From Dev

How to know the maximum supported RAM on my laptop?

From Dev

How can I check RAM of my laptop?

From Dev

How to disable auto suspend when I close laptop lid?

From Dev

How to disable auto suspend when I close laptop lid?

From Dev

How to get laptop lid to suspend & resume, and wifi to reconnect with Ubuntu 16.04

From Dev

Is there any way to tell which graphics processor is working in a laptop?

From Dev

How can I debug a Suspend-to-RAM issue on Linux?

Related Related

  1. 1

    Suspend to RAM not working

  2. 2

    acer laptop, no clue what the module is

  3. 3

    How to tell whether RAM ECC is working?

  4. 4

    How to install Ubuntu on a laptop with soldered RAM module that has damaged cells

  5. 5

    Keyboard not working after suspend to ram (sleep)

  6. 6

    LinuxMint15: Suspend to RAM not working

  7. 7

    Keyboard not working after suspend to ram (sleep)

  8. 8

    Ubuntu 16.04 LTS Wifi device not ready- Acer Predator Laptop

  9. 9

    Laptop automatically suspend when I connect any USB device

  10. 10

    How to disable suspend on close laptop lid on NixOS?

  11. 11

    How to tell if laptop supports SSD

  12. 12

    How to suspend Cloud Foundry Org?

  13. 13

    Acer laptop's built-in keyboard and mouse not working in Windows

  14. 14

    iOS: How to tell when an app is going to suspend?

  15. 15

    How to easily reload/reimport a module while working in a console

  16. 16

    logind.conf not working, closing lid will not suspend laptop

  17. 17

    How to get suspend mode working?

  18. 18

    Acer laptop no power signs

  19. 19

    Installing Linux on Acer Laptop

  20. 20

    How to disable Secure Boot on an Acer Aspire 3 laptop?

  21. 21

    How to upgrade UEFI bios without battery in Acer laptop?

  22. 22

    Working around ADB "waiting for device" issue

  23. 23

    How to know the maximum supported RAM on my laptop?

  24. 24

    How can I check RAM of my laptop?

  25. 25

    How to disable auto suspend when I close laptop lid?

  26. 26

    How to disable auto suspend when I close laptop lid?

  27. 27

    How to get laptop lid to suspend & resume, and wifi to reconnect with Ubuntu 16.04

  28. 28

    Is there any way to tell which graphics processor is working in a laptop?

  29. 29

    How can I debug a Suspend-to-RAM issue on Linux?

HotTag

Archive