-
Notifications
You must be signed in to change notification settings - Fork 8
almost works with miniDSP 4x10 HD... #9
Comments
Great to see it being tested with other products :) Have you tried increasing the number of channels to 4 here to see if it would report input levels on all channels? Are you seeing values being reported when running If you do, I would inspect what type of replies the device sends while being queried for the volume information, the easiest way to see the data being exchanged is to set the If you don't, then you'll have to look at what the official air app does and analyze it, the easiest way is to sniff the traffic between the app and its proxy component (the air app ships with a proxy so they can send HID messages from the runtime, it listens on To analyze them just grab the data part of the packets - I use |
Thanks for the pointers, much appreciated!
Adding two channels to A packet dump taken while clicking in turn on the VU meter for each of the four input channels produces the following values. I interpret these to mean that the channel is indicated by
|
Incidentally, here's what I learned using the fuzz script by @markubiak to read the miniDSP 4x10 state, which differs slightly from the 2x4 in that there are three digital inputs (analog vs digital input is controlled by the selected preset).
|
Hey there after 2 years, I'm working on a rust rewrite which would support multiple devices. Any chance you could help filling in values for the 4x10HD? There's a pretty simple flow for sniffing out the addresses from the official app by proxying them. The data structure would look like this https://github.com/mrene/minidsp-rs/blob/master/src/device.rs |
Bonjour Mathieu. I will try to help. I will need some time to look at this again; after two years it has completely left my brain... |
Bonjour :) I've learned quite a bit more about the protocol since that message, most of the commands are referring to addresses within the xml config filie generated by the app. Could you send me one for the 4x10? Most components follow a semi-obvious pattern after that (although sometimes, there are extra things in the config that aren't on the device, and the offsets start at weird places, but most of it is there) Once I can add this to the app, it will print out decoded messages with resolved addresses making the process a lot more trivial. |
Here are default config files from two platforms, the miniDSP 2x8 (4x10), and miniSHARC 4x8: |
Thanks! Would you be able to get the USB product id as well? lsusb should tell you. |
Both devices report the same Product ID: |
Uhm this makes distinguishing them a bit harder. Any chance you could run minidsp-rs and paste the output of It'll dump something like this:
Hopefully they'll have different hardware ids - the sources detector runs the same logic as their phonegap app, which had that logic embedded in javascript. |
The command reports |
Hello. I've been experimenting with this tool and my miniDSP 4x10 HD (running firmware 2.11). Most of the functions work without modification -- digital source selection, preset selection, and setting the volume level. However reading the current volume level doesn't work. I would like to fix this. Can you give me an idea of what debug info is needed to make the needed changes?
thanks!
The text was updated successfully, but these errors were encountered: