registry problem with driver component

G

Guest

recently,I make a driver component. The driver is about CAN device. The
driver has two layers, bus layer and port layer( bus.sys,port.sys ). If you
want to use the device, you must first install the bus.sys then install the
port.sys.One device may have several ports .
What's more the device is a ISA( NOT PnP )device. I want to pre-install it
in FBA.I create a component with the required files (just import the device
INF's) and pre-populated registry entries required ( grab these from XP
Pro/XPe where the devices and drivers are installed and working properly).
The registry I pre-populated are list as follow:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\UNKNOWN\0000]
HardwareID( defined in bus.inf ), ClassGUID,AllocConfig
those include the memory address, interrupt number .I also add
bus.sys,port.sys ,bus.inf, port.inf to my component. I add the component to
configuration ,build image .
After FBA, I can find the bus was installed successufully.But the two ports
was installed ( noted that my device only have one CAN port actually). I open
the registry editer,the service my driver registered contain my port number
information. that is
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvCanDev\MY CAN DEVICE]
PortNumber=1 // it means the device has one port
PortType=1 // it means the device is a ISA device
the baud rate and timeout information( should be populated in registry
when install port.sys ) in the two port is not populated either.

if I do not add driver component to image and only copy the driver
files(bus.sys port.sys bus.inf port.inf ) to the corresponding folders
,install manually( by Add Hardware in control panel), only one port appear in
the device manager. where am I wrong ?How to pre-install my ISA device
properly in FBA by pre-populating registry?
 
M

Mely Penales

Ive never really experienced any registry problem on my own computer..on the other hand my friend had a great deal of crap problems with his..i do not remember the exact problems but the program used was called pchealthadvisor...it seemed to work for him it may for you...idk..just giving helpful info Deatails on pchealthadvisor
recently,I make a driver component. The driver is about CAN device. The
driver has two layers, bus layer and port layer( bus.sys,port.sys ). If you
want to use the device, you must first install the bus.sys then install the
port.sys.One device may have several ports .
What's more the device is a ISA( NOT PnP )device. I want to pre-install it
in FBA.I create a component with the required files (just import the device
INF's) and pre-populated registry entries required ( grab these from XP
Pro/XPe where the devices and drivers are installed and working properly).
The registry I pre-populated are list as follow:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\UNKNOWN\0000]
HardwareID( defined in bus.inf ), ClassGUID,AllocConfig
those include the memory address, interrupt number .I also add
bus.sys,port.sys ,bus.inf, port.inf to my component. I add the component to
configuration ,build image .
After FBA, I can find the bus was installed successufully.But the two ports
was installed ( noted that my device only have one CAN port actually). I open
the registry editer,the service my driver registered contain my port number
information. that is
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvCanDev\MY CAN DEVICE]
PortNumber=1 // it means the device has one port
PortType=1 // it means the device is a ISA device
the baud rate and timeout information( should be populated in registry
when install port.sys ) in the two port is not populated either.

if I do not add driver component to image and only copy the driver
files(bus.sys port.sys bus.inf port.inf ) to the corresponding folders
,install manually( by Add Hardware in control panel), only one port appear in
the device manager. where am I wrong ?How to pre-install my ISA device
properly in FBA by pre-populating registry?

Submitted via EggHeadCafe - Software Developer Portal of Choice
Nested IF Statement ? Excel 2007
http://www.eggheadcafe.com/tutorial...fb2c63d5/nested-if-statement--excel-2007.aspx
 
M

Mely Penales

Ive never really experienced any registry problem on my own computer..on the other hand my friend had a great deal of crap problems with his..i do not remember the exact problems but the program used was called pchealthadvisor...it seemed to work for him it may for you...idk..just giving helpful info Deatails on pchealthadvisor
recently,I make a driver component. The driver is about CAN device. The
driver has two layers, bus layer and port layer( bus.sys,port.sys ). If you
want to use the device, you must first install the bus.sys then install the
port.sys.One device may have several ports .
What's more the device is a ISA( NOT PnP )device. I want to pre-install it
in FBA.I create a component with the required files (just import the device
INF's) and pre-populated registry entries required ( grab these from XP
Pro/XPe where the devices and drivers are installed and working properly).
The registry I pre-populated are list as follow:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\UNKNOWN\0000]
HardwareID( defined in bus.inf ), ClassGUID,AllocConfig
those include the memory address, interrupt number .I also add
bus.sys,port.sys ,bus.inf, port.inf to my component. I add the component to
configuration ,build image .
After FBA, I can find the bus was installed successufully.But the two ports
was installed ( noted that my device only have one CAN port actually). I open
the registry editer,the service my driver registered contain my port number
information. that is
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdvCanDev\MY CAN DEVICE]
PortNumber=1 // it means the device has one port
PortType=1 // it means the device is a ISA device
the baud rate and timeout information( should be populated in registry
when install port.sys ) in the two port is not populated either.

if I do not add driver component to image and only copy the driver
files(bus.sys port.sys bus.inf port.inf ) to the corresponding folders
,install manually( by Add Hardware in control panel), only one port appear in
the device manager. where am I wrong ?How to pre-install my ISA device
properly in FBA by pre-populating registry?
it seemed to work for him it may for you...idk..just giving helpful info Deatails on pchealthadvisor
Submitted via EggHeadCafe - Software Developer Portal of Choice
Nested IF Statement ? Excel 2007
http://www.eggheadcafe.com/tutorial...fb2c63d5/nested-if-statement--excel-2007.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top