-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpluto-rndis.inf
83 lines (72 loc) · 6.14 KB
/
pluto-rndis.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; Based on template INF file found at
; <http://msdn.microsoft.com/en-us/library/ff570620.aspx>
; which was:
; Copyright (c) Microsoft Corporation
; and released under the MLPL as found at:
; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
; For use only on Windows operating systems.
[Strings]
Analog = "Analog Devices, Inc."
PlutoDeviceID = "VID_0456&PID_B673&MI_00"
PlutoDevice = "PlutoSDR USB Ethernet/RNDIS Gadget"
M2kDeviceID = "VID_0456&PID_B672&MI_00"
M2kDevice = "M2k USB Ethernet/RNDIS Gadget"
Pluto2DeviceID = "VID_0456&PID_B676&MI_00"
Pluto2Device = "PlutoSDR2 USB Ethernet/RNDIS Gadget"
IIO_ADI_DeviceID = "VID_0456&PID_B678&MI_00"
IIO_ADI_Device = "ADI USB Ethernet/RNDIS Gadget"
Vista_Property = "Optional Vista Property"
[Version]
Signature = "$Windows NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %Analog%
DriverVer = 04/04/2022,6.0.6000.16384
CatalogFile = pluto-rndis.cat
[Manufacturer]
%Analog% = LinuxDevices,NTx86,NTamd64,NTia64
; Decoration for x86 architecture
[LinuxDevices.NTx86]
%PlutoDevice% = RNDIS.NT.5.1, USB\%PlutoDeviceID%
%M2kDevice% = RNDIS.NT.5.1, USB\%M2kDeviceID%
%Pluto2Device% = RNDIS.NT.5.1, USB\%Pluto2DeviceID%
%IIO_ADI_Device% = RNDIS.NT.5.1, USB\%IIO_ADI_DeviceID%
; Decoration for x64 architecture
[LinuxDevices.NTamd64]
%PlutoDevice% = RNDIS.NT.5.1, USB\%PlutoDeviceID%
%M2kDevice% = RNDIS.NT.5.1, USB\%M2kDeviceID%
%Pluto2Device% = RNDIS.NT.5.1, USB\%Pluto2DeviceID%
%IIO_ADI_Device% = RNDIS.NT.5.1, USB\%IIO_ADI_DeviceID%
; Decoration for ia64 architecture
[LinuxDevices.NTia64]
%PlutoDevice% = RNDIS.NT.5.1, USB\%PlutoDeviceID%
%M2kDevice% = RNDIS.NT.5.1, USB\%M2kDeviceID%
%Pluto2Device% = RNDIS.NT.5.1, USB\%Pluto2DeviceID%
%IIO_ADI_Device% = RNDIS.NT.5.1, USB\%IIO_ADI_DeviceID%
;@@@ This is the common setting for setup
[ControlFlags]
ExcludeFromSelect=*
; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.5.1]
Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
BusType = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include = netrndis.inf
needs = Usb_Rndis.ndi
AddReg = Rndis_AddReg_Vista
; DDInstal.Services section
[RNDIS.NT.5.1.Services]
include = netrndis.inf
needs = Usb_Rndis.ndi.Services
; Optional registry settings. You can modify as needed.
[RNDIS_AddReg_Vista]
HKR, NDI\params\VistaProperty, ParamDesc, 0, %Vista_Property%
HKR, NDI\params\VistaProperty, type, 0, "edit"
HKR, NDI\params\VistaProperty, LimitText, 0, "12"
HKR, NDI\params\VistaProperty, UpperCase, 0, "1"
HKR, NDI\params\VistaProperty, default, 0, " "
HKR, NDI\params\VistaProperty, optional, 0, "1"
; No sys copyfiles - the sys files are already in-build
; (part of the operating system).
; We do not support XP SP1-, 2003 SP1-, ME, 9x.