Hi,
I am new to windows driver development(just one wdm driver old). i was trying out UMDF driver for my usb device which has only bulk operations.
I have Winxp sp2 and UMDF 1.5 (from WDK). I needed a clarification,
Can i develop a Usermode usb driver from UMDF 1.5 to work in WinXP SP2.?
If it is possible, please correct me if iam doing anything wrong
-
I changed fx2_driver example present in WinDDK\6000\src\umdf\usb to work for my device. Built the driver in “Windows Vista 'Build Environments” as mentioned in readme.htm present in WinDDK\6000\src\umdf. Build went fine but during installation i got message that “This device is not configured correctly(code1)”
-
Changed INX file as mentioned in release notes of WDK. But when i run chkinf, i get a error saying “Unable to include WINUSB.INF. Note that only system provided INFs may be specified with the INCLUDE directive” (i dont have WINUSB.INF in my system or WINUSB.SYS )and i get 5 warnings saying some sections are not refered and chkinf utility doesnot verify WDF section.
Please tell me if iam doing anything wrong or many things wrong or iam missing out something which i should do.
Regards,
Supreet
Yes you can use UMDF 1.5 from the WDK to build a driver for XPSP2.
1 - if your device doesn’t have the same HWID as the sample you adapted then this isn’t surprising. It wouldn’t work until you completed step 2.
2 - Unfortunately chkinf doesn’t know anything about the special DDInstall.WDF section in the INF so it missed the use of that section and every section that calls. Hence the warnings about unreferenced sections. As for the mention of WINUSB.INF not being present - this is actually okay. On an XPSP2 machine it’s not there, but the coinstaller does everything you need for you.
Unfortunately the coinstaller doesn’t do anything on Vista, so there you need to have the INCLUDE/NEEDS statements to invoke the inbox WINUSB.INF.
-p
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@indiatimes.com
Sent: Tuesday, January 02, 2007 1:10 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] clarification-umdf 1.5
Hi,
I am new to windows driver development(just one wdm driver old). i was trying out UMDF driver for my usb device which has only bulk operations.
I have Winxp sp2 and UMDF 1.5 (from WDK). I needed a clarification,
Can i develop a Usermode usb driver from UMDF 1.5 to work in WinXP SP2.?
If it is possible, please correct me if iam doing anything wrong
-
I changed fx2_driver example present in WinDDK\6000\src\umdf\usb to work for my device. Built the driver in “Windows Vista 'Build Environments” as mentioned in readme.htm present in WinDDK\6000\src\umdf. Build went fine but during installation i got message that “This device is not configured correctly(code1)”
-
Changed INX file as mentioned in release notes of WDK. But when i run chkinf, i get a error saying “Unable to include WINUSB.INF. Note that only system provided INFs may be specified with the INCLUDE directive” (i dont have WINUSB.INF in my system or WINUSB.SYS )and i get 5 warnings saying some sections are not refered and chkinf utility doesnot verify WDF section.
Please tell me if iam doing anything wrong or many things wrong or iam missing out something which i should do.
Regards,
Supreet
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
A very little thing not to forget: read the WDK (v6000, RTM) Release Notes.
I did not and thus hunted unnecessarily for the WinXP WUDF co-installer
- you have it, but there’s no reference in the WDK documentation.
Except the Release Notes. 
Now on XP the WUDF co-installer installs the W(U)DF and all is well with
my driver. 
Regs,
Hagen
xxxxx@indiatimes.com schrieb:
Hi,
I am new to windows driver development(just one wdm driver old). i was trying out UMDF driver for my usb device which has only bulk operations.
I have Winxp sp2 and UMDF 1.5 (from WDK). I needed a clarification,
Can i develop a Usermode usb driver from UMDF 1.5 to work in WinXP SP2.?
If it is possible, please correct me if iam doing anything wrong
-
I changed fx2_driver example present in WinDDK\6000\src\umdf\usb to work for my device. Built the driver in “Windows Vista 'Build Environments” as mentioned in readme.htm present in WinDDK\6000\src\umdf. Build went fine but during installation i got message that “This device is not configured correctly(code1)”
-
Changed INX file as mentioned in release notes of WDK. But when i run chkinf, i get a error saying “Unable to include WINUSB.INF. Note that only system provided INFs may be specified with the INCLUDE directive” (i dont have WINUSB.INF in my system or WINUSB.SYS )and i get 5 warnings saying some sections are not refered and chkinf utility doesnot verify WDF section.
Please tell me if iam doing anything wrong or many things wrong or iam missing out something which i should do.
Regards,
Supreet
Argh! WinUSB for XP, of course. The WUDF is there and documented. 
Too many TLA and FLAs…
-H
Hagen Patzke schrieb:
A very little thing not to forget: read the WDK (v6000, RTM) Release Notes.
I did not and thus hunted unnecessarily for the WinXP WUDF co-installer
- you have it, but there’s no reference in the WDK documentation.
Except the Release Notes. 
Now on XP the WUDF co-installer installs the W(U)DF and all is well with
my driver. 
Regs,
Hagen