Hi Jerry,
thanks for your reply. I already found your post and I followed the idea using
.bFunctionSubClass = UAC2_FUNCTION_DESKTOP_SPEAKER. So far I didn’t check the
USB_ENDPOINT_SYNC_SYNC as I think this link
https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/usb-2-0-audio-drivers?source=docs
in combination with USB spec 2.0 chapter 5.12.4.1 suggests that
USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC is correct. Unfortunately I
don’t have any USB device here that uses usbaudio2.sys. Either they have native
drivers or they use usbaudio.sys. Otherwise I could compare the USB Tree View
output from a working device to my Raspberry.
Best,
Johannes
Von: wdmaudiodev-bounce@xxxxxxxxxxxxx Im Auftrag von Jerry Evans
Gesendet: Montag, 20. September 2021 20:28
An: wdmaudiodev@xxxxxxxxxxxxx
Betreff: [wdmaudiodev] Re: AW: UAC2 driver loaded but no audio endpoints visible
Hello Johannes
ICYMI See https://www.freelists.org/post/wdmaudiodev/Linux-UAC2-gadget,1 for ;
some details on a then working UAC2 gadget. This may or may not help with your
particular problem:)
Good luck
Jerry.
Sent from my iPad
On 20 Sep 2021, at 17:46, Johannes Freyberger <jfreyberger@xxxxxxxxxxxxxxxxxxxx
<mailto:jfreyberger@xxxxxxxxxxxxxxxxxxxx> > wrote:
OK … sadly that’s no good news
Currently I think my problem is around this output from KS Topology Filter Test:
Device Name = USB Audio 2.0
PnP ID = USB\VID_1D6B&PID_0101&MI_00\8&1583D6B2&1&0000
Device: USB Audio 2.0 (USB\VID_1D6B&PID_0101&MI_00\8&1583D6B2&1&0000)
Filter: Source/Sink
Pin[00] ()
Pin[01] ()
Pin[02] ()
Pin[03] ()
Filter: Source/Sink
Pin[00] ()
Pin[00] : Basic support: 0x201
KSPROPERTY_AUDIOSIGNALPROCESSING_MODES response: KSMULTIPLE_ITEM.Size = 24,
KSMULTIPLE_ITEM.Count = 1, buffer size = 24
AUDIO_SIGNALPROCESSINGMODE_RAW is mode 0
Message:Driver supports processing modes but the preferred formats donot
have the attribute flag set, so setting it [hr = E_INVALIDARG (0x80070057)]
pCPinInstance->CreatePin() succeeded
Pin creation successful for AUDIO_SIGNALPROCESSINGMODE_RAW
Pin[01] ()
Pin[02] ()
Pin[03] ()
Pin[03] : Basic support: 0x201
KSPROPERTY_AUDIOSIGNALPROCESSING_MODES response: KSMULTIPLE_ITEM.Size = 24,
KSMULTIPLE_ITEM.Count = 1, buffer size = 24
AUDIO_SIGNALPROCESSINGMODE_RAW is mode 0
Message:Driver supports processing modes but the preferred formats donot
have the attribute flag set, so setting it [hr = E_INVALIDARG (0x80070057)]
pCPinInstance->CreatePin() failed with 0x9000001f.
FAIL: Pin[03] : Pin creation failed for AUDIO_SIGNALPROCESSINGMODE_RAW
End Case: ID 16.1007:3.10 : FAIL : KS Topology Filters\KS Pins\Check Processing
Modes : [Mon Sep 20 18:28:33 2021]
But yet I don’t know the relationship from the USB Driver struct to the
processing modes – why does the Linux audio gadget have the support of
processing modes set or in other words what entry in the USB Tree View lets
windows activate the processing modes for this device?
Von: wdmaudiodev-bounce@xxxxxxxxxxxxx <mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>
Im Auftrag von Matthew van Eerde ("Matthew.van.Eerde")
Gesendet: Montag, 20. September 2021 18:29
An: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Betreff: [wdmaudiodev] Re: AW: Re: [EXTERNAL] AW: UAC2 driver loaded but no
audio endpoints visible
For various dry and boring technical reasons I find myself unable to update
this blog post with new Windows OSes.
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> <wdmaudiodev-bounce@xxxxxxxxxxxxx
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> > On Behalf Of Johannes Freyberger
Sent: Monday, September 20, 2021 7:52 AM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] AW: Re: [EXTERNAL] AW: UAC2 driver loaded but no audio
endpoints visible
Yes, thanks … I already found this link today and grabbed the TMF files from
your github page. Do you think it’s possible to also add the ausbaudio2 tmf
files for W10 21H1 there?
Von: wdmaudiodev-bounce@xxxxxxxxxxxxx <mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>
Im Auftrag von Matthew van Eerde ("Matthew.van.Eerde")
Gesendet: Montag, 20. September 2021 16:44
An: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx>
Betreff: [wdmaudiodev] Re: [EXTERNAL] AW: UAC2 driver loaded but no audio
endpoints visible
You may be interested in How to gather and read logs for Microsoft’s USB Audio
2.0 class driver – Matthew van Eerde's web log (wordpress.com)
<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmatthewvaneerde.wordpress.com%2F2017%2F10%2F23%2Fhow-to-gather-and-read-logs-for-microsofts-usb-audio-2-0-class-driver%2F&data=04%7C01%7CMatthew.van.Eerde%40microsoft.com%7C1f7aa5cdd6b847b150ad08d97c464a97%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637677464331147444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=LbPxJbaRHzO9QKfuTxU015KAzElVitOuFSNYITHA2r0%3D&reserved=0>