qemupciserial.inf (3016B)
1; qemupciserial.inf for QEMU, based on MSPORTS.INF 2 3; The driver itself is shipped with Windows (serial.sys). This is 4; just an 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; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x 15; for both 32 and 64 bit platforms. 16 17[Version] 18Signature="$Windows NT$" 19Class=MultiFunction 20ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318} 21Provider=%QEMU% 22DriverVer=12/29/2013,1.3.0 23[ControlFlags] 24ExcludeFromSelect=* 25[Manufacturer] 26%QEMU%=QEMU,NTx86,NTAMD64 27 28[QEMU.NTx86] 29%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 32 33[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 37 38[ComPort_inst1] 39Include=mf.inf 40Needs=MFINSTALL.mf 41 42[ComPort_inst2] 43Include=mf.inf 44Needs=MFINSTALL.mf 45 46[ComPort_inst4] 47Include=mf.inf 48Needs=MFINSTALL.mf 49 50[ComPort_inst1.HW] 51AddReg=ComPort_inst1.RegHW 52 53[ComPort_inst2.HW] 54AddReg=ComPort_inst2.RegHW 55 56[ComPort_inst4.HW] 57AddReg=ComPort_inst4.RegHW 58 59[ComPort_inst1.Services] 60Include=mf.inf 61Needs=MFINSTALL.mf.Services 62 63[ComPort_inst2.Services] 64Include=mf.inf 65Needs=MFINSTALL.mf.Services 66 67[ComPort_inst4.Services] 68Include=mf.inf 69Needs=MFINSTALL.mf.Services 70 71[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 75 76[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 97 98[Strings] 99QEMU="QEMU" 100QEMU-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"