blob: 7ca766745dee68c1a6cf44355ed36737885bcf43 [file] [log] [blame]
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +02001; qemupciserial.inf for QEMU, based on MSPORTS.INF
2
3; The driver itself is shipped with Windows (serial.sys). This is
Ville Skyttä9277d812018-06-12 09:51:50 +03004; just an inf file to tell windows which pci id the serial pci card
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +02005; 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
Miki Mishaeldc9528f2014-01-19 11:43:05 -050014; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x
15; for both 32 and 64 bit platforms.
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020016
17[Version]
Miki Mishaeldc9528f2014-01-19 11:43:05 -050018Signature="$Windows NT$"
19Class=MultiFunction
20ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318}
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020021Provider=%QEMU%
Miki Mishaeldc9528f2014-01-19 11:43:05 -050022DriverVer=12/29/2013,1.3.0
23[ControlFlags]
24ExcludeFromSelect=*
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020025[Manufacturer]
Miki Mishaeldc9528f2014-01-19 11:43:05 -050026%QEMU%=QEMU,NTx86,NTAMD64
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020027
28[QEMU.NTx86]
Miki Mishaeldc9528f2014-01-19 11:43:05 -050029%QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
30%QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
31%QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020032
Miki Mishaeldc9528f2014-01-19 11:43:05 -050033[QEMU.NTAMD64]
34%QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
35%QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
36%QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020037
Miki Mishaeldc9528f2014-01-19 11:43:05 -050038[ComPort_inst1]
39Include=mf.inf
40Needs=MFINSTALL.mf
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020041
Miki Mishaeldc9528f2014-01-19 11:43:05 -050042[ComPort_inst2]
43Include=mf.inf
44Needs=MFINSTALL.mf
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020045
Miki Mishaeldc9528f2014-01-19 11:43:05 -050046[ComPort_inst4]
47Include=mf.inf
48Needs=MFINSTALL.mf
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020049
Miki Mishaeldc9528f2014-01-19 11:43:05 -050050[ComPort_inst1.HW]
51AddReg=ComPort_inst1.RegHW
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020052
Miki Mishaeldc9528f2014-01-19 11:43:05 -050053[ComPort_inst2.HW]
54AddReg=ComPort_inst2.RegHW
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020055
Miki Mishaeldc9528f2014-01-19 11:43:05 -050056[ComPort_inst4.HW]
57AddReg=ComPort_inst4.RegHW
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020058
Miki Mishaeldc9528f2014-01-19 11:43:05 -050059[ComPort_inst1.Services]
60Include=mf.inf
61Needs=MFINSTALL.mf.Services
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020062
Miki Mishaeldc9528f2014-01-19 11:43:05 -050063[ComPort_inst2.Services]
64Include=mf.inf
65Needs=MFINSTALL.mf.Services
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020066
Miki Mishaeldc9528f2014-01-19 11:43:05 -050067[ComPort_inst4.Services]
68Include=mf.inf
69Needs=MFINSTALL.mf.Services
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020070
Miki Mishaeldc9528f2014-01-19 11:43:05 -050071[ComPort_inst1.RegHW]
72HKR,Child0000,HardwareID,,*PNP0501
73HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
74HKR,Child0000,ResourceMap,1,02
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020075
Miki Mishaeldc9528f2014-01-19 11:43:05 -050076[ComPort_inst2.RegHW]
77HKR,Child0000,HardwareID,,*PNP0501
78HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
79HKR,Child0000,ResourceMap,1,02
80HKR,Child0001,HardwareID,,*PNP0501
81HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
82HKR,Child0001,ResourceMap,1,02
83
84[ComPort_inst4.RegHW]
85HKR,Child0000,HardwareID,,*PNP0501
86HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
87HKR,Child0000,ResourceMap,1,02
88HKR,Child0001,HardwareID,,*PNP0501
89HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
90HKR,Child0001,ResourceMap,1,02
91HKR,Child0002,HardwareID,,*PNP0501
92HKR,Child0002,VaryingResourceMap,1,00, 10,00,00,00, 08,00,00,00
93HKR,Child0002,ResourceMap,1,02
94HKR,Child0003,HardwareID,,*PNP0501
95HKR,Child0003,VaryingResourceMap,1,00, 18,00,00,00, 08,00,00,00
96HKR,Child0003,ResourceMap,1,02
Gerd Hoffmannfe4f1792012-10-17 09:54:21 +020097
98[Strings]
99QEMU="QEMU"
Miki Mishaeldc9528f2014-01-19 11:43:05 -0500100QEMU-PCI_SERIAL_1_PORT="1x QEMU PCI Serial Card"
101QEMU-PCI_SERIAL_2_PORT="2x QEMU PCI Serial Card"
102QEMU-PCI_SERIAL_4_PORT="4x QEMU PCI Serial Card"