1 ; qemupciserial.inf for QEMU, based on MSPORTS.INF
3 ; The driver itself is shipped with Windows (serial.sys). This is
4 ; just a inf file to tell windows which pci id the serial pci card
5 ; emulated by qemu has, and to apply a name tag to it which windows
6 ; will show in the device manager.
8 ; Installing the driver: Go to device manager. You should find a "pci
9 ; serial card" tagged with a yellow question mark. Open properties.
10 ; Pick "update driver". Then "select driver manually". Pick "Ports
11 ; (Com+Lpt)" from the list. Click "Have a disk". Select this file.
12 ; Procedure may vary a bit depending on the windows version.
14 ; FIXME: This file covers the single port version only.
19 ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
21 DriverVer=09/24/2012,1.3.0
31 DefaultDestDir = 11 ;LDID_SYS
32 ComPort.NT.Copy = 12 ;DIRID_DRIVERS
33 SerialEnumerator.NT.Copy=12 ;DIRID_DRIVERS
36 ;----------------------------------------------------------
41 %QEMU-PCI_SERIAL.DeviceDesc% = ComPort, "PCI\VEN_1b36&DEV_0002&CC_0700"
44 ;----------------------------------------------------------
46 HKR,,PortSubClass,1,01
49 AddReg=ComPort.AddReg, ComPort.NT.AddReg
54 AddReg=ComPort.NT.HW.AddReg
57 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
59 [ComPort.NT.HW.AddReg]
60 HKR,,"UpperFilters",0x00010000,"serenum"
62 ;-------------- Service installation
63 ; Port Driver (function driver for this device)
65 AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
66 AddService = Serenum,,Serenum_Service_Inst
68 ; -------------- Serial Port Driver install sections
70 DisplayName = %Serial.SVCDESC%
71 ServiceType = 1 ; SERVICE_KERNEL_DRIVER
72 StartType = 1 ; SERVICE_SYSTEM_START (this driver may do detection)
73 ErrorControl = 0 ; SERVICE_ERROR_IGNORE
74 ServiceBinary = %12%\serial.sys
75 LoadOrderGroup = Extended base
77 ; -------------- Serenum Driver install section
78 [Serenum_Service_Inst]
79 DisplayName = %Serenum.SVCDESC%
80 ServiceType = 1 ; SERVICE_KERNEL_DRIVER
81 StartType = 3 ; SERVICE_DEMAND_START
82 ErrorControl = 1 ; SERVICE_ERROR_NORMAL
83 ServiceBinary = %12%\serenum.sys
84 LoadOrderGroup = PNP Filter
86 [Serial_EventLog_Inst]
87 AddReg = Serial_EventLog_AddReg
89 [Serial_EventLog_AddReg]
90 HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\serial.sys"
91 HKR,,TypesSupported,0x00010001,7
93 ; The following sections are COM port resource configs.
94 ; Section name format means:
95 ; Char 1 = c (COM port)
96 ; Char 2 = I/O config: 1 (3f8), 2 (2f8), 3 (3e8), 4 (2e8), a (any)
97 ; Char 3 = IRQ config: #, a (any)
99 [caa] ; Any base, any IRQ
100 ConfigPriority=HARDRECONFIG
101 IOConfig=8@100-ffff%fff8(3ff::)
102 IRQConfig=S:3,4,5,7,9,10,11,12,14,15
106 QEMU-PCI_SERIAL.DeviceDesc="QEMU Serial PCI Card"
108 Serial.SVCDESC = "Serial port driver"
109 Serenum.SVCDESC = "Serenum Filter Driver"