]> git.proxmox.com Git - qemu.git/blame - docs/qemupciserial.inf
qdev-properties-system.c: Allow vlan or netdev for -device, not both
[qemu.git] / docs / qemupciserial.inf
CommitLineData
fe4f1793
GH
1; qemupciserial.inf for QEMU, based on MSPORTS.INF
2
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.
7
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.
13
14; FIXME: This file covers the single port version only.
15
16[Version]
17Signature="$CHICAGO$"
18Class=Ports
19ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
20Provider=%QEMU%
21DriverVer=09/24/2012,1.3.0
22
23[SourceDisksNames]
243426=windows cd
25
26[SourceDisksFiles]
27serial.sys = 3426
28serenum.sys = 3426
29
30[DestinationDirs]
31DefaultDestDir = 11 ;LDID_SYS
32ComPort.NT.Copy = 12 ;DIRID_DRIVERS
33SerialEnumerator.NT.Copy=12 ;DIRID_DRIVERS
34
35; Drivers
36;----------------------------------------------------------
37[Manufacturer]
38%QEMU%=QEMU,NTx86
39
40[QEMU.NTx86]
41%QEMU-PCI_SERIAL.DeviceDesc% = ComPort, "PCI\VEN_1b36&DEV_0002&CC_0700"
42
43; COM sections
44;----------------------------------------------------------
45[ComPort.AddReg]
46HKR,,PortSubClass,1,01
47
48[ComPort.NT]
49AddReg=ComPort.AddReg, ComPort.NT.AddReg
50LogConfig=caa
51SyssetupPnPFlags = 1
52
53[ComPort.NT.HW]
54AddReg=ComPort.NT.HW.AddReg
55
56[ComPort.NT.AddReg]
57HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
58
59[ComPort.NT.HW.AddReg]
60HKR,,"UpperFilters",0x00010000,"serenum"
61
62;-------------- Service installation
63; Port Driver (function driver for this device)
64[ComPort.NT.Services]
65AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
66AddService = Serenum,,Serenum_Service_Inst
67
68; -------------- Serial Port Driver install sections
69[Serial_Service_Inst]
70DisplayName = %Serial.SVCDESC%
71ServiceType = 1 ; SERVICE_KERNEL_DRIVER
72StartType = 1 ; SERVICE_SYSTEM_START (this driver may do detection)
73ErrorControl = 0 ; SERVICE_ERROR_IGNORE
74ServiceBinary = %12%\serial.sys
75LoadOrderGroup = Extended base
76
77; -------------- Serenum Driver install section
78[Serenum_Service_Inst]
79DisplayName = %Serenum.SVCDESC%
80ServiceType = 1 ; SERVICE_KERNEL_DRIVER
81StartType = 3 ; SERVICE_DEMAND_START
82ErrorControl = 1 ; SERVICE_ERROR_NORMAL
83ServiceBinary = %12%\serenum.sys
84LoadOrderGroup = PNP Filter
85
86[Serial_EventLog_Inst]
87AddReg = Serial_EventLog_AddReg
88
89[Serial_EventLog_AddReg]
90HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\serial.sys"
91HKR,,TypesSupported,0x00010001,7
92
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)
98
99[caa] ; Any base, any IRQ
100ConfigPriority=HARDRECONFIG
101IOConfig=8@100-ffff%fff8(3ff::)
102IRQConfig=S:3,4,5,7,9,10,11,12,14,15
103
104[Strings]
105QEMU="QEMU"
106QEMU-PCI_SERIAL.DeviceDesc="QEMU Serial PCI Card"
107
108Serial.SVCDESC = "Serial port driver"
109Serenum.SVCDESC = "Serenum Filter Driver"