Thanks for your advice, @dsteinwe.
The pulseaudio services are not running on my system. I use pipewire and installed a plugin to handle pulseaudio clients:
Using Alsamixer to check some controls is a great idea! Currently, I don't have any controls like volume, frequency or different channels etc. Therefore I think I can't apply it to this device. But I'll certainly keep it in mind for the next project :D
Currently, I have an Isochronous IN and OUT stream which does nothing really, because the implementation behind it is not done yet. I testet it with piping audio from youtube to the device and just piping the IN Stream to any audio sink. But aplay gives me much more flexibility!
Code: Select all
Device Desc:
0x12, 0x01, 0x00, 0x02, 0xef, 0x02, 0x01, 0x40, 0xb1, 0x20,
0x0b, 0x00, 0x00, 0x01, 0x02, 0x03, 0x04, 0x01
Config Desc:
0x09, 0x02, 0xd3, 0x00, 0x03, 0x01, 0x00, 0x80, 0xfa, 0x08,
0x0b, 0x00, 0x03, 0x01, 0x00, 0x20, 0x05, 0x09, 0x04, 0x00,
0x00, 0x00, 0x01, 0x01, 0x20, 0x06, 0x09, 0x24, 0x01, 0x00,
0x02, 0x08, 0x4b, 0x00, 0x00, 0x08, 0x24, 0x0a, 0x29, 0x00,
0x01, 0x00, 0x07, 0x11, 0x24, 0x02, 0x02, 0x01, 0x01, 0x00,
0x29, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08,
0x11, 0x24, 0x02, 0x03, 0x00, 0x02, 0x00, 0x29, 0x02, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x0c, 0x24, 0x03,
0x14, 0x01, 0x01, 0x00, 0x03, 0x29, 0x00, 0x00, 0x0a, 0x0c,
0x24, 0x03, 0x15, 0x01, 0x03, 0x00, 0x02, 0x29, 0x00, 0x00,
0x0b, 0x09, 0x04, 0x01, 0x00, 0x00, 0x01, 0x02, 0x20, 0x0d,
0x09, 0x04, 0x01, 0x01, 0x01, 0x01, 0x02, 0x20, 0x0e, 0x10,
0x24, 0x01, 0x02, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x02,
0x03, 0x00, 0x00, 0x00, 0x00, 0x06, 0x24, 0x02, 0x01, 0x04,
0x20, 0x07, 0x05, 0x01, 0x05, 0xc0, 0x00, 0x02, 0x08, 0x25,
0x01, 0x00, 0x00, 0x02, 0x08, 0x00, 0x09, 0x04, 0x02, 0x00,
0x00, 0x01, 0x02, 0x20, 0x0f, 0x09, 0x04, 0x02, 0x01, 0x01,
0x01, 0x02, 0x20, 0x10, 0x10, 0x24, 0x01, 0x14, 0x00, 0x01,
0x01, 0x00, 0x00, 0x00, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00,
0x06, 0x24, 0x02, 0x01, 0x04, 0x20, 0x07, 0x05, 0x81, 0x05,
0xc0, 0x00, 0x01, 0x08, 0x25, 0x01, 0x00, 0x00, 0x02, 0x08,
0x00
With this, I pretty much have what I wanted and simply have to implement the data streams (and perhaps some control requests). A wireshark file is attached to visualize the traffic from and to the device.
I think I can close this thread now since further problems would be too much off-topic :)
Thank you very much for your help @dsteinwe. Your comments helped me a lot!