Newbie .inf import problems

  • Thread starter Thread starter MARTIN SPENCE
  • Start date Start date
M

MARTIN SPENCE

Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
The greyed out components mean that these components are already in the database. Concordance IDs can be ignored. Failures are a different story depending on the failure - missing INF files need to be in the same path as the imported INF, where registry and other sectional data can be ignored.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit

Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Really - is it out and available yet - send me a link and you will have a nother customer.

Thanks again.

--
MARTIN SPENCE

How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one .inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
http://www.sjjmicro.com/XPES.html
http://www.sjjmicro.com/XPES_Tools_R2.html
http://www.seanliming.com/books.html

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Really - is it out and available yet - send me a link and you will have a nother customer.

Thanks again.

--
MARTIN SPENCE

How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one ..inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Sean,

I hate to keep asking for help but...

I am unable to get the following devices driver to show up in an XPe image. I have tried everything I can think of. Is there anything obvious you can see that I am missing? I have copied the .inf and the ..reg files supplied with the driver. Adding the registry data does not seem to help - removing the registry data does not seem to help. I am at a loss.

Thanksin advance - I'll buy your XPeSP2 book today

..inf
####################################################################################
[Version]
Signature="$Chicago$"
Class=Media
Provider=%Thakral%

[Manufacturer]
%Thakral%=THAKRAL

[THAKRAL]
%S7200.DRVDESC%=S7200_Inst,PCI\VEN_1131&DEV_7146&SUBSYS_54100010&REV_01


[DestinationDirs]
S7200.Files.Driver=10,System32\Drivers
S7200.Files.Driver.NTx86=10,System32\Drivers

[SourceDisksNames]
1="S7200 Serial Card Install disk",,,

[SourceDisksFiles]
surv.sys=1

[SourceDisksFiles.NTx86]
surv.sys=1


[S7200_Inst]
CopyFiles=S7200.Files.Driver
AddReg=S7200.AddReg


[S7200.Addreg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,surv.sys

[S7200.Files.Driver]
surv.sys

;;;;;;;;;;;;;20000;;;;;;;;;;;;;;;;;;;;;;
[S7200_Inst.NTx86]
CopyFiles=S7200.Files.Driver.NTx86

[S7200.Files.Driver.NTx86]
surv.sys,,,%COPYFLG_NOSKIP%

[S7200_Inst.NTx86.Services]
AddService=Surv,0x00000002,S7200_Service

[S7200_Service]
DisplayName = %S7200.SVCDESC%
ServiceType = 1
StartType = 2
ErrorControl = 1
ServiceBinary = %10%\System32\Drivers\surv.sys



[Strings]
Thakral = "Thakral(ChengDu)"
S7200.SVCDESC = "S7200 Service"
S7200.DRVDESC = "S7200 Multimedia Card"


;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
COPYFLG_NOSKIP=2 ; Do not allow user to skip file

#######################################################################################

..reg
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Surv]
"Type"=dword:00000001
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,53,79,73,74,65,6d,52,6f,6f,74,5c,53,79,73,74,65,6d,33,32,\
5c,64,72,69,76,65,72,73,5c,73,75,72,76,2e,73,79,73,00
"DisplayName"="S7000"
@="S1000"
"Surv0"=dword:00000000
"Surv1"=dword:00000000
"Surv2"=dword:00000000
"Surv3"=dword:00000000
"Surv4"=dword:00000000
"Surv5"=dword:00000000
"Surv6"=dword:00000000
"Surv7"=dword:00000000
"Surv8"=dword:00000000
"Surv9"=dword:00000000
"SurvA"=dword:00000000
"SurvB"=dword:00000000
"SurvC"=dword:00000000
"SurvD"=dword:00000000
"SurvE"=dword:00000000
"SurvF"=dword:00000000
"Surv10"=dword:00000000
"Surv11"=dword:00000000
"Surv12"=dword:00000000
"Surv13"=dword:00000000
"Surv14"=dword:00000000
"Surv15"=dword:00000000
"Surv16"=dword:00000000
"Surv17"=dword:00000000
"Surv18"=dword:00000000
"Surv19"=dword:00000000
"Surv1A"=dword:00000000
"Surv1B"=dword:00000000
"Surv1C"=dword:00000000
"Surv1D"=dword:00000000
"Surv1E"=dword:00000000
"Surv1F"=dword:00000000
"Surv20"=dword:00000000
"Surv21"=dword:00000000
"Surv22"=dword:00000000
"Surv23"=dword:00000000
"Surv24"=dword:00000000
"Surv25"=dword:00000000
"Surv26"=dword:00000000

"Using"=dword:00000000
"TotalCards"=dword:00000000
"Group"=""




--
MARTIN SPENCE

http://www.sjjmicro.com/XPES.html
http://www.sjjmicro.com/XPES_Tools_R2.html
http://www.seanliming.com/books.html

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Really - is it out and available yet - send me a link and you will have a nother customer.

Thanks again.

--
MARTIN SPENCE

How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one ..inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
The INF imports with a custom parsing option of THAKRAL. If the driver isn't loading, make sure that the PnP ID found in the component's resources matches the PnP ID found in Device manager for the card. If they don't match then you have the wrong driver or INF file.

If they do match, I suspect that there is a missing component that somehow kicks off this driver.


Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

I hate to keep asking for help but...

I am unable to get the following devices driver to show up in an XPe image. I have tried everything I can think of. Is there anything obvious you can see that I am missing? I have copied the .inf and the ..reg files supplied with the driver. Adding the registry data does not seem to help - removing the registry data does not seem to help. I am at a loss.

Thanksin advance - I'll buy your XPeSP2 book today

.inf
####################################################################################
[Version]
Signature="$Chicago$"
Class=Media
Provider=%Thakral%

[Manufacturer]
%Thakral%=THAKRAL

[THAKRAL]
%S7200.DRVDESC%=S7200_Inst,PCI\VEN_1131&DEV_7146&SUBSYS_54100010&REV_01


[DestinationDirs]
S7200.Files.Driver=10,System32\Drivers
S7200.Files.Driver.NTx86=10,System32\Drivers

[SourceDisksNames]
1="S7200 Serial Card Install disk",,,

[SourceDisksFiles]
surv.sys=1

[SourceDisksFiles.NTx86]
surv.sys=1


[S7200_Inst]
CopyFiles=S7200.Files.Driver
AddReg=S7200.AddReg


[S7200.Addreg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,surv.sys

[S7200.Files.Driver]
surv.sys

;;;;;;;;;;;;;20000;;;;;;;;;;;;;;;;;;;;;;
[S7200_Inst.NTx86]
CopyFiles=S7200.Files.Driver.NTx86

[S7200.Files.Driver.NTx86]
surv.sys,,,%COPYFLG_NOSKIP%

[S7200_Inst.NTx86.Services]
AddService=Surv,0x00000002,S7200_Service

[S7200_Service]
DisplayName = %S7200.SVCDESC%
ServiceType = 1
StartType = 2
ErrorControl = 1
ServiceBinary = %10%\System32\Drivers\surv.sys



[Strings]
Thakral = "Thakral(ChengDu)"
S7200.SVCDESC = "S7200 Service"
S7200.DRVDESC = "S7200 Multimedia Card"


;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
COPYFLG_NOSKIP=2 ; Do not allow user to skip file

#######################################################################################

.reg
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Surv]
"Type"=dword:00000001
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,53,79,73,74,65,6d,52,6f,6f,74,5c,53,79,73,74,65,6d,33,32,\
5c,64,72,69,76,65,72,73,5c,73,75,72,76,2e,73,79,73,00
"DisplayName"="S7000"
@="S1000"
"Surv0"=dword:00000000
"Surv1"=dword:00000000
"Surv2"=dword:00000000
"Surv3"=dword:00000000
"Surv4"=dword:00000000
"Surv5"=dword:00000000
"Surv6"=dword:00000000
"Surv7"=dword:00000000
"Surv8"=dword:00000000
"Surv9"=dword:00000000
"SurvA"=dword:00000000
"SurvB"=dword:00000000
"SurvC"=dword:00000000
"SurvD"=dword:00000000
"SurvE"=dword:00000000
"SurvF"=dword:00000000
"Surv10"=dword:00000000
"Surv11"=dword:00000000
"Surv12"=dword:00000000
"Surv13"=dword:00000000
"Surv14"=dword:00000000
"Surv15"=dword:00000000
"Surv16"=dword:00000000
"Surv17"=dword:00000000
"Surv18"=dword:00000000
"Surv19"=dword:00000000
"Surv1A"=dword:00000000
"Surv1B"=dword:00000000
"Surv1C"=dword:00000000
"Surv1D"=dword:00000000
"Surv1E"=dword:00000000
"Surv1F"=dword:00000000
"Surv20"=dword:00000000
"Surv21"=dword:00000000
"Surv22"=dword:00000000
"Surv23"=dword:00000000
"Surv24"=dword:00000000
"Surv25"=dword:00000000
"Surv26"=dword:00000000

"Using"=dword:00000000
"TotalCards"=dword:00000000
"Group"=""




--
MARTIN SPENCE

http://www.sjjmicro.com/XPES.html
http://www.sjjmicro.com/XPES_Tools_R2.html
http://www.seanliming.com/books.html

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Really - is it out and available yet - send me a link and you will have a nother customer.

Thanks again.

--
MARTIN SPENCE

How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one ..inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Thanks for the help - I had a brain fart moment today and realized that we used to set the BIOS to: PnP OS=No.

I switched the PnP OS=Yes and the drivers started working - something about bus enumeration I expect.

I now understand your earlier point of painful learning via doing.

--
MARTIN SPENCE
The INF imports with a custom parsing option of THAKRAL. If the driver isn't loading, make sure that the PnP ID found in the component's resources matches the PnP ID found in Device manager for the card. If they don't match then you have the wrong driver or INF file.

If they do match, I suspect that there is a missing component that somehow kicks off this driver.


Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

I hate to keep asking for help but...

I am unable to get the following devices driver to show up in an XPe image. I have tried everything I can think of. Is there anything obvious you can see that I am missing? I have copied the .inf and the ..reg files supplied with the driver. Adding the registry data does not seem to help - removing the registry data does not seem to help. I am at a loss.

Thanksin advance - I'll buy your XPeSP2 book today

.inf
####################################################################################
[Version]
Signature="$Chicago$"
Class=Media
Provider=%Thakral%

[Manufacturer]
%Thakral%=THAKRAL

[THAKRAL]
%S7200.DRVDESC%=S7200_Inst,PCI\VEN_1131&DEV_7146&SUBSYS_54100010&REV_01


[DestinationDirs]
S7200.Files.Driver=10,System32\Drivers
S7200.Files.Driver.NTx86=10,System32\Drivers

[SourceDisksNames]
1="S7200 Serial Card Install disk",,,

[SourceDisksFiles]
surv.sys=1

[SourceDisksFiles.NTx86]
surv.sys=1


[S7200_Inst]
CopyFiles=S7200.Files.Driver
AddReg=S7200.AddReg


[S7200.Addreg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,surv.sys

[S7200.Files.Driver]
surv.sys

;;;;;;;;;;;;;20000;;;;;;;;;;;;;;;;;;;;;;
[S7200_Inst.NTx86]
CopyFiles=S7200.Files.Driver.NTx86

[S7200.Files.Driver.NTx86]
surv.sys,,,%COPYFLG_NOSKIP%

[S7200_Inst.NTx86.Services]
AddService=Surv,0x00000002,S7200_Service

[S7200_Service]
DisplayName = %S7200.SVCDESC%
ServiceType = 1
StartType = 2
ErrorControl = 1
ServiceBinary = %10%\System32\Drivers\surv.sys



[Strings]
Thakral = "Thakral(ChengDu)"
S7200.SVCDESC = "S7200 Service"
S7200.DRVDESC = "S7200 Multimedia Card"


;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
;S7200.DRVDESC = "S7200 MPEG-1 JPEG Encoder"
COPYFLG_NOSKIP=2 ; Do not allow user to skip file

#######################################################################################

.reg
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Surv]
"Type"=dword:00000001
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,53,79,73,74,65,6d,52,6f,6f,74,5c,53,79,73,74,65,6d,33,32,\
5c,64,72,69,76,65,72,73,5c,73,75,72,76,2e,73,79,73,00
"DisplayName"="S7000"
@="S1000"
"Surv0"=dword:00000000
"Surv1"=dword:00000000
"Surv2"=dword:00000000
"Surv3"=dword:00000000
"Surv4"=dword:00000000
"Surv5"=dword:00000000
"Surv6"=dword:00000000
"Surv7"=dword:00000000
"Surv8"=dword:00000000
"Surv9"=dword:00000000
"SurvA"=dword:00000000
"SurvB"=dword:00000000
"SurvC"=dword:00000000
"SurvD"=dword:00000000
"SurvE"=dword:00000000
"SurvF"=dword:00000000
"Surv10"=dword:00000000
"Surv11"=dword:00000000
"Surv12"=dword:00000000
"Surv13"=dword:00000000
"Surv14"=dword:00000000
"Surv15"=dword:00000000
"Surv16"=dword:00000000
"Surv17"=dword:00000000
"Surv18"=dword:00000000
"Surv19"=dword:00000000
"Surv1A"=dword:00000000
"Surv1B"=dword:00000000
"Surv1C"=dword:00000000
"Surv1D"=dword:00000000
"Surv1E"=dword:00000000
"Surv1F"=dword:00000000
"Surv20"=dword:00000000
"Surv21"=dword:00000000
"Surv22"=dword:00000000
"Surv23"=dword:00000000
"Surv24"=dword:00000000
"Surv25"=dword:00000000
"Surv26"=dword:00000000

"Using"=dword:00000000
"TotalCards"=dword:00000000
"Group"=""




--
MARTIN SPENCE

http://www.sjjmicro.com/XPES.html
http://www.sjjmicro.com/XPES_Tools_R2.html
http://www.seanliming.com/books.html

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Really - is it out and available yet - send me a link and you will have a nother customer.

Thanks again.

--
MARTIN SPENCE

How did I know? - long painful suffering and learn by doing. Basically just try stuff and see what happens. That is what my books are based on.

BTW- I have another book that covers SP2.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Sean,

Thanks very much - btw I like your book and it has been my only link to sanity on this project. I wonder if you could explain how you knew? Rather than monkey-see-monkey-do I would like to learn a little more. I'm also having the same problem with the Thakral .inf file which is another capture card.

Regards

--
MARTIN SPENCE


This is an old problem with the Hikvision INf files. You have to set custom parsing to search on a Manufacturers section - 'mfg' in this case

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Here are the errors I am seeing. These are video capture cards that I am trying to componentize the drivers.


Info:Processing file : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf
*** Error ***:INF Importer could not find any recognizable installation to convert in the file [C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf].
Info:Completed processing file [Import failed] : C:\Program Files\Cernium\Support\HikVisionDriver\Hik-DS4004HC\DS40xxDrv.inf

Any help would be greatly appreciated

The actual .inf looks like:

; DS40xxDrv.inf
; Driver for win2k and winxp,Windows Server 2003
;
; Copyright 2004
; Hangzhou Hikvision Digital Techinology Co.,Ltd.
; º¼Öݺ£¿µÍþÊÓÊý×Ö¼¼ÊõÓÐÏÞ¹«Ë¾
;

[Version]
Signature="$Chicago$"
Class=MEDIA
Provider=%ProviderName%



[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
DS40xxDrv.sys = 1,,

[ClassInstall]
Addreg=Class_AddReg

[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"


[DestinationDirs]
DS40xxDrv_Files_Driver = 10,System32\Drivers


[Manufacturer]
%ManufacturerName%=mfg

[mfg]

%DeviceDesc%=DS40xxDrv_DDI, PCI\VEN_104c&DEV_9065

[DS40xxDrv_DDI]
CopyFiles=DS40xxDrv_Files_Driver
AddReg=DS40xxDrv_9X_AddReg

[DS40xxDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DS40xxDrv.sys

[DS40xxDrv_DDI.NT]
CopyFiles=DS40xxDrv_Files_Driver

[DS40xxDrv_DDI.NT.Services]
Addservice = DS40xxDrv, 0x00000002, DS40xxDrv_AddService

[DS40xxDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\DS40xxDrv.sys

[DS40xxDrv_Files_Driver]
DS40xxDrv.sys

[Strings]
ProviderName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
ManufacturerName="Hangzhou Hikvision Digital Techinology Co.,Ltd."
DeviceDesc="Hikvision DS40xx Series"
DeviceClassName="DS40xxDrv Device class"
SvcDesc="Wdm Driver for DS40xx series"


--
MARTIN SPENCE
Martin,

How about "How To .." section of the docs?
http://msdn2.microsoft.com/en-us/library/ms932877.aspx

To be more specific in answering your questions, can you post the error/warning messages you saw while importing the INF file?
If you look at the components you got after the import you will notice that most of them have the same files listed in the Files section. If all those components are PnP (typical for a motherboard support with some minor exceptions) then all you need is to copy those files to appropriate folders on the target device and PnP will do the rest. This means you won't really have to add all the imported components to your image config but just one (or a few) that brings all the files.
Grayed out components are usually already in database.


--
=========
Regards,
KM


Folks,

Been working with XPe for all of about 2 weeks and so far it has thoroughly kicked my tail. I'm trying to import some device drivers so I can get my D856GLC Intel motherboard working. I seem to keep getting inf import failures and lots of cryptic messages about concordance IDs.

Can anyone point me to a step by step for importing a device driver? I've read Windows XP Embedded Advanced and their examples work flawlessly - I guess the real work is different? The one ..inf that did import was the intel Pro 100VE and that gave me an enormous number of components - some grayed out and some blue - still pondering the significance of the grayed out - anyone know that little nugget of info?

Thanks
 
Back
Top