mischa85 / snd-xonedb4

Driver for the Allen & Heath Xone:DB4
13 stars 1 forks source link

DB2 compatibility #5

Open WeDigJames opened 3 weeks ago

WeDigJames commented 3 weeks ago

Your contribution is really appreciated, especially as Allen & Heath said it couldn't be done.

I have a DB2. I guess the sound card is the same. Do you think your work would be compatible or require much tweaking to make it work for the DB2?

I'm a Mac user (and still running Catalina to keep using my mixer).

Thank you!

mischa85 commented 3 weeks ago

I also think they are pretty similar. I will need a Wireshark USB capture of your DB2 running on the latest audio firmware (this is the Ploytec updater thingy distributed along the driver). Capture USB traffic using Wireshark, plug in the mixer, play some audio for a few seconds and stop Wireshark.

WeDigJames commented 5 days ago

I managed to do the Wireshark capture for my DB2. Here is the file. I hope that works - my first time using Wireshark. A lot of data there for a few seconds.

mischa85 commented 4 days ago

Some observations:

All in all, looks like it'll be easy to add support for the DB2.

WeDigJames commented 4 days ago

Thanks so much for your observations.

Here's a new capture including mixer startup.

But I'm not sure about the device software. I downloaded the latest Device Software. It gave me two packages:

  1. XDB2_v349.dmg, which I was able to install. I think I may have already been running that (not 100% sure)
  2. FWUpdater_XONE_DB2_V120.app, which I think you want me to be running. But I'm not able to install that - it looks like I'd need an older version of MacOS (than Catalina) to do that: Screenshot 2024-09-10 at 14 01 00

So did the new capture give you what you need or could you suggest what I need to do to get you the best capture?

I think I may have a Mac running High Sierra if needs be.

mischa85 commented 4 days ago

Thanks!

This gives us the USB ID we'll need, which is 0a4a:ffd2

<key>idVendor</key>
<integer>2634</integer>
<key>idProduct</key>
<integer>65490</integer>

It also tells me that the mixer runs on audio firmware 1.0.8. Do you happen to have an older macOS or Windows machine on hand to update the firmware to 1.2.0? I'll add this functionality to the driver when I get around to it.

WeDigJames commented 4 days ago

Thanks for sticking with me!

Dusted off on old laptop running Sierra and got 1.2.0 installed on the mixer. So, here's the new Wireshark, hopefully with everything you need to take a look.

Really appreciate your help with this, thanks.

mischa85 commented 3 days ago

No worries, thanks for gathering the data.

Your new capture looks identical to what I see on my DB4. So much even that I think the driver should work if you only change the USB ID:

https://github.com/mischa85/snd-xonedb4/blob/cb43ec01a5ec87355d9ff1f1714748c45ba025c2/mac-coreaudio/XoneDB4Driver/Info.plist#L51

to:

<integer>65490</integer>

Note to self: I can probably add support for both devices (and maybe even 4D) by using the idProductArray key instead.