OS/2, eCS & ArcaOS - Technical > Multimedia
XHCI and USB Audio perspectives
Mikhail:
Yes, my mistake. The version I used in test 2 and 3 is 10.244
I apologize.
Mikhail:
--- Quote from: Lars on December 08, 2022, 10:54:17 am ---Have you done a full reinstallation of the 10.247 USB audio driver install package, including all subcomponents that it contains, and not just copying/unzipping files ?
--- End quote ---
I did two installations of USB audio drivers, on two different systems:
1. On a brand new, fresh ArcaOS, I installed the package via minstall
2. On the PXE boot version I copied usbaud2.sys
In both cases, the problem was the same.
--- Quote from: Lars on December 08, 2022, 10:54:17 am ---As a test, can you only test with my USB driver set ? Just install all of 10.247 to test with EHCI. If done, you can revert back to 12.14.
--- End quote ---
OK - today I will try and describe the result.
I tried to replace the USB drivers completely with your package version 10.247.
The result is the same.
Mikhail:
Amanero is a programmable interface, depending on the firmware, this device can be used for different application environments.
In fact, there are only two branches of current firmware.
I flashed Amanero with two different firmware: for Linux OS and Windows. In order to evaluate their behavior in the OS2 environment.
On the firmware for Linux, the device works fine on USB 12.x drivers from AN + USB Audio 10.244 and those below the version. Starting with version 10.245 USB Audio, there is support for working with XHCI controllers, but there is also a problem of determining the sampling frequency (possible only on Amanero audio adapters, tomorrow I will find out how the XMOS chips behave).
On Windows firmware, the device works fine only with USB + USBAudio 10.xx drivers, and with any versions, including 10.247. On USB 12.xx versions from AN Amanero is not detected. But since a driver for XHCI controllers has not yet been released for version 10.xx, then on my current motherboard I have to use the Amanero firmware for Linux and the USB 12.14 + USB Audio 10.247 drivers. Start playing the track twice when the sampling frequency of the audio file changes.
Lars:
Ok, you have proven that it is the USB audio class drivers that matter.
But this is a nightmare. I can try and roll back changes but it's going to be trial and error.
It's obvious that the FW for Linux and Windows behaves differently and for a good reason (obviously, Linux and Windows have different expectations of how an USB audio device should behave). I cannot say how much time I have for this experiment.
Would you be able to install Wireshark and the USB capture/filter driver that comes with it and take a trace of what happens when you play a sound file ? What I would need to know is what commands the OS sends in what sequence when an attempt is made to play a sound file. The OS/2 audio class driver would then have to mirror that behaviour (and hope it does not break for all other devices ...).
And that said, I would think that you would need to do this under Linux because you are using Linux FW (does Wireshark even exist under Linux ? I don't know).
It would make sense to raise a problem report so that the AN stack is able to detect the Anamero device if it uses FW for Windows. You are a paying AN customer, you are entitled to do so.
Lars:
--- Quote from: Mikhail on December 08, 2022, 10:39:29 pm ---On the firmware for Linux, the device works fine on USB 12.x drivers from AN + USB Audio 10.244 and those below the version. Starting with version 10.245 USB Audio, there is support for working with XHCI controllers, but there is also a problem of determining the sampling frequency (possible only on Amanero audio adapters, tomorrow I will find out how the XMOS chips behave).
On Windows firmware, the device works fine only with USB + USBAudio 10.xx drivers, and with any versions, including 10.247. On USB 12.xx versions from AN Amanero is not detected. But since a driver for XHCI controllers has not yet been released for version 10.xx, then on my current motherboard I have to use the Amanero firmware for Linux and the USB 12.14 + USB Audio 10.247 drivers. Start playing the track twice when the sampling frequency of the audio file changes.
--- End quote ---
Can you save USB descriptor info for these 2 different FW versions ? You can save USB descriptor info by running "lsusb.exe".
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version