qemupciserial.inf 2.9 KB
Newer Older
1 2 3
; qemupciserial.inf for QEMU, based on MSPORTS.INF

; The driver itself is shipped with Windows (serial.sys).  This is
V
Ville Skyttä 已提交
4
; just an inf file to tell windows which pci id the serial pci card
5 6 7 8 9 10 11 12 13
; emulated by qemu has, and to apply a name tag to it which windows
; will show in the device manager.

; Installing the driver: Go to device manager.  You should find a "pci
; serial card" tagged with a yellow question mark.  Open properties.
; Pick "update driver".  Then "select driver manually".  Pick "Ports
; (Com+Lpt)" from the list.  Click "Have a disk".  Select this file.
; Procedure may vary a bit depending on the windows version.

14 15
; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x
; for both 32 and 64 bit platforms.
16 17

[Version]
18 19 20
Signature="$Windows NT$"
Class=MultiFunction
ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318}
21
Provider=%QEMU%
22 23 24
DriverVer=12/29/2013,1.3.0
[ControlFlags]
ExcludeFromSelect=*
25
[Manufacturer]
26
%QEMU%=QEMU,NTx86,NTAMD64
27 28

[QEMU.NTx86]
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
%QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
%QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
%QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004

[QEMU.NTAMD64]
%QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
%QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
%QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004

[ComPort_inst1]
Include=mf.inf
Needs=MFINSTALL.mf

[ComPort_inst2]
Include=mf.inf
Needs=MFINSTALL.mf

[ComPort_inst4]
Include=mf.inf
Needs=MFINSTALL.mf

[ComPort_inst1.HW]
AddReg=ComPort_inst1.RegHW

[ComPort_inst2.HW]
AddReg=ComPort_inst2.RegHW

[ComPort_inst4.HW]
AddReg=ComPort_inst4.RegHW

[ComPort_inst1.Services]
Include=mf.inf
Needs=MFINSTALL.mf.Services

[ComPort_inst2.Services]
Include=mf.inf
Needs=MFINSTALL.mf.Services

[ComPort_inst4.Services]
Include=mf.inf
Needs=MFINSTALL.mf.Services

[ComPort_inst1.RegHW]
HKR,Child0000,HardwareID,,*PNP0501
HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
HKR,Child0000,ResourceMap,1,02

[ComPort_inst2.RegHW]
HKR,Child0000,HardwareID,,*PNP0501
HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
HKR,Child0000,ResourceMap,1,02
HKR,Child0001,HardwareID,,*PNP0501
HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
HKR,Child0001,ResourceMap,1,02

[ComPort_inst4.RegHW]
HKR,Child0000,HardwareID,,*PNP0501
HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
HKR,Child0000,ResourceMap,1,02
HKR,Child0001,HardwareID,,*PNP0501
HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
HKR,Child0001,ResourceMap,1,02
HKR,Child0002,HardwareID,,*PNP0501
HKR,Child0002,VaryingResourceMap,1,00, 10,00,00,00, 08,00,00,00
HKR,Child0002,ResourceMap,1,02
HKR,Child0003,HardwareID,,*PNP0501
HKR,Child0003,VaryingResourceMap,1,00, 18,00,00,00, 08,00,00,00
HKR,Child0003,ResourceMap,1,02
97 98 99

[Strings]
QEMU="QEMU"
100 101 102
QEMU-PCI_SERIAL_1_PORT="1x QEMU PCI Serial Card"
QEMU-PCI_SERIAL_2_PORT="2x QEMU PCI Serial Card"
QEMU-PCI_SERIAL_4_PORT="4x QEMU PCI Serial Card"