[wdmaudiodev] Re: Vendor command to EP0 through the UAC driver

  • From: "Chris Perry" <chperry1@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 22 Dec 2016 15:25:11 -0500

Does this vendor specific command have to go through the standard audio
request channel?

 

Section 5.2 of the USB Audio 2.0 spec introduces Class Specific Requests.
AudioControl Requests could potentially be vendor specific.

 

Section 5.2.7.1 Memory Requests are another mechanism for vendor specific
communication.

 

Most of the UAB audio devices I've worked on were either composite devices
with a HID interface for vendor specific communications or

used vendor specific setup packets for vendor specific communications.
Surely one of these approaches should provide a means for you to send

your command down. Being "vendor specific" implies that you have the ability
to code up the firmware side to put the device into DFU mode

when this command comes down.

 

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Chris Perry
Sent: Thursday, December 22, 2016 2:55 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Vendor command to EP0 through the UAC driver

 

Why not send a vendor specific setup command?

 

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Matthew van Eerde
(Redacted sender "Matthew.van.Eerde" for DMARC)
Sent: Thursday, December 22, 2016 2:14 PM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Vendor command to EP0 through the UAC driver

 

I believe the answer is "no", but you may be interested in upvoting this
related feedback to create a Windows class driver for the DFU class:

https://aka.ms/rcxwz2

 

From: DJ Sisolak <mailto:DJ@xxxxxxxxxxxxxx
Sent: Thursday, December 22, 2016 11:11 AM
To: wdmaudiodev@xxxxxxxxxxxxx <mailto:wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Vendor command to EP0 through the UAC driver

 

Does anyone know if there is a way to send a USB Vendor Command directly to
EP0 using the Usb Audio class drivers currently in place? We need a way to
send a command directly to the endpoint to instruct our device to go into a
mode that will accept a firmware update. I know this was not a possibility
in the Win 7 version when I wrote it, but I am wondering if that has changed
since then.

 

Thanks!
DJ

 

Other related posts: