Win 7 Sensor Driver
Moderator: Moderators
Win 7 Sensor Driver
I am trying to create the UMDF sensor driver for Windows 7.
While the driver correctly reports device = 6 when using ISimpleDevice::GetType(), when running under the context of the user-mode driver framework it returns a 0.
Are there issues I must consider before trying to load the driver under the Wu Host ? I 've tried with COINIT_APARTMENTTHREADED and COINIT_MULTITHREADED, same error. It reports that no device is attached.
At the same time, normal applications work with it.
Best Regards.
While the driver correctly reports device = 6 when using ISimpleDevice::GetType(), when running under the context of the user-mode driver framework it returns a 0.
Are there issues I must consider before trying to load the driver under the Wu Host ? I 've tried with COINIT_APARTMENTTHREADED and COINIT_MULTITHREADED, same error. It reports that no device is attached.
At the same time, normal applications work with it.
Best Regards.
Hi WindowsNT,
From the deviceType 0, it appears that the initialization isn't working.
We've never tried, or imagined that someone would try, to use this API in a UDMF driver. We suggest Raw Input.
If you want to continue to proceed with 3DxInput, please create a log file showing your connection attempt, and post it here (do try to keep it short). You can turn on the log file in the GUI. It gets written to your %appdata%\3dconnexion\3dxware dir.
From the deviceType 0, it appears that the initialization isn't working.
We've never tried, or imagined that someone would try, to use this API in a UDMF driver. We suggest Raw Input.
If you want to continue to proceed with 3DxInput, please create a log file showing your connection attempt, and post it here (do try to keep it short). You can turn on the log file in the GUI. It gets written to your %appdata%\3dconnexion\3dxware dir.
I don't see any log file. It is running under wudfhost.exe which is a local service - perhaps you could save the data into another folder.
Also, does your implementation create a hidden window for WM_INPUT ? If so, that could be a reason of failure. For the same reason I don't believe I can use raw input.
I am trying to create a sensor driver and I would be done already If could get through this.
Also, does your implementation create a hidden window for WM_INPUT ? If so, that could be a reason of failure. For the same reason I don't believe I can use raw input.
I am trying to create a sensor driver and I would be done already If could get through this.
That name is for the device not the driver. You are connecting directly to the device and bypassing the driver. You don't even need to install the driver.
You'll notice the HID Vendor ID (VID) in there (0x046D for all Logitech devices), then the Product ID (PID) for the device you have attached (0xC626 in this case). The PID and everything after it will vary.
You'll notice the HID Vendor ID (VID) in there (0x046D for all Logitech devices), then the Product ID (PID) for the device you have attached (0xC626 in this case). The PID and everything after it will vary.