I see @dreamer has gotten it working on Pipewire on Linux. I am on Linux with the new Pipewire audio plumbing and the jackd command doesn’t seem to be ported to the pipewire world yet. How were you able to get this working @dreamer? Can you share more details? Thanks
K, I followed the instructions and see it showing up in Zoom as a “Multifunction Composite Gadget Analog Stereo” device now. However, when I do a test recording there is no audio. I’m testing other programs now.
It even works plugged into my Pixel 3 using the USB-A to USB-C adapter/dongle into the Google Photos app, it shows up as a wired microphone!! It does seem a bit hot though, so I put another Tiny Gain on just those outputs and dropped it a bit and it works great:
We are not doing anything special though, not yet anyway.
The USB Audio implementation is from the Linux kernel, we just need to ensure USB works well.
Since both Duo and Dwarf can run mainline (that is, latest official Linux kernel, instead of vendor locked one) we can enjoy any fixes and new implementations made and added in it super easily now.
One thing you can easily notice with the current test implementation is the high latency, there is basically triple buffering going on which is really not ideal. But it is there as a test to see if things generally work.
Reducing latency mostly involves setting up something custom that talks directly to USB (in so called “push mode”) instead of polling data from it as ALSA/JACK typically does.
I was meant to give that a try late last year, but then got distracted with Cardinal…
Side note: somehow it stopped working after trying to test out Bitwig. I noticed that if I choose jack mode in pipewire or udacity it shows it as “Multifunction Composite Gadget Analog Stereo” but if I choose alsa mode in pipewire it shows as “MOD Duo / USB Audio”.
I was able to get it to work in Udacity earlier and record something with Jack “Multifunction Composite Gadget Analog Stereo” but now I can’t get it working again. Including making sure usbgadget is running on the Duo and restarting my laptop.
K, I tested my phone again and it showed up as a wired mic, but recorded no sound in the Google Photos app. And Open Camera didn’t show the mic at all. So I power cycled the Duo and it is working again now, including in Bitwig with Pipewire’s Alsa mode w/“MOD Duo / USB Audio”! It is hard to use that way though because, as noted, you can only use it for input or output right now, not both, so playback has to be switched back to my laptop soundcard.
I’ll work towards reproducing it if it happens again.