X270: Try to fix nub wakeup issue
This commit is contained in:
		
							parent
							
								
									7d14f4a8df
								
							
						
					
					
						commit
						d6f2c33a09
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -6,6 +6,17 @@
 | 
				
			||||||
        speed = 170;
 | 
					        speed = 170;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Ensure that trackpoint mouse buttons work after suspend without having
 | 
				
			||||||
 | 
					    # to touch the trackpoint first
 | 
				
			||||||
 | 
					    powerManagement = {
 | 
				
			||||||
 | 
					        powerDownCommands = ''
 | 
				
			||||||
 | 
					            modprobe -r psmouse
 | 
				
			||||||
 | 
					        '';
 | 
				
			||||||
 | 
					        resumeCommands = ''
 | 
				
			||||||
 | 
					            modprobe psmouse
 | 
				
			||||||
 | 
					        '';
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    services.xserver.videoDrivers = [ "modesetting" ];
 | 
					    services.xserver.videoDrivers = [ "modesetting" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    boot.initrd.kernelModules = [ "i915" ];
 | 
					    boot.initrd.kernelModules = [ "i915" ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue