You are still installing a driver, even if it is inbox in Vista (you can also use winusb downlevel, there is a redistributable you can use to install it on XP as well). Since you are installing a driver, you still need to get your INF signed, otherwise the signing warning will still show up.
The main difference between winusb and UMDF is the abstraction at which you communicate with the device. With UMDF, your application will use read/write/IOCTLs to talk to your UMDF driver. The driver can then arbitrate state and data. For instance, the UMDF driver can translate the raw data from the device into a different format and send that different data format to the application. More than one application can communicate with the device if your UMDF driver allows for it.
If you use WinUSB without UMDF, your application uses winusb APIs to communicate with the driver. State and data are tied to the application and it is up to the application to keep it private or share it out. The application deals with the raw data from the device without any interpretation from lower layers.
Hope that helps
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Kurt Nystr?m
Sent: Tuesday, April 17, 2007 4:51 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Interfacing to USB port from User Mode?
I am having a very similar problem. We are producer of a simple USB
device, that is using a Freescale microprocessor with USB protocol. We
have been using a driver from another company. With Vista, there are
problems with our old driver, so we need something new.
It would be nice if we could use the new features in Vista, for then I
suppose that this will work in next Windows version also.
I have been checking the documentation in WDK 6000 a little. I knows
the USB protocol from the device end and from the application, but not
so much in the OS end.
It would be nice to have a solution that does not tell the user that
this piece of software is not certified or verified or something like
that, so that the program is installed without anything that can make
our customers suspicious about our program.
The device is very simple and is just using one endpoint for data and
one for control. The most complicated thing I am using is SETFEATURE and
CLEARFEATURE.
What is the real difference between a UMDF driver and using WinUSB?
If I write a driver with UMDF, what about certified code and digital
signature?
I assume that if you are using WinUSB, you will make an inf file for the
device that loads winusb.sys and then you make calls to WinUSB from the
application.
Kurt Nystr?m
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