mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	add dell inspiron 7460 (#1177)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										43
									
								
								dell/inspiron/7460/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								dell/inspiron/7460/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
## Dell Inspiron 7460
 | 
			
		||||
 | 
			
		||||
### Tested Hardware
 | 
			
		||||
 | 
			
		||||
```shellsession
 | 
			
		||||
$ lspci -nn
 | 
			
		||||
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5904] (rev 02)
 | 
			
		||||
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02)
 | 
			
		||||
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
 | 
			
		||||
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
 | 
			
		||||
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
 | 
			
		||||
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
 | 
			
		||||
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
 | 
			
		||||
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
 | 
			
		||||
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
 | 
			
		||||
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
 | 
			
		||||
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1)
 | 
			
		||||
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1)
 | 
			
		||||
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d58] (rev 21)
 | 
			
		||||
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
 | 
			
		||||
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
 | 
			
		||||
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
 | 
			
		||||
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 940MX] [10de:134d] (rev a2)
 | 
			
		||||
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
 | 
			
		||||
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)<D-f><D-f>
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Extra Configuration
 | 
			
		||||
 | 
			
		||||
#### Bluetooth
 | 
			
		||||
 | 
			
		||||
To enable bluetooth support, set `hardware.bluetooth.enable = true;`.
 | 
			
		||||
 | 
			
		||||
### Firmware Upgrades
 | 
			
		||||
 | 
			
		||||
Note that this device is supported by [fwupd](https://fwupd.org).
 | 
			
		||||
To perform firmware upgrades just activate the service:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
services.fwupd.enable = true;
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Then use `fwupdmgr` to perform updates
 | 
			
		||||
							
								
								
									
										21
									
								
								dell/inspiron/7460/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								dell/inspiron/7460/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
    ../../../common/gpu/intel/kaby-lake
 | 
			
		||||
    ../../../common/gpu/nvidia/maxwell
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware.nvidia.prime = {
 | 
			
		||||
    intelBusId = "PCI:0:2:0";
 | 
			
		||||
    nvidiaBusId = "PCI:1:0:0";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services = {
 | 
			
		||||
    thermald.enable = lib.mkDefault true;
 | 
			
		||||
    fwupd.enable = lib.mkDefault true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user