Using Compatible IDs in a driver INF file to install driver

  • Thread starter Thread starter _Wayne56
  • Start date Start date
W

_Wayne56

Guest
Hi,

I am looking at using Compatible ID, in our serial driver's INF file.
The serial driver's INF sample:

; For XP and later
[MSFT.NTx86]
; DisplayName Section DeviceId
; ----------- ------- --------
%PNP0500.DevDesc%= Serial_Inst, *PNP0500, *PNP0501 ; Communications Port
%PNP0501.DevDesc%= Serial_Inst, *PNP0501, *PNP0500 ; Communications Port

I try to add Compatible ID before Device ID, like this:

; For XP and later
[MSFT.NTx86]
; DisplayName Section DeviceId
; ----------- ------- --------
%PNP0500.DevDesc%= Serial_Inst, *ABC0123, *PNP0500, *PNP0501 ; Communications Port
%PNP0501.DevDesc%= Serial_Inst, *ABC0123, *PNP0501, *PNP0500 ; Communications Port

The driver install successful on device which has compatible ID "ABC0123", but the driver detail show that inbox driver still exist?
1612945.png

Regards

Continue reading...
 
Back
Top