mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Newer ThinkPads have a new name for the Trackpoint - "TPPS/2 Elan TrackPoint". Having the "[...] IBM Trackpoint" as default caused some weird side-effects on my machine (e.g. stopped the trackpoint working after a suspend) with the wrong name. Although this is mentioned in the option's description[1], I think that this should be declared explicitly here. As soon, as we supported newer models as well[2], we should probably move this into its own common profile. [1] https://nixos.org/nixos/options.html#hardware.trackpoint.device [2] https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
		
			
				
	
	
		
			20 lines
		
	
	
		
			810 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			810 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# A good source of information about how to fix the issues still
 | 
						|
# standing with kernel 4.6.11 is the following wiki page:
 | 
						|
# https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6). The
 | 
						|
# TrackPoint and TouchPad issues there seem to have been fixed already.
 | 
						|
#
 | 
						|
# Enable the lower-power S3 suspend state by upgrading the BIOS to version >= 1.30,
 | 
						|
# then manually selecting Linux in the power management section.
 | 
						|
{ config, pkgs, ... }:
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../.
 | 
						|
    ../../../../common/pc/laptop/acpi_call.nix
 | 
						|
    ../../../../common/pc/laptop/cpu-throttling-bug.nix
 | 
						|
  ];
 | 
						|
 | 
						|
  # New ThinkPads have a different TrackPoint manufacturer/name.
 | 
						|
  # See also https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
 | 
						|
  hardware.trackpoint.device = "TPPS/2 Elan TrackPoint";
 | 
						|
}
 |