linux audio gadget (USB audio class 2) not completing enumeration on Win 10 Creator's Edition? RRS feed

  • Question

  • Hi all,

    I am working on a musical instrument which runs linux mainline kernel 4.11. The hardware has a USB Device port, which is used to connect to a desktop computer. On the linux OS I'm running the standard USB audio class 2 gadget (usb_f_uac2 linux kernel module). 

    When I connect the device to my Windows 10 Desktop PC (version 1703, OS Build 15063.296 - Creator's edition?) I see it showing up as "Source/Sink" in the device tree, and when I check the properties it says the device did not start (code 10) and there is no audio device listed at the top that I can use.

    There is an exclamation mark over the Source/Sink device. Does anyone know what's wrong? On my Apple computer running Mac OSX El Capitan the device does enumerate completely. The device uses stereo in and out, 44.1kHz sample rate and 32 bit resolution. 

    I have a USB explorer 200 by Ellisys here, so I can capture the enumeration and post it in the forum if anyone would like to see it. You can view the trace using the freely downloadable visual USB software. 



    Tuesday, May 23, 2017 10:29 PM

All replies

  • After reading this online 

    I realized that maybe I need to add Windows specific descriptors to my device to make it enumerate completely. So I've done this on the linux side after viewing usbaudio2.inf and finding the string %SubClass_00.DeviceDesc%=usbaudio2_Device, USB\Class_01&SubClass_00&Prot_20: 

    echo 1 > bDeviceClass
    echo 0 > bDeviceSubClass
    echo 20 > bDeviceProtocol
    echo 1       > os_desc/use
    echo 0xcd    > os_desc/b_vendor_code
    echo MSFT100 > os_desc/qw_sign
    ln -s configs/c.1 os_desc

    This is an improvement since now I see the correct name of my device under "sound, video and game controllers" but there is still an exclamation mark over the device and it still shows This device cannot start. (Code 10)

    What else am I missing to make this device correctly enumerate and use the usb audio class 2 driver?




    Tuesday, May 23, 2017 11:36 PM
  • Please file a problem report in the Feedback Hub as described here

    Once filed, use the "Share" widget to grab a direct link

    Send me that link

    Matthew van Eerde

    Wednesday, May 24, 2017 12:14 AM
  • OK, the link is

    Wednesday, May 24, 2017 12:30 AM