Linux mouse freezes after suspend

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












Today I finally decided to switch from Windows to Ubuntu.
I fully install Ubuntu, but everytime my notebook goes in sleepmode and wakes up my mouse will not work anymore. When I do a reboot it works fine until I let it sleep (even if it's for 10sec).



So I tried switching to Mint, however even with Mint I had the same problem. I have been trying to fix it all day without success.



Notebook:
Asus laptop



On a similar forum post this was the fix:



sudo apt-get install --reinstall xserver-xorg-input-all


However this did not work for me.










share|improve this question



























    up vote
    1
    down vote

    favorite
    1












    Today I finally decided to switch from Windows to Ubuntu.
    I fully install Ubuntu, but everytime my notebook goes in sleepmode and wakes up my mouse will not work anymore. When I do a reboot it works fine until I let it sleep (even if it's for 10sec).



    So I tried switching to Mint, however even with Mint I had the same problem. I have been trying to fix it all day without success.



    Notebook:
    Asus laptop



    On a similar forum post this was the fix:



    sudo apt-get install --reinstall xserver-xorg-input-all


    However this did not work for me.










    share|improve this question

























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      Today I finally decided to switch from Windows to Ubuntu.
      I fully install Ubuntu, but everytime my notebook goes in sleepmode and wakes up my mouse will not work anymore. When I do a reboot it works fine until I let it sleep (even if it's for 10sec).



      So I tried switching to Mint, however even with Mint I had the same problem. I have been trying to fix it all day without success.



      Notebook:
      Asus laptop



      On a similar forum post this was the fix:



      sudo apt-get install --reinstall xserver-xorg-input-all


      However this did not work for me.










      share|improve this question















      Today I finally decided to switch from Windows to Ubuntu.
      I fully install Ubuntu, but everytime my notebook goes in sleepmode and wakes up my mouse will not work anymore. When I do a reboot it works fine until I let it sleep (even if it's for 10sec).



      So I tried switching to Mint, however even with Mint I had the same problem. I have been trying to fix it all day without success.



      Notebook:
      Asus laptop



      On a similar forum post this was the fix:



      sudo apt-get install --reinstall xserver-xorg-input-all


      However this did not work for me.







      ubuntu linux-mint mouse






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 16 '16 at 22:33









      Zachary Brady

      3,386831




      3,386831










      asked Sep 11 '16 at 19:43









      jowijowi

      62




      62




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          This issue goes back at least a couple of years. It's a problem for a lot of Asus owners, but it's not entirely specific to Asus devices. Also, it's not Debian-specific — though in your case both Ubuntu and Mint have Debian roots.



          It's a tricky one because it seems everyone's mileage varies with each proposed solution (and they all have slight hardware variances). There are countless threads trying to solve it.



          Notable bug threads on Launchpad (depending on your Asus model):



          • Elantech touchpad stops working after suspend

          • FocalTech touchpad stops working after suspend

          Applicable bug thread on Kernel.org:



          • ETPS/2 Elantech Touchpad dies after resume from suspend

          Assuming you don't want to patch your kernel, there are a couple potential runtime solutions you can try.



          (Note: You can open a terminal with Ctrl+Alt+T)



          Disable/Enable the Mouse Driver:



          You can remove and then re-insert your mouse driver module with the following commands:



          sudo modprobe -r psmouse
          sudo modprobe psmouse


          Disable/Enable via Xinput:



          Find your trackpad ID with the following command:



          xinput --list


          Once you have your device ID—I'll call it 12 for this example—try disabling and enabling the device with:



          xinput --disable 12
          xinput --enable 12


          (Replace 12 with your trackpad's device ID)



          Alternative:



          As an aside, you may want to try hibernating instead of suspending. Supposedly the problems aren't as prevalent with hibernation.






          share|improve this answer




















          • Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
            – cheneym
            Apr 23 at 11:41


















          up vote
          0
          down vote













          I call this script mouse-reset. It removes and then modprobes a list of mouse-related modules:



          #!/bin/bash

          modules=(psmouse hid_multitouch elan_i2c)

          for mod in "$modules[@]"; do
          sudo rmmod "$mod" 2> /dev/null
          sudo modprobe -v "$mod" 2> /dev/null
          done





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f309247%2flinux-mouse-freezes-after-suspend%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            This issue goes back at least a couple of years. It's a problem for a lot of Asus owners, but it's not entirely specific to Asus devices. Also, it's not Debian-specific — though in your case both Ubuntu and Mint have Debian roots.



            It's a tricky one because it seems everyone's mileage varies with each proposed solution (and they all have slight hardware variances). There are countless threads trying to solve it.



            Notable bug threads on Launchpad (depending on your Asus model):



            • Elantech touchpad stops working after suspend

            • FocalTech touchpad stops working after suspend

            Applicable bug thread on Kernel.org:



            • ETPS/2 Elantech Touchpad dies after resume from suspend

            Assuming you don't want to patch your kernel, there are a couple potential runtime solutions you can try.



            (Note: You can open a terminal with Ctrl+Alt+T)



            Disable/Enable the Mouse Driver:



            You can remove and then re-insert your mouse driver module with the following commands:



            sudo modprobe -r psmouse
            sudo modprobe psmouse


            Disable/Enable via Xinput:



            Find your trackpad ID with the following command:



            xinput --list


            Once you have your device ID—I'll call it 12 for this example—try disabling and enabling the device with:



            xinput --disable 12
            xinput --enable 12


            (Replace 12 with your trackpad's device ID)



            Alternative:



            As an aside, you may want to try hibernating instead of suspending. Supposedly the problems aren't as prevalent with hibernation.






            share|improve this answer




















            • Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
              – cheneym
              Apr 23 at 11:41















            up vote
            2
            down vote













            This issue goes back at least a couple of years. It's a problem for a lot of Asus owners, but it's not entirely specific to Asus devices. Also, it's not Debian-specific — though in your case both Ubuntu and Mint have Debian roots.



            It's a tricky one because it seems everyone's mileage varies with each proposed solution (and they all have slight hardware variances). There are countless threads trying to solve it.



            Notable bug threads on Launchpad (depending on your Asus model):



            • Elantech touchpad stops working after suspend

            • FocalTech touchpad stops working after suspend

            Applicable bug thread on Kernel.org:



            • ETPS/2 Elantech Touchpad dies after resume from suspend

            Assuming you don't want to patch your kernel, there are a couple potential runtime solutions you can try.



            (Note: You can open a terminal with Ctrl+Alt+T)



            Disable/Enable the Mouse Driver:



            You can remove and then re-insert your mouse driver module with the following commands:



            sudo modprobe -r psmouse
            sudo modprobe psmouse


            Disable/Enable via Xinput:



            Find your trackpad ID with the following command:



            xinput --list


            Once you have your device ID—I'll call it 12 for this example—try disabling and enabling the device with:



            xinput --disable 12
            xinput --enable 12


            (Replace 12 with your trackpad's device ID)



            Alternative:



            As an aside, you may want to try hibernating instead of suspending. Supposedly the problems aren't as prevalent with hibernation.






            share|improve this answer




















            • Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
              – cheneym
              Apr 23 at 11:41













            up vote
            2
            down vote










            up vote
            2
            down vote









            This issue goes back at least a couple of years. It's a problem for a lot of Asus owners, but it's not entirely specific to Asus devices. Also, it's not Debian-specific — though in your case both Ubuntu and Mint have Debian roots.



            It's a tricky one because it seems everyone's mileage varies with each proposed solution (and they all have slight hardware variances). There are countless threads trying to solve it.



            Notable bug threads on Launchpad (depending on your Asus model):



            • Elantech touchpad stops working after suspend

            • FocalTech touchpad stops working after suspend

            Applicable bug thread on Kernel.org:



            • ETPS/2 Elantech Touchpad dies after resume from suspend

            Assuming you don't want to patch your kernel, there are a couple potential runtime solutions you can try.



            (Note: You can open a terminal with Ctrl+Alt+T)



            Disable/Enable the Mouse Driver:



            You can remove and then re-insert your mouse driver module with the following commands:



            sudo modprobe -r psmouse
            sudo modprobe psmouse


            Disable/Enable via Xinput:



            Find your trackpad ID with the following command:



            xinput --list


            Once you have your device ID—I'll call it 12 for this example—try disabling and enabling the device with:



            xinput --disable 12
            xinput --enable 12


            (Replace 12 with your trackpad's device ID)



            Alternative:



            As an aside, you may want to try hibernating instead of suspending. Supposedly the problems aren't as prevalent with hibernation.






            share|improve this answer












            This issue goes back at least a couple of years. It's a problem for a lot of Asus owners, but it's not entirely specific to Asus devices. Also, it's not Debian-specific — though in your case both Ubuntu and Mint have Debian roots.



            It's a tricky one because it seems everyone's mileage varies with each proposed solution (and they all have slight hardware variances). There are countless threads trying to solve it.



            Notable bug threads on Launchpad (depending on your Asus model):



            • Elantech touchpad stops working after suspend

            • FocalTech touchpad stops working after suspend

            Applicable bug thread on Kernel.org:



            • ETPS/2 Elantech Touchpad dies after resume from suspend

            Assuming you don't want to patch your kernel, there are a couple potential runtime solutions you can try.



            (Note: You can open a terminal with Ctrl+Alt+T)



            Disable/Enable the Mouse Driver:



            You can remove and then re-insert your mouse driver module with the following commands:



            sudo modprobe -r psmouse
            sudo modprobe psmouse


            Disable/Enable via Xinput:



            Find your trackpad ID with the following command:



            xinput --list


            Once you have your device ID—I'll call it 12 for this example—try disabling and enabling the device with:



            xinput --disable 12
            xinput --enable 12


            (Replace 12 with your trackpad's device ID)



            Alternative:



            As an aside, you may want to try hibernating instead of suspending. Supposedly the problems aren't as prevalent with hibernation.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 11 '16 at 23:02









            codewithmichael

            1014




            1014











            • Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
              – cheneym
              Apr 23 at 11:41

















            • Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
              – cheneym
              Apr 23 at 11:41
















            Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
            – cheneym
            Apr 23 at 11:41





            Disable/Enable the Mouse Driver worked for me (sudo modprobe -r psmouse / sudo modprobe psmouse). Hint: I added this to my ~/.gnomerc so it is called every time I log in.
            – cheneym
            Apr 23 at 11:41













            up vote
            0
            down vote













            I call this script mouse-reset. It removes and then modprobes a list of mouse-related modules:



            #!/bin/bash

            modules=(psmouse hid_multitouch elan_i2c)

            for mod in "$modules[@]"; do
            sudo rmmod "$mod" 2> /dev/null
            sudo modprobe -v "$mod" 2> /dev/null
            done





            share|improve this answer
























              up vote
              0
              down vote













              I call this script mouse-reset. It removes and then modprobes a list of mouse-related modules:



              #!/bin/bash

              modules=(psmouse hid_multitouch elan_i2c)

              for mod in "$modules[@]"; do
              sudo rmmod "$mod" 2> /dev/null
              sudo modprobe -v "$mod" 2> /dev/null
              done





              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I call this script mouse-reset. It removes and then modprobes a list of mouse-related modules:



                #!/bin/bash

                modules=(psmouse hid_multitouch elan_i2c)

                for mod in "$modules[@]"; do
                sudo rmmod "$mod" 2> /dev/null
                sudo modprobe -v "$mod" 2> /dev/null
                done





                share|improve this answer












                I call this script mouse-reset. It removes and then modprobes a list of mouse-related modules:



                #!/bin/bash

                modules=(psmouse hid_multitouch elan_i2c)

                for mod in "$modules[@]"; do
                sudo rmmod "$mod" 2> /dev/null
                sudo modprobe -v "$mod" 2> /dev/null
                done






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 8 at 12:17









                Tom Hale

                5,94622776




                5,94622776



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f309247%2flinux-mouse-freezes-after-suspend%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay