ref: https://community.frame.work/t/tracking-amd-small-group-of-kworkers-keeping-cpu-0-busy-after-suspend-resume-cycle-s/45002
		
			
				
	
	
		
			14 lines
		
	
	
		
			317 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			317 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=Enable gpe10 interrupt for sleep
 | 
						|
Before=sleep.target
 | 
						|
StopWhenUnneeded=true
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=oneshot
 | 
						|
RemainAfterExit=yes
 | 
						|
ExecStart=/bin/sh -c "echo enable > /sys/firmware/acpi/interrupts/gpe10"
 | 
						|
ExecStop=/bin/sh -c "echo disable > /sys/firmware/acpi/interrupts/gpe10"
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=sleep.target
 |