Problem with USB mouse in Ubuntu 16.04












11















Since I have Ubuntu 16.04 have not had any problems with the PS2 mouse, but a week ago I placed a new mouse USB. This mouse freezes randomly (Sometimes while I am using the PC and sometimes this happens for hours without using the PC) and I have to disconnect the mouse and reconnect it.



I have tried to restart lightdm, I have reinstalled the mouse drivers, I have changed the values of the files level, control and wakeup to y autosuspend to on, enable y -1 respectively, I get nothing.



When the mouse works correctly and I type the command xsetpointer -l | grep Pointer the terminal displays 8: " USB OPTICAL MOUSE" [XExtensionPointer] but when the mouse freezes, that line does not appear. The same happens when I type the command xinput --list, when the mouse works correctly the terminal displays USB OPTICAL MOUSE id=8 but when the mouse freezes, that line does not appear. What can happen?



Note: In Windows the mouse works correctly.










share|improve this question

























  • You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

    – kanehekili
    Dec 26 '18 at 23:41
















11















Since I have Ubuntu 16.04 have not had any problems with the PS2 mouse, but a week ago I placed a new mouse USB. This mouse freezes randomly (Sometimes while I am using the PC and sometimes this happens for hours without using the PC) and I have to disconnect the mouse and reconnect it.



I have tried to restart lightdm, I have reinstalled the mouse drivers, I have changed the values of the files level, control and wakeup to y autosuspend to on, enable y -1 respectively, I get nothing.



When the mouse works correctly and I type the command xsetpointer -l | grep Pointer the terminal displays 8: " USB OPTICAL MOUSE" [XExtensionPointer] but when the mouse freezes, that line does not appear. The same happens when I type the command xinput --list, when the mouse works correctly the terminal displays USB OPTICAL MOUSE id=8 but when the mouse freezes, that line does not appear. What can happen?



Note: In Windows the mouse works correctly.










share|improve this question

























  • You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

    – kanehekili
    Dec 26 '18 at 23:41














11












11








11








Since I have Ubuntu 16.04 have not had any problems with the PS2 mouse, but a week ago I placed a new mouse USB. This mouse freezes randomly (Sometimes while I am using the PC and sometimes this happens for hours without using the PC) and I have to disconnect the mouse and reconnect it.



I have tried to restart lightdm, I have reinstalled the mouse drivers, I have changed the values of the files level, control and wakeup to y autosuspend to on, enable y -1 respectively, I get nothing.



When the mouse works correctly and I type the command xsetpointer -l | grep Pointer the terminal displays 8: " USB OPTICAL MOUSE" [XExtensionPointer] but when the mouse freezes, that line does not appear. The same happens when I type the command xinput --list, when the mouse works correctly the terminal displays USB OPTICAL MOUSE id=8 but when the mouse freezes, that line does not appear. What can happen?



Note: In Windows the mouse works correctly.










share|improve this question
















Since I have Ubuntu 16.04 have not had any problems with the PS2 mouse, but a week ago I placed a new mouse USB. This mouse freezes randomly (Sometimes while I am using the PC and sometimes this happens for hours without using the PC) and I have to disconnect the mouse and reconnect it.



I have tried to restart lightdm, I have reinstalled the mouse drivers, I have changed the values of the files level, control and wakeup to y autosuspend to on, enable y -1 respectively, I get nothing.



When the mouse works correctly and I type the command xsetpointer -l | grep Pointer the terminal displays 8: " USB OPTICAL MOUSE" [XExtensionPointer] but when the mouse freezes, that line does not appear. The same happens when I type the command xinput --list, when the mouse works correctly the terminal displays USB OPTICAL MOUSE id=8 but when the mouse freezes, that line does not appear. What can happen?



Note: In Windows the mouse works correctly.







drivers usb mouse 16.04 freeze






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 27 '18 at 7:32









fosslinux

2,39521837




2,39521837










asked Apr 28 '16 at 9:53









zesquizesqui

6114




6114













  • You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

    – kanehekili
    Dec 26 '18 at 23:41



















  • You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

    – kanehekili
    Dec 26 '18 at 23:41

















You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

– kanehekili
Dec 26 '18 at 23:41





You could start run dmesg -w in a terminal and observe potential disconnection problems. Leave the terminal open and continue to work. If the mouse freezes, check the terminal. It seems to be a hardware failure, not a Xorg problem. Paste the resulting lines here to analyze.

– kanehekili
Dec 26 '18 at 23:41










2 Answers
2






active

oldest

votes


















0














Check for related messages with (-p comes for priority, 4 means "warning" and above: err, crit...):



journalctl -b 0 -p 4


Common cases:




  • Other USB device is the problem. In my case was a Western Digital Passport external HDD. Try disconnecting any other USB device.

  • The USB mouse cable is just broken: you have to replace it (or repair it).


  • This is a pretty common behavior with wireless mouses when they are running out of battery. If that's your case check on a terminal with



    upower -i $(upower -e | grep mouse)


    or with GUI, gnome-power-statistics or in Gnome Shell Power Settings:



    screenshot








share|improve this answer

































    0














    Another possibility - maybe weird sounding but perhaps easy to try - use a different USB port or if using a USB hub, try directly connecting the mouse to the computer. I've occasionally solved a similar problem (with Windows) that way - seemed like some subtle interaction between the hardware, the firmware, and the O/S, but I've never taken the time to deeply investigate.
    Does your mouse light stay on when the mouse is frozen? If not, check cable, socket, or try another mouse.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f764233%2fproblem-with-usb-mouse-in-ubuntu-16-04%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Check for related messages with (-p comes for priority, 4 means "warning" and above: err, crit...):



      journalctl -b 0 -p 4


      Common cases:




      • Other USB device is the problem. In my case was a Western Digital Passport external HDD. Try disconnecting any other USB device.

      • The USB mouse cable is just broken: you have to replace it (or repair it).


      • This is a pretty common behavior with wireless mouses when they are running out of battery. If that's your case check on a terminal with



        upower -i $(upower -e | grep mouse)


        or with GUI, gnome-power-statistics or in Gnome Shell Power Settings:



        screenshot








      share|improve this answer






























        0














        Check for related messages with (-p comes for priority, 4 means "warning" and above: err, crit...):



        journalctl -b 0 -p 4


        Common cases:




        • Other USB device is the problem. In my case was a Western Digital Passport external HDD. Try disconnecting any other USB device.

        • The USB mouse cable is just broken: you have to replace it (or repair it).


        • This is a pretty common behavior with wireless mouses when they are running out of battery. If that's your case check on a terminal with



          upower -i $(upower -e | grep mouse)


          or with GUI, gnome-power-statistics or in Gnome Shell Power Settings:



          screenshot








        share|improve this answer




























          0












          0








          0







          Check for related messages with (-p comes for priority, 4 means "warning" and above: err, crit...):



          journalctl -b 0 -p 4


          Common cases:




          • Other USB device is the problem. In my case was a Western Digital Passport external HDD. Try disconnecting any other USB device.

          • The USB mouse cable is just broken: you have to replace it (or repair it).


          • This is a pretty common behavior with wireless mouses when they are running out of battery. If that's your case check on a terminal with



            upower -i $(upower -e | grep mouse)


            or with GUI, gnome-power-statistics or in Gnome Shell Power Settings:



            screenshot








          share|improve this answer















          Check for related messages with (-p comes for priority, 4 means "warning" and above: err, crit...):



          journalctl -b 0 -p 4


          Common cases:




          • Other USB device is the problem. In my case was a Western Digital Passport external HDD. Try disconnecting any other USB device.

          • The USB mouse cable is just broken: you have to replace it (or repair it).


          • This is a pretty common behavior with wireless mouses when they are running out of battery. If that's your case check on a terminal with



            upower -i $(upower -e | grep mouse)


            or with GUI, gnome-power-statistics or in Gnome Shell Power Settings:



            screenshot









          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 27 at 17:58

























          answered Jan 27 at 17:51









          Pablo BianchiPablo Bianchi

          2,96021535




          2,96021535

























              0














              Another possibility - maybe weird sounding but perhaps easy to try - use a different USB port or if using a USB hub, try directly connecting the mouse to the computer. I've occasionally solved a similar problem (with Windows) that way - seemed like some subtle interaction between the hardware, the firmware, and the O/S, but I've never taken the time to deeply investigate.
              Does your mouse light stay on when the mouse is frozen? If not, check cable, socket, or try another mouse.






              share|improve this answer




























                0














                Another possibility - maybe weird sounding but perhaps easy to try - use a different USB port or if using a USB hub, try directly connecting the mouse to the computer. I've occasionally solved a similar problem (with Windows) that way - seemed like some subtle interaction between the hardware, the firmware, and the O/S, but I've never taken the time to deeply investigate.
                Does your mouse light stay on when the mouse is frozen? If not, check cable, socket, or try another mouse.






                share|improve this answer


























                  0












                  0








                  0







                  Another possibility - maybe weird sounding but perhaps easy to try - use a different USB port or if using a USB hub, try directly connecting the mouse to the computer. I've occasionally solved a similar problem (with Windows) that way - seemed like some subtle interaction between the hardware, the firmware, and the O/S, but I've never taken the time to deeply investigate.
                  Does your mouse light stay on when the mouse is frozen? If not, check cable, socket, or try another mouse.






                  share|improve this answer













                  Another possibility - maybe weird sounding but perhaps easy to try - use a different USB port or if using a USB hub, try directly connecting the mouse to the computer. I've occasionally solved a similar problem (with Windows) that way - seemed like some subtle interaction between the hardware, the firmware, and the O/S, but I've never taken the time to deeply investigate.
                  Does your mouse light stay on when the mouse is frozen? If not, check cable, socket, or try another mouse.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 25 at 4:18









                  MelMel

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f764233%2fproblem-with-usb-mouse-in-ubuntu-16-04%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to send String Array data to Server using php in android

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Is anime1.com a legal site for watching anime?