[alsa-devel] Audiotrak Maya U5 mixer
Hello, I'm using an Audiotrak Maya U5 USB card. As far as I can tell it is based on VIA EnvyUSB VT1728A chip. Running on fresh 3.5-rc7 or an old 2.6.32.27 (on openwrt) kernel I have similar problems with the mixer: 1. The controls PCM and PCM 1 are stuck on lowest level. It can play mp3s fine so I guess PCM is initialized somehow on proper levels but I would expect there should be a way to control PCM volume (other than by controlling Speaker volume). 2. I'm unable to achieve a 'loop' between SPDIF input and the Speakers. It works fine with Line-In. But with SPDIF input I have to either use "arecord | aplay" or alsaloop. Since Windows7 is able to turn on 'Listen' mode on SPDIF input on standard drivers I hope hardware can do it but somehow there is no control for this in alsamixer.
alsa-info output available at: http://pastebin.ca/2173999 (this is with with laptop's hda modules removed) (Latest Audiotrak firmware was installed)
Many Thanks, Rafal
On 23.07.2012 17:14, Lollul wrote:
Hello, I'm using an Audiotrak Maya U5 USB card. As far as I can tell it is based on VIA EnvyUSB VT1728A chip. Running on fresh 3.5-rc7 or an old 2.6.32.27 (on openwrt) kernel I have similar problems with the mixer:
The controls PCM and PCM 1 are stuck on lowest level. It can play mp3s fine so I guess PCM is initialized somehow on proper levels but I would expect there should be a way to control PCM volume (other than by controlling Speaker volume). 2. I'm unable to achieve a 'loop' between SPDIF input and the Speakers. It works fine with Line-In. But with SPDIF input I have to either use "arecord | aplay" or alsaloop. Since Windows7 is able to turn on 'Listen' mode on SPDIF input on standard drivers I hope hardware can do it but somehow there is no control for this in alsamixer.
Why are you so sure the audio is looped internally?
If there is such a mode and that functionality is not exported as standard USB mixer unit control, there is most probably a vendor specific command the Windows driver sends to the device. In that case, you would need to install some USB sniffer tool and trace the communication. Once you found out what's happening under the hood, it should be easy to add that feature to the Linux driver.
You could also try and just ask the vendor about this specific detail, but usually that won't bring you anywhere.
Daniel
On 23.07.2012 17:22, Daniel Mack wrote:
On 23.07.2012 17:14, Lollul wrote:
Hello, I'm using an Audiotrak Maya U5 USB card. As far as I can tell it is based on VIA EnvyUSB VT1728A chip. Running on fresh 3.5-rc7 or an old 2.6.32.27 (on openwrt) kernel I have similar problems with the mixer:
The controls PCM and PCM 1 are stuck on lowest level. It can play mp3s fine so I guess PCM is initialized somehow on proper levels but I would expect there should be a way to control PCM volume (other than by controlling Speaker volume). 2. I'm unable to achieve a 'loop' between SPDIF input and the Speakers. It works fine with Line-In. But with SPDIF input I have to either use "arecord | aplay" or alsaloop. Since Windows7 is able to turn on 'Listen' mode on SPDIF input on standard drivers I hope hardware can do it but somehow there is no control for this in alsamixer.
Why are you so sure the audio is looped internally?
If there is such a mode and that functionality is not exported as standard USB mixer unit control, there is most probably a vendor specific command the Windows driver sends to the device. In that case, you would need to install some USB sniffer tool and trace the communication. Once you found out what's happening under the hood, it should be easy to add that feature to the Linux driver.
You could also try and just ask the vendor about this specific detail, but usually that won't bring you anywhere.
Daniel
I've played with USB sniffer under Windows7 and XP with standard driver and the one supplied by the vendor. Turns out that in fact there is no "Wave" (PCM) mixer control. Also, the 'loop' from SPDIF input to Speakers is achieved in software by Windows sound server. Same thing I can achieve with the wonderful alsaloop. Overall I'm not impressed with this hardware...
Thanks for help! Rafal
participants (2)
-
Daniel Mack
-
Lollul