Skip to content

Commit 5942806

Browse files
committed
Fixed windows drivers (usb-serial)
1 parent 9c7c850 commit 5942806

File tree

6 files changed

+634
-528
lines changed

6 files changed

+634
-528
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,106 @@
1-
;************************************************************
2-
; Windows USB CDC ACM Setup File
3-
; Copyright (c) 2000 Microsoft Corporation
4-
5-
6-
[Version]
7-
Signature="$Windows NT$"
8-
Class=Ports
9-
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
10-
Provider=%MFGNAME%
11-
LayoutFile=layout.inf
12-
CatalogFile=%MFGFILENAME%.cat
13-
DriverVer=11/15/2007,5.1.2600.0
14-
15-
[Manufacturer]
16-
%MFGNAME%=DeviceList, NTamd64
17-
18-
[DestinationDirs]
19-
DefaultDestDir=12
20-
21-
22-
;------------------------------------------------------------------------------
23-
; Windows 2000/XP/Vista-32bit Sections
24-
;------------------------------------------------------------------------------
25-
26-
[DriverInstall.nt]
27-
include=mdmcpq.inf
28-
CopyFiles=DriverCopyFiles.nt
29-
AddReg=DriverInstall.nt.AddReg
30-
31-
[DriverCopyFiles.nt]
32-
usbser.sys,,,0x20
33-
34-
[DriverInstall.nt.AddReg]
35-
HKR,,DevLoader,,*ntkern
36-
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
37-
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
38-
39-
[DriverInstall.nt.Services]
40-
AddService=usbser, 0x00000002, DriverService.nt
41-
42-
[DriverService.nt]
43-
DisplayName=%SERVICE%
44-
ServiceType=1
45-
StartType=3
46-
ErrorControl=1
47-
ServiceBinary=%12%\%DRIVERFILENAME%.sys
48-
49-
;------------------------------------------------------------------------------
50-
; Vista-64bit Sections
51-
;------------------------------------------------------------------------------
52-
53-
[DriverInstall.NTamd64]
54-
include=mdmcpq.inf
55-
CopyFiles=DriverCopyFiles.NTamd64
56-
AddReg=DriverInstall.NTamd64.AddReg
57-
58-
[DriverCopyFiles.NTamd64]
59-
%DRIVERFILENAME%.sys,,,0x20
60-
61-
[DriverInstall.NTamd64.AddReg]
62-
HKR,,DevLoader,,*ntkern
63-
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
64-
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
65-
66-
[DriverInstall.NTamd64.Services]
67-
AddService=usbser, 0x00000002, DriverService.NTamd64
68-
69-
[DriverService.NTamd64]
70-
DisplayName=%SERVICE%
71-
ServiceType=1
72-
StartType=3
73-
ErrorControl=1
74-
ServiceBinary=%12%\%DRIVERFILENAME%.sys
75-
76-
77-
;------------------------------------------------------------------------------
78-
; Vendor and Product ID Definitions
79-
;------------------------------------------------------------------------------
80-
; When developing your USB device, the VID and PID used in the PC side
81-
; application program and the firmware on the microcontroller must match.
82-
; Modify the below line to use your VID and PID. Use the format as shown below.
83-
; Note: One INF file can be used for multiple devices with different VID and PIDs.
84-
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
85-
;------------------------------------------------------------------------------
86-
[SourceDisksFiles]
87-
[SourceDisksNames]
88-
[DeviceList]
89-
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0042
90-
91-
[DeviceList.NTamd64]
92-
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0042
93-
94-
95-
;------------------------------------------------------------------------------
96-
; String Definitions
97-
;------------------------------------------------------------------------------
98-
;Modify these strings to customize your device
99-
;------------------------------------------------------------------------------
100-
[Strings]
101-
MFGFILENAME="CDC_vista"
102-
DRIVERFILENAME ="usbser"
103-
MFGNAME="Arduino LLC (www.arduino.cc)"
104-
INSTDISK="Arduino Mega 2560 R3 Driver Installer"
105-
DESCRIPTION="Arduino Mega 2560 R3"
106-
SERVICE="USB RS-232 Emulation Driver"
1+
;************************************************************
2+
; Windows USB CDC ACM Setup File
3+
; Copyright (c) 2000 Microsoft Corporation
4+
5+
6+
[Version]
7+
Signature="$Windows NT$"
8+
Class=Ports
9+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
10+
Provider=%MFGNAME%
11+
LayoutFile=layout.inf
12+
CatalogFile=%MFGFILENAME%.cat
13+
DriverVer=11/15/2007,5.1.2600.0
14+
15+
[Manufacturer]
16+
%MFGNAME%=DeviceList, NTamd64
17+
18+
[DestinationDirs]
19+
DefaultDestDir=12
20+
21+
22+
;------------------------------------------------------------------------------
23+
; Windows 2000/XP/Vista-32bit Sections
24+
;------------------------------------------------------------------------------
25+
26+
[DriverInstall.nt]
27+
include=mdmcpq.inf
28+
CopyFiles=DriverCopyFiles.nt
29+
AddReg=DriverInstall.nt.AddReg
30+
31+
[DriverCopyFiles.nt]
32+
usbser.sys,,,0x20
33+
34+
[DriverInstall.nt.AddReg]
35+
HKR,,DevLoader,,*ntkern
36+
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
37+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
38+
39+
[DriverInstall.nt.Services]
40+
AddService=usbser, 0x00000002, DriverService.nt
41+
42+
[DriverService.nt]
43+
DisplayName=%SERVICE%
44+
ServiceType=1
45+
StartType=3
46+
ErrorControl=1
47+
ServiceBinary=%12%\%DRIVERFILENAME%.sys
48+
49+
;------------------------------------------------------------------------------
50+
; Vista-64bit Sections
51+
;------------------------------------------------------------------------------
52+
53+
[DriverInstall.NTamd64]
54+
include=mdmcpq.inf
55+
CopyFiles=DriverCopyFiles.NTamd64
56+
AddReg=DriverInstall.NTamd64.AddReg
57+
58+
[DriverCopyFiles.NTamd64]
59+
%DRIVERFILENAME%.sys,,,0x20
60+
61+
[DriverInstall.NTamd64.AddReg]
62+
HKR,,DevLoader,,*ntkern
63+
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
64+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
65+
66+
[DriverInstall.NTamd64.Services]
67+
AddService=usbser, 0x00000002, DriverService.NTamd64
68+
69+
[DriverService.NTamd64]
70+
DisplayName=%SERVICE%
71+
ServiceType=1
72+
StartType=3
73+
ErrorControl=1
74+
ServiceBinary=%12%\%DRIVERFILENAME%.sys
75+
76+
77+
;------------------------------------------------------------------------------
78+
; Vendor and Product ID Definitions
79+
;------------------------------------------------------------------------------
80+
; When developing your USB device, the VID and PID used in the PC side
81+
; application program and the firmware on the microcontroller must match.
82+
; Modify the below line to use your VID and PID. Use the format as shown below.
83+
; Note: One INF file can be used for multiple devices with different VID and PIDs.
84+
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
85+
;------------------------------------------------------------------------------
86+
[SourceDisksFiles]
87+
[SourceDisksNames]
88+
[DeviceList]
89+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0042
90+
91+
[DeviceList.NTamd64]
92+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0042
93+
94+
95+
;------------------------------------------------------------------------------
96+
; String Definitions
97+
;------------------------------------------------------------------------------
98+
;Modify these strings to customize your device
99+
;------------------------------------------------------------------------------
100+
[Strings]
101+
MFGFILENAME="CDC_vista"
102+
DRIVERFILENAME ="usbser"
103+
MFGNAME="Arduino LLC (www.arduino.cc)"
104+
INSTDISK="Arduino Mega 2560 R3 Driver Installer"
105+
DESCRIPTION="Arduino Mega 2560 R3"
106+
SERVICE="USB RS-232 Emulation Driver"

0 commit comments

Comments
 (0)