this post was submitted on 04 Oct 2023
42 points (100.0% liked)
Linux
48051 readers
747 users here now
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
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I suppose you use a USB dongle? I'm not familiar with that mouse. It is not a Bluetooth one right ?
If it is a USB one , then Linux just closes-switxhes off every USB port on boot unless you instruct it to leave one open which means you have to keep the dongle constantly plugged in the port if you suspend to sleep. Don't know which distro u have but there are quite few guides online to make this happen.
It's a dongle, I use OpenSuse Tumbleweed
Hello again. Don't know if you solved this but here's what I did to my system (also OpenSuseTumbleweed). Create a file in /usr/local/sbin/ , lets say usbwakeup.sh. In that file put this:
Then in /etc/systemd/system/ create a file eg. my-wakeup.service and insert :
Save of course everything, keep the dogle in and restart. This will work in every wakeup from suspend and also when restarting. If you unplug the dongle you will have to put it back in and restart to make this to work again.
Hope that helps.
Thanks for you solution, I did actually solve it and put my solution as an edit of the original post. Thank you for sharing still
👍