Skip to content

Instantly share code, notes, and snippets.

@klingtnet
klingtnet / ryzen-random-reboots-fix.md
Last active September 2, 2024 14:44
Ryzen Linux random reboots in idle state

My Ryzen 7 3700X desktop machine had random reboots when in idle. Stress tests worked fine over many hours, no problem there. There's a Gentoo Wiki entry that recommends to set idle=nomwait and processor.max_cstate=5. For me, it did not work and neither did the tips from this kernel Bug report. Those random reboots disappeared after I reset my BIOS to optimized factory defaults. The only change I apply to those factory defaults is to apply the XMP profile of memory modules. It turned out that, if the XMP settings were applied, the random reboot appeared again. Luckily i stumbled over this linustechtips forum thread where someone said that power down mode needs to be disabled. Someone else said that they fixed this issue by setting the RAM voltage to 1.36V instead of 1.35V. Anyways, disabling _power down mod

@schmich
schmich / ducky.md
Last active September 24, 2024 08:54
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2 Skyline

To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function: