Our company develop a driver for virtual device.
We don't have any hardware.
Do we need to complete the same process as for real hardware?
I have an account in Partner Center for Windows Hardware, do I need to create HLK file to upload this driver ?
Related
I have an "off the shelf" commercial software using an ANT USB dongle to communicate with a cycling trainer.
My trainer is not compatible with the software because the protocol is slightly different (not a lot).
My goal is to write a protocol translator. The only thing I can think of is to write a UMDF virtual device driver (like Magic ISO Virtual DVD) looking like an ANT USB Device in the device manager (same PID\VID) while connecting itself to the physical ANT device. The virtual device driver will perform the protocol translation.
I looked at several examples from Microsoft here https://github.com/Microsoft/Windows-driver-samples but I was unable to find anything relevant. I thought this example would be a good start https://github.com/Microsoft/Windows-driver-samples-master/Sensors/CustomSensors but it is impossible to load the driver using the given procedure from the inf file.
BTW I am familiar with the content of INF files and the basics of KMDF & UMDF device drivers programming. My problem is to write something that will load in the device manager and present itself as a real USB device even if it is not enumerated by the USB bus subsystem.
Can anybody with driver development experience point me to some relevant code sample or documentation?
Best regards !
I am currently developing a UMDF CCID (smartcard reader) driver. This project helped me at the beginning because it compiles out of the box and creates virtual device nodes (smartcard readers) visible in the device manager.
I already read Creating a Virtual USB Device and Virtual USB device about creating a virtual USB Device. I am familiar with the Plug and Play handling by Windows as well as the driver mechanism.
So far I understood that first of all I would have to create another device driver which is used for the virtual USB device. But I am still lost on the point what actually is the virtual device. How would I control the behaviour of my virtual device?
Background: I develop a software which acts as a communication layer between an API and the USB driver. The behaviour of the USB device is well known to me. I even could provide the whole firmware. For reasons of QA, I would like to test my software without the bugs of the whole system or on the other hand easily implement errors to see how the software reacts. But what kind of software could implement this behaviour as virtual device?
Any documentations / instructions are welcome!
I used the USB/IP project to emulate USB devices in Python. Maybe it can help you to create your virtual USB devices:
http://breaking-the-system.blogspot.com/2014/08/emulating-usb-devices-in-python-with-no.html
I've been asked to help with some problems that a company are having with an Windows installer they have that includes some custom driver installation for some hardware they make.
I've got access to the source code to build the software and installer (which is an WIX/MSI one), but don't have access to the hardware, so can't actually test it properly.
Is it possible (either with a toolkit, or without) to trick windows into thinking that a specific device USB device has been attached to the computer in order to trigger Windows into trying to install the drivers? . I've got access to all the Vendoer Id, DeviceID, etc information.
Thanks
Tom
That should be possible. Take a look at WDK USBSamp and NDIS Virtual miniport (or virtual serial driver) samples. The first one is a USB driver sample and second one demonstrates how to build virtual driver. You should be able to combine the two to create a virtual USB driver.
I need to develop an encrypted USB Flash drive to protect my data. Here is the high level idea:
When USB will be plugged in PC, it will show one application, for example "openfile.exe"
When I run the "openfile.exe" it will open the USB (need to give password) for saving other files in it.
Now user can save file in the USB as usual which will be encrypted.
When I plug out the USB from the PC and plugin again, it will start from Step 1
So user always see the "openfile.exe" after plugin it until they run my application
placed in USB. And data will be secured.
I have no idea, how about creating Virtual USB Simulator?
Any one have idea how to proceed?
Thank you.
It's not virtual USB simulator, but a virtual file system (you create a virtual disk with a drive letter that is mapped to real location with help of drivers). Several of our products (namely CBFS Storage and CBFS Connect) can be used for this task.
The drawback of this approach is that you have to install the kernel-mode drivers to the system. Your application can do this on the fly, but it needs to have administrative privileges for this task. I.e. the scenario when you come to internet cafe, plug your USB stick and have an encrypted disk is almost never possible (cause admins of internet cafe won't give you admin rights).
Are there Windows Phone 7 devices that have USB Host drivers so that my C# program can access data on a USB Flash Drive?
You won't find many phones of any operating system which support USB host.
USB really isn't suitable for mobile devices - the USB specification requires a 5V power rail which really isn't suitable for a phone and its battery to support.
If you need expandable storage, I believe there are some phones with micro SD slots available (and there should be more of these available in the future) - although there are some restrictions about these - they're not really removable - see http://support.microsoft.com/kb/2450831.