Tech Support > Microsoft Windows > Drivers > why isn't the second device in my device list added in the device manager?
why isn't the second device in my device list added in the device manager?
Posted by Bruno van Dooren on April 28th, 2005


Hi all,

i am still fiddling around with the first sample from Oney's book.

i wanted to add a second device in the device list so that there are 2
devices listed under "Sample devices".

to do that i modified the INF file to read (i only pasted the -i think-
relevant pieces)

[Manufacturer]
%MFGNAME%=DeviceList

[DeviceList]
%DESCRIPTION%=DriverInstall,*WCO0201
%DESCRIPTION2%=DriverInstall,*WCO0202

[Strings]
MFGNAME="Walter Oney Software"
DESCRIPTION="Stupid Device Driver"
DESCRIPTION2="Stupid Device Driver 2"

basically i only added 2 lines to the INF file. 1 in the DeviceList section
and 1 in the Strings section.

but only the first device shows up in the device manager.
I read the DDK documentation, and according to that, my addition should
work.

is there an obvious error?

kind regards,
Bruno.


Posted by Woody on April 30th, 2005


Greetings,

Your changes are correct. I tried them myself. The only trick here is
that since it is a software driver only, and not detected by PNP, you
have to select the second device yourself via the Hardware Wizard.

For example:
1. Add Hardware
2. Select "Yes, I have already connected the hardware"
3. Select "Add a new hardware device"
4. Select "Install the hardware that I manually select from a list
(advanced)"
5. Select "Show All Devices"
6. Select "Have Disk"
7. Select your INF
8. Highlight your manufacturer
9. Now you will see both devices, select the second one and install

Now you will have both show up in Device Manager.

Normally, PNP will determine the hardware ID from the actual device and
find the appropriate section in the INF file for installation. In this
case, the hardware ID is synthetic and you need to give PNP a boost by
manually selecting it.

Hope this helps

Thanks

Daniel Whitaker
DDK Support Team

This posting is provided "AS IS" with no warranties, and confers no
rights

Posted by Bruno van Dooren on April 30th, 2005


Hi Daniel,

thanks for your reply. i will try it out today.
i installed the driver using the 'FastInst' utility that comes with the
book.
basically this utility installs the driver for you with a simple mouseclick
so that you don't have to go through the wizards.

i guess that the utility only installs the first device or something like
that.

thanks.

kind regards,
Bruno.

"Woody" <danielwhitaker2004@yahoo.com> wrote in message
news:1114820539.137780.315980@g14g2000cwa.googlegr oups.com...


Posted by Bruno van Dooren on May 3rd, 2005


It worked.
Thanks.

kind regards,
Bruno.

"Bruno van Dooren" <microvax@hotmail.com> wrote in message
news:ur%23SLdVTFHA.3280@TK2MSFTNGP09.phx.gbl...