Discussion:
CM_PROB_FAILED_ADD - driver installed successfully?
(too old to reply)
Dee Veloper
2008-08-22 09:12:02 UTC
Permalink
Hi all!

UMDF/USB driver installed with devcon. Devcon says: Driver installed
successfully. Setupapi.dev.log says: error: CM_PROB_FAILED_ADD. Windows
device manager says: Could not load driver (err. 31).

USB device is NOT attached to the computer.

Is there a way to debug the error? I tried it with windbg and wdfverifier
but I can not break during loading or starting. Any other ideas?

Do I need to sign my driver to get it loaded? I am currently trying to get
behind the secrets of driver developing without going through the driver
signation process.

Thanks in advance.
Dee
Doron Holan [MSFT]
2008-08-22 16:35:40 UTC
Permalink
if the usb devce is not attached to the computer, then the usb driver will
not load. what is the command line you are using to install with devcon?
devcon install [...] ? if so that is the wrong way to install a pnp
enumerated device. devcon install is how you install a root enumerated
device

d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Dee Veloper
Hi all!
UMDF/USB driver installed with devcon. Devcon says: Driver installed
successfully. Setupapi.dev.log says: error: CM_PROB_FAILED_ADD. Windows
device manager says: Could not load driver (err. 31).
USB device is NOT attached to the computer.
Is there a way to debug the error? I tried it with windbg and wdfverifier
but I can not break during loading or starting. Any other ideas?
Do I need to sign my driver to get it loaded? I am currently trying to get
behind the secrets of driver developing without going through the driver
signation process.
Thanks in advance.
Dee
Dee Veloper
2008-08-25 09:26:03 UTC
Permalink
You are correct, I tried devcon install. I had to try it since I get the same
messages when I plug-in the USB device. Good to know that it does not work
that way.

Thanks.
Dee
Post by Doron Holan [MSFT]
if the usb devce is not attached to the computer, then the usb driver will
not load. what is the command line you are using to install with devcon?
devcon install [...] ? if so that is the wrong way to install a pnp
enumerated device. devcon install is how you install a root enumerated
device
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Dee Veloper
Hi all!
UMDF/USB driver installed with devcon. Devcon says: Driver installed
successfully. Setupapi.dev.log says: error: CM_PROB_FAILED_ADD. Windows
device manager says: Could not load driver (err. 31).
USB device is NOT attached to the computer.
Is there a way to debug the error? I tried it with windbg and wdfverifier
but I can not break during loading or starting. Any other ideas?
Do I need to sign my driver to get it loaded? I am currently trying to get
behind the secrets of driver developing without going through the driver
signation process.
Thanks in advance.
Dee
Loading...