none
USB function class extension does not forward USB class request to client RRS feed

  • Question

  • We are developing a USB client driver on top of the USB function class extension (UFX). The test platform is an embedded PC, equipped wit a Synopsys USB3 device controller, running Windows 10 Desktop Edition.

    The client driver already successfully activates USB and receives notifications on USB events (USB Attach, USB Reset, USB Set Configuration). We connect the embedded PC with another PC and can successfully enumerate the USB device exposed by UFX.

    But, when sending a USB Class request from the other PC to a USB Interface exposed by UFX the corresponding USB Setup Packet is not forwarded to the client driver. We captured the UFX log messages and got

    ufx01000 0 0 0 235 06\15\2016-15:41:14:311 Sending Event_DeviceNotifySetup. UfxEndpoint0x00001FFF28A39408, UfxDevice 0x00001FFF28F366D8
    ufx01000 4 32 1 236 06\15\2016-15:41:14:312 Stalling setup packet sent to inactive child

    Is there anything else beside sending IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS and IOCTL_INTERNAL_USBFN_BUS_EVENT_NOTIFICATION that needs to be done by the client driver to receive USB Setup Packets?

    Thanks, Frank

    Thursday, June 16, 2016 8:23 AM

Answers

  • Frank,

    This is likely a known regression in the .218 TH2 release.  A fix has already been released to Windows Update.  Can you scan for updates and see if it pulls down a new driver?

    Martin Borve [MSFT]

    • Marked as answer by FrankSenf Monday, June 20, 2016 8:35 AM
    Friday, June 17, 2016 10:25 PM

All replies

  • Frank,

    What build are you testing on?

    Martin Borve [MSFT]

    Thursday, June 16, 2016 6:39 PM
  • Hi Martin,

    We are testing on Windows 10 Pro (64-bit) Version 1511 OS Build 10586.218.

    Driver file versions are:
    ufxsynopsys.sys 10.0.10586.0
    ufx01000.sys 10.0.10586.212

    Friday, June 17, 2016 6:26 AM
  • Frank,

    This is likely a known regression in the .218 TH2 release.  A fix has already been released to Windows Update.  Can you scan for updates and see if it pulls down a new driver?

    Martin Borve [MSFT]

    • Marked as answer by FrankSenf Monday, June 20, 2016 8:35 AM
    Friday, June 17, 2016 10:25 PM
  • Thank you, Martin.

    Installing the latest Windows updates seems to solve the issue.

    Monday, June 20, 2016 8:35 AM
  • Hi


    I am developing a client driver that uses Ufx but can't find much documentaiton on it.   Its a kernel mode driver, and gets a pointer to the ufx01000.sys created \Device\UfxCx0 object.  However calling IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS results in an error.

    Is there any more documentaiotn on this, such as how to initialise the session etc?

    Thanks

    Matt

    Thursday, January 26, 2017 2:54 PM
  • Hi Frank

    I am also trying to use this API, but my driver gets an error calling IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS,  is there some trick to getting this to work?

    I cant find any documentaiotn on it beyond the very light MSDN stuff.  Do you have any?

    Thanks,

    Matt

    Thursday, January 26, 2017 2:58 PM
  • Turns out this funtionality is currently disabled on windows 10 IoT enterprise
    Wednesday, February 8, 2017 1:35 PM