New asound.state for AV-710 under Linux
Oct 21, 2005 at 11:11 PM Thread Starter Post #1 of 66

ADS

100+ Head-Fier
Joined
Dec 15, 2002
Posts
441
Likes
11
A long while ago I posted an asound.state file that enabled the high resolution audio output under Linux. For whatever reason, after Alsa 1.0.6 I could no longer get a working asound.state file. Thanks to AdamWill for pointing out that my old file works (with one control removed) on alsa versions >= 1.0.9! I've reworked the old version, changed some stuff, and tested it with audio from DVDs, MP3s, and CDs. Everything seems to work perfectly again. I'm currently running Ubuntu 5.10, and the following directions are meant for Ubuntu, but the asound.state should work for any recent Linux distribution (just do a 'locate asound.state' and replace it with this version as root).

In order to get the Chaintech AV-710 to run in high-res mode and use the superior Wolfson DAC, download this asound.state file.
Copy this to your /var/lib/alsa directory as root, and run ‘alsactl restore'. This will enable the high-resolution jack. I still haven't figured out how to get the card into 96000 Hz sampling mode without problems, so if someone could get that to work I'd appreciate it. I know it has something to do with the ‘Multi Track Internal Clock' setting. To play around with it you can use ‘amixer cset numid=43′.

If anyone has any problems feel free to PM me or respond in this thread.
 
Oct 22, 2005 at 7:55 PM Post #2 of 66
Any chance of an explanation of what else you changed?
smily_headphones1.gif


BTW, one thing I noticed is that mic-in isn't enabled with the old version, and if I load a mixer and enable it, the high-quality output goes dead, so to use Skype, I have to switch my amp to the low-quality output, load a mixer, enable mic-in, do my call, then switch the amp back to the high-quality out and reload asound.state to go back to high-quality output. Obviously this is a bit of pain. Is there a better way to do it?
 
Oct 22, 2005 at 8:01 PM Post #3 of 66
ALSA 1.0.10rc1 - I get these warnings when loading the new asound.state:

[root@zen adamw]# alsactl restore
alsactl: set_control:888: warning: iface mismatch (2/3) for control #53
alsactl: set_control:890: warning: device mismatch (1/1) for control #53
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #53
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Con Mask/IEC958 Playback Con Mask) for control #53
alsactl: set_control:896: warning: index mismatch (0/0) for control #53
alsactl: set_control:888: warning: iface mismatch (2/3) for control #54
alsactl: set_control:890: warning: device mismatch (1/1) for control #54
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #54
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Pro Mask/IEC958 Playback Pro Mask) for control #54
alsactl: set_control:896: warning: index mismatch (0/0) for control #54
[root@zen adamw]#
 
Oct 22, 2005 at 9:02 PM Post #4 of 66
Quote:

Originally Posted by AdamWill
ALSA 1.0.10rc1 - I get these warnings when loading the new asound.state:

[root@zen adamw]# alsactl restore
alsactl: set_control:888: warning: iface mismatch (2/3) for control #53
alsactl: set_control:890: warning: device mismatch (1/1) for control #53
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #53
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Con Mask/IEC958 Playback Con Mask) for control #53
alsactl: set_control:896: warning: index mismatch (0/0) for control #53
alsactl: set_control:888: warning: iface mismatch (2/3) for control #54
alsactl: set_control:890: warning: device mismatch (1/1) for control #54
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #54
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Pro Mask/IEC958 Playback Pro Mask) for control #54
alsactl: set_control:896: warning: index mismatch (0/0) for control #54
[root@zen adamw]#



Oops! My bad. I have a microphone connected to my system and it pushed back the device numbers by 1. Should be fixed now.
 
Oct 24, 2005 at 3:32 AM Post #6 of 66
ADS: what do you think about my mic-in thing?
 
Oct 24, 2005 at 3:33 AM Post #7 of 66
ads: er, actually, with the updated file I just get more mismatches
smily_headphones1.gif


[root@zen adamw]# alsactl restore
alsactl: set_control:890: warning: device mismatch (0/1) for control #52
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #52
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Default/IEC958 Playback Default) for control #52
alsactl: set_control:896: warning: index mismatch (0/0) for control #52
alsactl: set_control:888: warning: iface mismatch (2/3) for control #53
alsactl: set_control:890: warning: device mismatch (0/1) for control #53
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #53
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Con Mask/IEC958 Playback Con Mask) for control #53
alsactl: set_control:896: warning: index mismatch (0/0) for control #53
alsactl: set_control:888: warning: iface mismatch (2/3) for control #54
alsactl: set_control:890: warning: device mismatch (0/1) for control #54
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #54
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Pro Mask/IEC958 Playback Pro Mask) for control #54
alsactl: set_control:896: warning: index mismatch (0/0) for control #54
[root@zen adamw]#
 
Oct 24, 2005 at 3:34 AM Post #8 of 66
michael: that's the exact asound.state I originally came up with for post-1.0.9 - it's ADS's original asound.state with control 7, which seemed to give ALSA problems after 1.0.8, removed.
 
Oct 24, 2005 at 4:28 AM Post #9 of 66
Quote:

Originally Posted by AdamWill
ads: er, actually, with the updated file I just get more mismatches
smily_headphones1.gif


[root@zen adamw]# alsactl restore
alsactl: set_control:890: warning: device mismatch (0/1) for control #52
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #52
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Default/IEC958 Playback Default) for control #52
alsactl: set_control:896: warning: index mismatch (0/0) for control #52
alsactl: set_control:888: warning: iface mismatch (2/3) for control #53
alsactl: set_control:890: warning: device mismatch (0/1) for control #53
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #53
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Con Mask/IEC958 Playback Con Mask) for control #53
alsactl: set_control:896: warning: index mismatch (0/0) for control #53
alsactl: set_control:888: warning: iface mismatch (2/3) for control #54
alsactl: set_control:890: warning: device mismatch (0/1) for control #54
alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #54
alsactl: set_control:894: warning: name mismatch (IEC958 Playback Pro Mask/IEC958 Playback Pro Mask) for control #54
alsactl: set_control:896: warning: index mismatch (0/0) for control #54
[root@zen adamw]#



Doh! I'll look into it. Stupid asound.state formatting... There may be some changes with alsa 1.10 stuff. I tried around the mic stuff, and everything seemed to be fine. Not sure why you lose sound on your machine (maybe another 1.10 issue).
 
Oct 24, 2005 at 5:40 PM Post #10 of 66
ads: I had the mic thing with the old asound.state and ALSA 1.0.9, I didn't try with the new one yet.
 
Oct 25, 2005 at 3:23 AM Post #11 of 66
Holy moly! It finally works. I don't know if it was the new asound.state or a fresh install of Ubuntu but my god it finally works. One minor gripe I have is that I have to control the volume (PCM bar) from alsamixer rather than the standard volume control. Oh well, I don't care at all right now.

Thank you ADS!
smily_headphones1.gif
 
Dec 6, 2005 at 4:50 AM Post #12 of 66
using the file form the link i get Code:

Code:
[left]alsactl: set_control:888: warning: iface mismatch (2/3) for control #53 alsactl: set_control:890: warning: device mismatch (1/1) for control #53 alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #53 alsactl: set_control:894: warning: name mismatch (IEC958 Playback Con Mask/IEC958 Playback Con Mask) for control #53 alsactl: set_control:896: warning: index mismatch (0/0) for control #53 alsactl: set_control:888: warning: iface mismatch (2/3) for control #54 alsactl: set_control:890: warning: device mismatch (1/1) for control #54 alsactl: set_control:892: warning: subdevice mismatch (0/0) for control #54 alsactl: set_control:894: warning: name mismatch (IEC958 Playback Pro Mask/IEC958 Playback Pro Mask) for control #54 alsactl: set_control:896: warning: index mismatch (0/0) for control #54[/left]

i just got the card today.
 
Dec 7, 2005 at 7:07 AM Post #13 of 66
weedy: I get that too, but it's not fatal. You should find it works fine anyway.

BTW, if anyone is interested, I have a .asoundrc I found on AVS forums which is perfect for using the optical out. Does both standard stuff over the optical output and also AC3 passthrough perfectly. I'm using it on my HTPC (which I bought an AV710 for yesterday). Give me a shout if anyone needs that file.
 
Feb 4, 2006 at 8:36 PM Post #14 of 66
I just wanted to post in case anyone is still having a problem. I used the asound.state from above and still couldn't get the Wolfson DAC working. If I tried to point XMMS or another media player to hw:1,0 for the AV710 it wouldn't play. It did finally work after using a .asoundrc file and setting my AV710 as the default device (I'm also using an Audigy 2 ZS)

Code:

Code:
[left]pcm.!default { type plug slave { pcm "hw:1,0" } }[/left]

Thanks for the info everyone!
biggrin.gif
 
Feb 5, 2006 at 1:48 AM Post #15 of 66
I didnt get any errors, but there is no sound coming out of the AV-710.
ES1371 works fine, so I know its not something with the OS. ALSA is untouched from the one that ships with the latest FC4 core.
 

Users who are viewing this thread

Back
Top