Commit | Line | Data |
---|---|---|
e41e134e MN |
1 | ; Windows USB CDC ACM Setup File |
2 | ||
3 | ; Based on INF template which was: | |
4 | ; Copyright (c) 2000 Microsoft Corporation | |
5 | ; Copyright (c) 2007 Microchip Technology Inc. | |
6 | ; likely to be covered by the MLPL as found at: | |
7 | ; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>. | |
8 | ; For use only on Windows operating systems. | |
9 | ||
10 | [Version] | |
11 | Signature="$Windows NT$" | |
12 | Class=Ports | |
13 | ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} | |
14 | Provider=%Linux% | |
15 | DriverVer=11/15/2007,5.1.2600.0 | |
16 | ||
17 | [Manufacturer] | |
18 | %Linux%=DeviceList, NTamd64 | |
19 | ||
20 | [DestinationDirs] | |
21 | DefaultDestDir=12 | |
22 | ||
23 | ||
24 | ;------------------------------------------------------------------------------ | |
25 | ; Windows 2000/XP/Vista-32bit Sections | |
26 | ;------------------------------------------------------------------------------ | |
27 | ||
28 | [DriverInstall.nt] | |
29 | include=mdmcpq.inf | |
30 | CopyFiles=DriverCopyFiles.nt | |
31 | AddReg=DriverInstall.nt.AddReg | |
32 | ||
33 | [DriverCopyFiles.nt] | |
34 | usbser.sys,,,0x20 | |
35 | ||
36 | [DriverInstall.nt.AddReg] | |
37 | HKR,,DevLoader,,*ntkern | |
38 | HKR,,NTMPDriver,,USBSER.sys | |
39 | HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" | |
40 | ||
41 | [DriverInstall.nt.Services] | |
42 | AddService=usbser, 0x00000002, DriverService.nt | |
43 | ||
44 | [DriverService.nt] | |
45 | DisplayName=%SERVICE% | |
46 | ServiceType=1 | |
47 | StartType=3 | |
48 | ErrorControl=1 | |
49 | ServiceBinary=%12%\USBSER.sys | |
50 | ||
51 | ;------------------------------------------------------------------------------ | |
52 | ; Vista-64bit Sections | |
53 | ;------------------------------------------------------------------------------ | |
54 | ||
55 | [DriverInstall.NTamd64] | |
56 | include=mdmcpq.inf | |
57 | CopyFiles=DriverCopyFiles.NTamd64 | |
58 | AddReg=DriverInstall.NTamd64.AddReg | |
59 | ||
60 | [DriverCopyFiles.NTamd64] | |
61 | USBSER.sys,,,0x20 | |
62 | ||
63 | [DriverInstall.NTamd64.AddReg] | |
64 | HKR,,DevLoader,,*ntkern | |
65 | HKR,,NTMPDriver,,USBSER.sys | |
66 | HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" | |
67 | ||
68 | [DriverInstall.NTamd64.Services] | |
69 | AddService=usbser, 0x00000002, DriverService.NTamd64 | |
70 | ||
71 | [DriverService.NTamd64] | |
72 | DisplayName=%SERVICE% | |
73 | ServiceType=1 | |
74 | StartType=3 | |
75 | ErrorControl=1 | |
76 | ServiceBinary=%12%\USBSER.sys | |
77 | ||
78 | ||
79 | ;------------------------------------------------------------------------------ | |
80 | ; Vendor and Product ID Definitions | |
81 | ;------------------------------------------------------------------------------ | |
82 | ; When developing your USB device, the VID and PID used in the PC side | |
83 | ; application program and the firmware on the microcontroller must match. | |
84 | ; Modify the below line to use your VID and PID. Use the format as shown | |
85 | ; below. | |
86 | ; Note: One INF file can be used for multiple devices with different | |
87 | ; VID and PIDs. For each supported device, append | |
88 | ; ",USB\VID_xxxx&PID_yyyy" to the end of the line. | |
89 | ;------------------------------------------------------------------------------ | |
90 | [SourceDisksFiles] | |
91 | [SourceDisksNames] | |
92 | [DeviceList] | |
118205d6 | 93 | %DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00 |
e41e134e MN |
94 | |
95 | [DeviceList.NTamd64] | |
118205d6 | 96 | %DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00 |
e41e134e MN |
97 | |
98 | ||
99 | ;------------------------------------------------------------------------------ | |
100 | ; String Definitions | |
101 | ;------------------------------------------------------------------------------ | |
102 | ;Modify these strings to customize your device | |
103 | ;------------------------------------------------------------------------------ | |
104 | [Strings] | |
105 | Linux = "Linux Developer Community" | |
106 | DESCRIPTION = "Gadget Serial" | |
107 | SERVICE = "USB RS-232 Emulation Driver" |