# Everytime I move my mouse, it wakes the PC up from hibernation

**URL:** <https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886>\
**Category:** General system\
**Created:** [November 14, 2021, 5:36am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886 "2021-11-14T05:36:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 5:36am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/1 "2021-11-14T05:36:02Z")

</div>

When I hibernate my PC, it wakes if I move the mouse which is something I don’t want.

I believe somewhere in `/proc/acpi/wakeup` or in a different file or something, I have to disable some element or something like that.

But I have to do this everytime I reboot my PC which is annoying. I get it there is some startup file or something where I can just dump commands and it will automatically execute everytime I start my PC, but why does this `/proc/acpi/wakeup` file keep being overwritten everytime I start my PC up? Can’t I permanently disable the elements inside that file so there is no need to run a script everytime I reboot my PC?

See on Windows 10, I can go to device manager and look for my mouse and disable it through there, and permanently I don’t have to worry about it again, it’s not like it will have to run the same command everytime I reboot my PC so isn’t there something I can do for Linux as well?

Also just out of curiosity, if I move the mouse, how does that wake the PC up? I thought hibernation was supposed to shut the PC off or something? So how would it know that the mouse means to wake the PC up, what does Linux do actually to my PC to tell it to wake up when I move the mouse?

---

<div class="post-metadata">

**Author:** ![anon53396576](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon53396576](https://forum.endeavouros.com/u/anon53396576)\
**Post date:** [November 14, 2021, 7:47am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/2 "2021-11-14T07:47:27Z")

</div>

What does any of that have to do with chromium?

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 8:18am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/3 "2021-11-14T08:18:13Z")

</div>

Sorry I think I messed up with the title I changed it.

---

<div class="post-metadata">

**Author:** ![anon52797891](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@anon52797891](https://forum.endeavouros.com/u/anon52797891)\
**Post date:** [November 14, 2021, 9:14am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/4 "2021-11-14T09:14:28Z")

</div>

> [@unix\_lover](#):
>
> Also just out of curiosity, if I move the mouse, how does that wake the PC up? I thought hibernation was supposed to shut the PC off or something?

It sounds like the PC has suspended, not hibernated. Under hibernation, the power to the PC is off. Does your PC have any indicator lights? How long does it take to restore the desktop?

---

<div class="post-metadata">

**Author:** ![ycom1](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ycom1/32/133849_2.png) [@ycom1](https://forum.endeavouros.com/u/ycom1)\
**Post date:** [November 14, 2021, 9:33am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/5 "2021-11-14T09:33:33Z")

</div>

Just configure in the bios what devices are allowed to wake up your PC  
e.g USB devices keyboard, mouse …

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 10:17am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/6 "2021-11-14T10:17:42Z")

</div>

> [@anon52797891](#):
>
> It sounds like the PC has suspended, not hibernated. Under hibernation, the power to the PC is off. Does your PC have any indicator lights? How long does it take to restore the desktop?

The same thing used to happen on Windows 10 as well, but through device manager I disabled the setting for my mouse to wake PC up upon boot.

On both Windows and Linux, I did physically disconnect my computer from the power cable, and reconnected it and it would still restore my session, meaning it was hibernated, not sleeping.

> [@anon52797891](#):
>
> Does your PC have any indicator lights?

other than when it is on, nope mate ☹

> [@anon52797891](#):
>
> How long does it take to restore the desktop?

about 10 seconds ish, and it does go through the post test when I do turn my PC on.

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 10:17am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/7 "2021-11-14T10:17:58Z")

</div>

I will give that a shot and let you know mate 🙂

---

<div class="post-metadata">

**Author:** ![zoli62](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/z/4bbf92/32.png) [@zoli62](https://forum.endeavouros.com/u/zoli62)\
**Post date:** [November 14, 2021, 10:59am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/8 "2021-11-14T10:59:22Z")

</div>

I think moving the mouse doesn’t wake the computer from hibernation, just pressing the power button. At least I’ve experienced this, but correct me if I’m wrong. What do you think will probably be the suspension, right?

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 11:54am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/9 "2021-11-14T11:54:39Z")

</div>

> [@zoli62](#):
>
> What do you think will probably be the suspension, right?

suspension is sleep, isn’t it?

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 11:55am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/10 "2021-11-14T11:55:38Z")

</div>

> [@ycom1](#):
>
> Just configure in the bios what devices are allowed to wake up your PC

Can’t seem to find a setting, I see that the keyboard and mouse are already disabled to wake pc up from power off. Those were the most relevant settings I could find.

---

<div class="post-metadata">

**Author:** ![ycom1](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ycom1/32/133849_2.png) [@ycom1](https://forum.endeavouros.com/u/ycom1)\
**Post date:** [November 14, 2021, 12:14pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/11 "2021-11-14T12:14:06Z")

</div>

maybe it is just the screen waking up, and the system does no sleep at all

---

<div class="post-metadata">

**Author:** ![anon52797891](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@anon52797891](https://forum.endeavouros.com/u/anon52797891)\
**Post date:** [November 14, 2021, 12:18pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/12 "2021-11-14T12:18:23Z")

</div>

That sounds much more than hibernate then 🤔 (I always go for the obvious first - I once spent half an hour thinking a PC had died, having forgotten that I’d turned off the power at the wall socket 🤦‍♂️ ).

I see that you’ve had a similar problem before:

> [@How do I disable my keyboard and mouse from waking my PC either from sleep or hibernate?](https://forum.endeavouros.com/t/how-do-i-disable-my-keyboard-and-mouse-from-waking-my-pc-either-from-sleep-or-hibernate/6031):
>
> How do I disable my keyboard and mouse from waking my PC either from sleep or hibernate? I did go to the power settings and I tried to find something in relation to hibernation but still can’t find it. Does anyone have an idea?

Internet searches have turned up nothing so far (at least for Linux), but I’ll keep looking 🔍

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 12:19pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/13 "2021-11-14T12:19:00Z")

</div>

It goes through the post test as I here that sound when the post test has succeeded, you know that minispeaker that tower computers have?

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 14, 2021, 12:22pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/14 "2021-11-14T12:22:11Z")

</div>

> [@anon52797891](#):
>
> That sounds much more than hibernate then

It was a similar issue with Windows as well but through device manager I have to disable my mouse from waking the PC up then it is fine. I have even tested to make sure it was really hibernating and not just sleeping but disconnecting it from the power source and then reconnecting it and my session was resumed.

> [@anon52797891](#):
>
> (I always go for the obvious first - I once spent half an hour thinking a PC had died, having forgotten that I’d turned off the power at the wall socket 🤦‍♂️ ).

I always used to think that was some kind of meme or something but never knew it _actually_ happens with people lol 🙂

> [@anon52797891](#):
>
> I see that you’ve had a similar problem before:
> 
> > [@](#):
> >
> > How do I disable my keyboard and mouse from waking my PC either from sleep or hibernate? I did go to the power settings and I tried to find something in relation to hibernation but still can’t find it. Does anyone have an idea?

Yeah I never really came to resolving it mate 🙂

> [@anon52797891](#):
>
> Internet searches have turned up nothing so far (at least for Linux), but I’ll keep looking 🔍

I have been doing the same thing as well, but thanks mate =D

---

<div class="post-metadata">

**Author:** ![anon52797891](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@anon52797891](https://forum.endeavouros.com/u/anon52797891)\
**Post date:** [November 14, 2021, 12:25pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/15 "2021-11-14T12:25:57Z")

</div>

> [@unix\_lover](#):
>
> I always used to think that was some kind of meme or something but never knew it _actually_ happens with people lol

Thanks… 😂

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 15, 2021, 7:29am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/16 "2021-11-15T07:29:45Z")

</div>

So apparently according to some other people, there is S states between S1 - S5, S5 being compeltely off, hibernation is deep sleep but it does not put it to S5 state. And it appears that both Windows and Linux does this. Is there a way to make hibernate into S5 state?

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [November 15, 2021, 10:40am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/17 "2021-11-15T10:40:25Z")

</div>

It sounds to me like you are in sleep, not hibernation. Desktop or laptop?? I assume this is a laptop since I personally don’t really understand the need for hibernation on a desktop as you should almost always have power, or be off. But I don’t own a desktop, so maybe I’m wrong.

Hibernation should not wake up from the mouse as your computer is off. Hibernation is suspend to disk, so your session is written to the HD and the computer off.

Sleep is suspend to ram so your session is suspended to ram and your computer is almost off.

```auto
nano /etc/default/grub

```

please post your grub boot loader config

and if you setup your hibernation with a swapfile - please also output of `swapon`

How did you setup hibernation??

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 15, 2021, 11:54am UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/18 "2021-11-15T11:54:19Z")

</div>

> [@anon63071375](#):
>
> It sounds to me like you are in sleep, not hibernation. Desktop or laptop?? I assume this is a laptop since I personally don’t really understand the need for hibernation on a desktop as you should almost always have power, or be off. But I don’t own a desktop, so maybe I’m wrong.

On my laptop this is not an issue, only on my desktop (tower) computer. I hibernate it cause I don’t want to open things up again and I don’t want it to waste power.

> [@anon63071375](#):
>
> Hibernation should not wake up from the mouse as your computer is off. Hibernation is suspend to disk, so your session is written to the HD and the computer off.

It shouldn’t you are right, but on both Windows and Linux by default if I move the mouse then it wakes it up. Like I litereally press on the hibernate button in the start menu. When my PC turns on it goes through the post test unlike sleep.

I spoke to another bloke and apparently he tells me that with hibernation, even though it saves stuff into the disk, it is in S4 state in order to resume it quickly your PC whereas S5 is compeltely off.

and sleep is S3.

> [@anon63071375](#):
>
> Sleep is suspend to ram so your session is suspended to ram and your computer is almost off.
> 
> ```auto
> nano /etc/default/grub
> 
> ```
> 
> please post your grub boot loader config
> 
> and if you setup your hibernation with a swapfile - please also output of `swapon`
> 
> How did you setup hibernation??

To be honest with you I completely have removed Linux but yeah I could reinstall it and post the grub configuration and hibernation.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [November 15, 2021, 12:32pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/19 "2021-11-15T12:32:08Z")

</div>

> [@unix\_lover](#):
>
> I spoke to another bloke and apparently he tells me that with hibernation, even though it saves stuff into the disk, it is in S4 state in order to resume it quickly your PC whereas S5 is compeltely off.
> 
> and sleep is S3

I have no idea what any of that is. That’s nothing I’ve heard of.

And if Linux is off your computer I can’t so much help with that. Assuming this is Windows 10 - you went into control panel to advanced power options and enabled hibernation?

If so, and the mouse still wakes it. . . I would assume it’s a firmware option. And/or it’s maybe plugged into a USB port that is always on. I know I can have one always on for charging for instance. If it’s plugged into it and you move the mouse it may wake it up. I’m stretching on that one though.

But for reference if you’re asking for help solving an issue, we usually need things from terminal to make it happen.

---

<div class="post-metadata">

**Author:** ![unix\_lover](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unix_lover/32/5462_2.png) [@unix\_lover](https://forum.endeavouros.com/u/unix_lover)\
**Post date:** [November 15, 2021, 12:33pm UTC](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886/20 "2021-11-15T12:33:18Z")

</div>

Yeah I am going to install it soon now and get back to it.

[Next page](https://forum.endeavouros.com/t/everytime-i-move-my-mouse-it-wakes-the-pc-up-from-hibernation/19886.md?page=2)
