Your problem is probably an ACPI setting, if that helps you look up an explanation. Try putting usbcore.autosuspend=-1 in the kernel options on your bootloader. If that works, that's definitely the problem, so then either you're good without it or if you still want autosuspend for everything else (good for battery life on a laptop) you should look into a more fine grain approach.
I did this. It does work but when I restart I get the darn problem again.
Google " add kernel parameter". Likely Grub in your case.
Although this boot parameter is merely a workaround. I've had some issues with the flat metallic Kinston thumbdrives getting filesystem corruption, because they overheat and quickly dis/reconnect even with working powersaving. Not that this must happen to you, but all i'm saying is that you still better find the root cause or get another mouse.
In order to make the kernel option persist, you will have to add the option to your bootloader config. Ubuntu probably uses grub, but in any case, I never can remember how to configure any of the bootloaders. Someone here can probably help out (or it'll be a quick search away, I'm sure).
Not the same distro, but on my system, the relevant file is located at /etc/default/grub. Find the line that says GRUB_CMDLINE_LINUX, uncomment it if necessary, and add your kernel parameter to it (mine has GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax", for historical reasons). Then run grub-mkconfig with appropriate arguments to regenerate your grub configuration.
How about a command that runs at every startup then? Some call it autostart and it could be any script you make. Not the solution but an effective workaround.
You've attempted various USB ports?
Does it happen with Bluetooth too?
Have not tried BT.
And/or going through a powered USB hub.
Its both the front and back of the computer.
Could be the USB controller. I've had pretty terrible USB problems with certain AMD systems. Typically only with high-bandwidth applications, but I know some people have had problems even with peripherals like mice.
Its a weird problem. But I think it's not just the mouse. It could be other stuff USB. You could be right. I will check with Windows 10 (garbage on a second boot drive)
Also look in your bios.
Barring that, yeah checking a different OS is another good step.
Yes. It will work each time I plug it on a different port until a few minutes later.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0