qemupciserial.inf 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ; qemupciserial.inf for QEMU, based on MSPORTS.INF
  2. ; The driver itself is shipped with Windows (serial.sys). This is
  3. ; just a inf file to tell windows which pci id the serial pci card
  4. ; emulated by qemu has, and to apply a name tag to it which windows
  5. ; will show in the device manager.
  6. ; Installing the driver: Go to device manager. You should find a "pci
  7. ; serial card" tagged with a yellow question mark. Open properties.
  8. ; Pick "update driver". Then "select driver manually". Pick "Ports
  9. ; (Com+Lpt)" from the list. Click "Have a disk". Select this file.
  10. ; Procedure may vary a bit depending on the windows version.
  11. ; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x
  12. ; for both 32 and 64 bit platforms.
  13. [Version]
  14. Signature="$Windows NT$"
  15. Class=MultiFunction
  16. ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318}
  17. Provider=%QEMU%
  18. DriverVer=12/29/2013,1.3.0
  19. [ControlFlags]
  20. ExcludeFromSelect=*
  21. [Manufacturer]
  22. %QEMU%=QEMU,NTx86,NTAMD64
  23. [QEMU.NTx86]
  24. %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
  25. %QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
  26. %QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
  27. [QEMU.NTAMD64]
  28. %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
  29. %QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
  30. %QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
  31. [ComPort_inst1]
  32. Include=mf.inf
  33. Needs=MFINSTALL.mf
  34. [ComPort_inst2]
  35. Include=mf.inf
  36. Needs=MFINSTALL.mf
  37. [ComPort_inst4]
  38. Include=mf.inf
  39. Needs=MFINSTALL.mf
  40. [ComPort_inst1.HW]
  41. AddReg=ComPort_inst1.RegHW
  42. [ComPort_inst2.HW]
  43. AddReg=ComPort_inst2.RegHW
  44. [ComPort_inst4.HW]
  45. AddReg=ComPort_inst4.RegHW
  46. [ComPort_inst1.Services]
  47. Include=mf.inf
  48. Needs=MFINSTALL.mf.Services
  49. [ComPort_inst2.Services]
  50. Include=mf.inf
  51. Needs=MFINSTALL.mf.Services
  52. [ComPort_inst4.Services]
  53. Include=mf.inf
  54. Needs=MFINSTALL.mf.Services
  55. [ComPort_inst1.RegHW]
  56. HKR,Child0000,HardwareID,,*PNP0501
  57. HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
  58. HKR,Child0000,ResourceMap,1,02
  59. [ComPort_inst2.RegHW]
  60. HKR,Child0000,HardwareID,,*PNP0501
  61. HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
  62. HKR,Child0000,ResourceMap,1,02
  63. HKR,Child0001,HardwareID,,*PNP0501
  64. HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
  65. HKR,Child0001,ResourceMap,1,02
  66. [ComPort_inst4.RegHW]
  67. HKR,Child0000,HardwareID,,*PNP0501
  68. HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
  69. HKR,Child0000,ResourceMap,1,02
  70. HKR,Child0001,HardwareID,,*PNP0501
  71. HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
  72. HKR,Child0001,ResourceMap,1,02
  73. HKR,Child0002,HardwareID,,*PNP0501
  74. HKR,Child0002,VaryingResourceMap,1,00, 10,00,00,00, 08,00,00,00
  75. HKR,Child0002,ResourceMap,1,02
  76. HKR,Child0003,HardwareID,,*PNP0501
  77. HKR,Child0003,VaryingResourceMap,1,00, 18,00,00,00, 08,00,00,00
  78. HKR,Child0003,ResourceMap,1,02
  79. [Strings]
  80. QEMU="QEMU"
  81. QEMU-PCI_SERIAL_1_PORT="1x QEMU PCI Serial Card"
  82. QEMU-PCI_SERIAL_2_PORT="2x QEMU PCI Serial Card"
  83. QEMU-PCI_SERIAL_4_PORT="4x QEMU PCI Serial Card"