# \[TRACKING\] Framework AMD Ryzen 7040 Series lid wakeup behavior feedback

**URL:** <https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128>\
**Category:** Framework Laptop 13\
**Created:** [October 30, 2023, 10:41pm UTC](https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128 "2023-10-30T22:41:41Z")\
**Posts on this page:** 1\
**Showing post:** 53

<div class="post-metadata">

**Author:** ![ollien](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ollien/32/18317_2.png) [@ollien](https://community.frame.work/u/ollien)\
**Post date:** [November 14, 2023, 3:35am UTC](https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/53 "2023-11-14T03:35:38Z")

</div>

> [@\[TRACKING\] Framework AMD Ryzen 7040 Series lid wakeup behavior feedback](http://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/52):
>
> No such luck here with those udev rules. Plugging in my power adapter still wakes the laptop confused

> [@\[TRACKING\] Framework AMD Ryzen 7040 Series lid wakeup behavior feedback](http://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/45):
>
> I think you’re right! I fixed most of my issues with the wakeups using the following rules that I put in the /dev/rules.d/ folder: /etc/udev/rules.d/20-suspend-fixes.rules ACTION=="add", SUBSYSTEM=="acpi", DRIVERS=="button", ATTRS{hid}=="PNP0C0D", ATTR{power/wakeup}="disabled" ACTION=="add", SUBSYSTEM=="serio", DRIVERS=="atkbd", ATTR{power/wakeup}="disabled The second line disables the keyboard from waking the PC, which fixes the lid waking the machine (along with the first line) AND the AC …

I missed something! There’s a missing quote at the end of the udev rule here and I totally didn’t catch it last night

The full rule is

```auto
ACTION=="add", SUBSYSTEM=="acpi", DRIVERS=="button", ATTRS{hid}=="PNP0C0D", ATTR{power/wakeup}="disabled"
ACTION=="add", SUBSYSTEM=="serio", DRIVERS=="atkbd", ATTR{power/wakeup}="disabled"

```

---

_[View the full topic](https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128)._
