High level question about Sample application for UVC extension units

Adam Braunton 1 Reputation point
2022-05-11T19:59:18.687+00:00

Long time Java & Linux developer here, having been saddled with a task on Windows & C++ that I'm struggling to get to grips with, help humbly appreciated!

I have been provided a piece of USB hardware (HD Camera) which has already had firmware applied to it that contains a small number of Extension Unit Controls. I have an XU Descriptor, guidExtensionCode, bUnitID etc. I have read and re-read the documentation at https://learn.microsoft.com/en-us/windows-hardware/drivers/stream/sample-application-for-uvc-extension-units. I am currently not able to communicate successfully with the XU.

My question is; how much of the Sample Application is actually relevant in my case? Just the "Sample application for UVC extension units"? Because other solutions online, e.g. https://community.infineon.com/t5/USB-superspeed-peripherals/UVC-Extension-unit/m-p/42606, do not include the interface, registry unit or DLL. I'd really like to know how much of the Microsoft example is relevant in order to create a simple executable which can toggle XU controls.

Thanks for any pointers

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,629 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mirco König 0 Reputation points
    2024-06-21T09:19:16.2133333+00:00

    Hi,

    i recommend to start with this software (c++):

    https://github.com/Infineon/sx3_uvc_xu_sample_app

    https://community.infineon.com/t5/Knowledge-Base-Articles/FX3-CX3-UVC-Extension-Unit-Application/ta-p/253397

    it is a shame that there are no example projects how to access the extension unit. Microsoft should give more support to this. Maybe more example projects for visual studio in c++,c#,...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.