T30: How can I use USB OTG as USB Device

Hello,
how can I use the USB OTG as an USB device on T30 with WEC8?
For the development I need an USB Keyboard and an USB mouse.
Can anybody help?
Ronald

You can do a small change in the registry in order to use both client and host on that port. The procedure is described on this developer website.

The automatically switching feature as also described there is, at the time writing this, not supported on Colibri and Apalis T30 (see also roadmap issue 19935).

As you wrote this is only for development, I think manual switching should be fine. Let us know if the automatically switching is a must have for your project.

Hello, I made the changes in the registry:
[HKLM\Drivers\BuiltIn\USBEHCI1]
Dll="_libnvusbh.dll"
[HKLM\Drivers\BuiltIn\USBFN]
Dll="_libnvusbfn.dll"
[HKLM\Drivers\BuiltIn\USBOTG]
Dll=“libnvusbotg.dll”
DebounceDelay=dword:50
USBFNUnloadDelay=dword:10
The result was no longer a USB and no network. I had no connection to the T30 and had to use the recovery mode. I have on the T30 the WEC 8 Image 2.0 Beta 2. Did I do something wrong? I’ll try to do that later.
Ronald

Who can read is clearly in the advantage. The automatic switching does not work with the T30. The manual changeover will proceed. This is sufficient for my development.
[HKLM\Drivers\BuiltIn\USBEHCI1]
Dll=“libnvusbh.dll”
[HKLM\Drivers\BuiltIn\USBFN]
Dll="_libnvusbfn.dll"
Ronald