Problem with USB mouse in Ubuntu 16.04
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
add a comment |
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
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
add a comment |
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
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
drivers usb mouse 16.04 freeze
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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-statisticsor in Gnome Shell Power Settings:

add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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-statisticsor in Gnome Shell Power Settings:

add a comment |
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-statisticsor in Gnome Shell Power Settings:

add a comment |
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-statisticsor in Gnome Shell Power Settings:

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-statisticsor in Gnome Shell Power Settings:

edited Jan 27 at 17:58
answered Jan 27 at 17:51
Pablo BianchiPablo Bianchi
2,96021535
2,96021535
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Feb 25 at 4:18
MelMel
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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