Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Via Eden C3 EPIA Sound Mini-How-To (fix the crackles)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
richone
n00b
n00b


Joined: 19 Jun 2003
Posts: 38

PostPosted: Mon Jun 23, 2003 1:49 am    Post subject: Via Eden C3 EPIA Sound Mini-How-To (fix the crackles) Reply with quote

Sorry for the insane title, but I wanted to cover all of the keywords.

I have a Via Eden 800, 900 and 10000 all running Gentoo. Putting Gentoo on these boxes is the best 36 hour investment you can make for this platform. I have had a bear of a time getting the Alsa sound to work right with Alsa 0.9.3c and better. This was discussed with some fixes in this long thread about the Via C3 platform, but no system wide resolution was ever found. My clue on fixing the problem came from this post over at viaarena. It details a generic way using rmmod and lsmod, but that is not good enough... Here is the Gentoo way:

1. Make Sure you have Alsa 0.9.3c or better
Code:
emerge -p alsa

2. Setup Alsa following the Alsa setup Guide. Then edit your /etc/modules.d/alsa file.
Code:
nano -w /etc/modules.d/alsa

3. Make sure that you are using the via82xx driver. Here is a snippet from my /etc/modules.d/alsa file:
Code:
##  ALSA portion
alias snd-card-0 snd-via82xx

4. To get rid of the crackles and pops in the Alsa driver sound output for this module on the Via Eden board, you must force the sound to 48000mhz. You do this by setting the dxs_support option to 3. The easiest way is to add this line to the end of your /etc/modules.d/alsa file:
Code:
options snd-via82xx dxs_support=3

5. Don't forget to run update-modules.
Code:
update-modules


I could not get the modules to unload using rmmod, so I had to reboot. Your mileage may vary...
Back to top
View user's profile Send private message
lazarusrat
Guru
Guru


Joined: 17 Jul 2002
Posts: 305
Location: Lafayette, IN

PostPosted: Fri Jun 27, 2003 7:14 pm    Post subject: Reply with quote

Cool, I've been meaning to try this.
I'm also going to put the word "Epia" in here so this post doesn't fall through quick searches for that. :)
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Sat Jun 28, 2003 2:34 pm    Post subject: Reply with quote

moving to Documentation, Tips & Tricks. Thanks, puggy.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
dyno
n00b
n00b


Joined: 26 Apr 2003
Posts: 49

PostPosted: Wed Jul 02, 2003 12:51 am    Post subject: Reply with quote

When i do the first step "emege -p alsa" it lists alsa version 0.9.2

How do I get it to emerge 0.9.3c or greater?

-dyno
Back to top
View user's profile Send private message
richone
n00b
n00b


Joined: 19 Jun 2003
Posts: 38

PostPosted: Wed Jul 02, 2003 2:16 am    Post subject: Reply with quote

In /etc/make.conf, make sure you have this set:

Code:
ACCEPT_KEYWORDS="~x86"


Fair warning, this change will allow unstable packages to be emerged on your system. If you are uncomfortable with that feature, change that flag back to its oriingal setting after emerging alsa. Or you can try:

Code:
ACCEPT_KEYWORDS="~x86" emerge -p alsa
Back to top
View user's profile Send private message
dyno
n00b
n00b


Joined: 26 Apr 2003
Posts: 49

PostPosted: Wed Jul 02, 2003 11:10 am    Post subject: Reply with quote

I'm getting some compile errors, but to keep this a documentation forum, I posted my problem in the multimedia section, if you wouldn't mind checking it out, I would appreciate it.

https://forums.gentoo.org/viewtopic.php?p=395313#395313

Thanks,
-dyno
Back to top
View user's profile Send private message
second_exodous
Guru
Guru


Joined: 09 May 2003
Posts: 479
Location: Salt Lake City, UT USA

PostPosted: Fri Sep 05, 2003 3:04 pm    Post subject: Reply with quote

Wow, the 'unstable' version of Alsa is 1.9.6, did this fix some stuff on the via sound chip? I'm compiling alsa right now, it took 3 days to compile kde. Since this is a Epia thread, should a via 600 mhz take that long?

Thanx,
Stan
Back to top
View user's profile Send private message
lazarusrat
Guru
Guru


Joined: 17 Jul 2002
Posts: 305
Location: Lafayette, IN

PostPosted: Fri Sep 05, 2003 3:31 pm    Post subject: Reply with quote

second_exodous wrote:
Wow, the 'unstable' version of Alsa is 1.9.6, did this fix some stuff on the via sound chip?

I'm not sure on that, but I wouldn't count on it yet. Try it with the workaround and without.
second_exodous wrote:
I'm compiling alsa right now, it took 3 days to compile kde. Since this is a Epia thread, should a via 600 mhz take that long?

I'm kind of surprised it went that fast. :wink:
_________________
obpiper: pipe menu generator for openbox
obtheme: pipe menu to switch openbox themes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum