Discussion:
Can I use winusb.sys to install an HID device instead of hidclass.
(too old to reply)
mario_atallah
2010-08-12 13:41:03 UTC
Permalink
I am trying to use install a custom manufactured HID device on Windows 7
64-bit using winusb.sys.

The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.

I've created the driver package (including inf file, coinstallers for 32 and
64-bit OS's, unsigned setup catalog file using inf2cat).

The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".

I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".

Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
Maxim S. Shatskih
2010-08-12 14:16:46 UTC
Permalink
Post by mario_atallah
The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.
Ask the hardware guys to patch the device's config descriptors, so it will become incompatible with hidusb.sys
--
Maxim S. Shatskih
Windows DDK MVP
***@storagecraft.com
http://www.storagecraft.com
mario_atallah
2010-08-12 14:58:03 UTC
Permalink
Is there any solution that does not require the harware guys to change
anything in the device? In other words, should the HID device be installed
normally with winusb.sys even if there is already hidclass.sys?
Post by mario_atallah
I am trying to use install a custom manufactured HID device on Windows 7
64-bit using winusb.sys.
The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.
I've created the driver package (including inf file, coinstallers for 32 and
64-bit OS's, unsigned setup catalog file using inf2cat).
The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".
I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".
Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
Doron Holan [MSFT]
2010-08-12 20:06:58 UTC
Permalink
how did you apply the INF to the installed device? devcon (if so, what cmd
line?) or device manager?

"mario_atallah" wrote in message news:AF9CBE84-F34D-4C16-A75A-***@microsoft.com...

I am trying to use install a custom manufactured HID device on Windows 7
64-bit using winusb.sys.

The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.

I've created the driver package (including inf file, coinstallers for 32 and
64-bit OS's, unsigned setup catalog file using inf2cat).

The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".

I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".

Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
mario_atallah
2010-08-13 12:15:03 UTC
Permalink
I usually right-click on the device in "Device Manager" and use the "Update
Driver Software" and browse to the inf file. But, also I have used Devcon.exe
and still same result.
Post by Doron Holan [MSFT]
how did you apply the INF to the installed device? devcon (if so, what cmd
line?) or device manager?
I am trying to use install a custom manufactured HID device on Windows 7
64-bit using winusb.sys.
The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.
I've created the driver package (including inf file, coinstallers for 32 and
64-bit OS's, unsigned setup catalog file using inf2cat).
The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".
I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".
Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
.
Philip Ries [MSFT]
2010-08-16 19:56:58 UTC
Permalink
If WinUsb is failing start then you should take a trace across the
install to see where it is failing.

http://blogs.msdn.com/b/usbcoreblog/archive/2010/02/05/how-to-generate-and-view-a-winusb-debug-trace-log.aspx
Post by mario_atallah
I usually right-click on the device in "Device Manager" and use the "Update
Driver Software" and browse to the inf file. But, also I have used Devcon.exe
and still same result.
Post by Doron Holan [MSFT]
how did you apply the INF to the installed device? devcon (if so, what cmd
line?) or device manager?
I am trying to use install a custom manufactured HID device on Windows 7
64-bit using winusb.sys.
The device installs perfectly using the windows supported HID driver
(hidclass.sys). However, I want to install the device using winusb.sys.
I've created the driver package (including inf file, coinstallers for 32 and
64-bit OS's, unsigned setup catalog file using inf2cat).
The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".
I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".
Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
.
Chris Williamson
2010-08-24 18:23:03 UTC
Permalink
You have to sign drivers before they will load on 64- Vista and Win7. Since
you modified the inf file, you may have to regenterate the cat file. Alos you
need to a) disable signing check (an F8 boot choice), b) sign with a test
certificate and enable test signatures, or c) sign with an SPC.

Struggling with these things myself right now.

Chris
Post by mario_atallah
The two main errors in setupapi.log are: "Verifying file against specific
(valid) catalog failed! (0x00000057) Error 87: The parameter is incorrect.
{_VERIFY_FILE_SIGNATURE exit(0x00000057)}" and "Device not started: Device
has problem: 0x0a: CM_PROB_FAILED_START.".
I can see the device in the device manager but it has the yellow exclamation
mark... The error is "The device cannot start (code 10)".
Any idea what is going on wrong? Is it because I am trying to use winusb.sys
while hidclass.sys is already supported? or something else?
Loading...