You are not logged in.

#1 2004-12-16 01:57:04

tx-cary
Member
From: China
Registered: 2004-12-13
Posts: 43

How to make udev load ALSA driver automaticly?

I have added " modprobe snd-via82xx " (ALSA driver) to /etc/profile.d/mysh.sh, and I could use almost every multimedia software except mp3blaster.

But after I installed udev, the udev load "via82cxxx_audio"  (OSS driver) automaticly instead of snd-via82xxx. mp3blaster can work now, but the esd output plug-in of XMMS could not work, so did stardict (is here anyone have ever used it?).

I modprobe snd-via82xxx manually, but have no use.

How to make OSS and ALSA work parallelly? And, how to make udev load ALSA automacticly instead of OSS?


The repo for Chinese software、fonts and IM
[archcn]
Server = http://arch.ourlinux.net:81/archcn

Offline

#2 2004-12-16 03:22:15

Poprocks
Member
Registered: 2004-12-08
Posts: 26

Re: How to make udev load ALSA driver automaticly?

Please read the following page on the Arch Wiki:

http://wiki2.archlinux.org/index.php/Alsa%20setup

If you have any questions after having read that, ask away.


I take my Poprocks with Diet Pepsi

Offline

#3 2004-12-16 03:40:32

tx-cary
Member
From: China
Registered: 2004-12-13
Posts: 43

Re: How to make udev load ALSA driver automaticly?

I have knew this method. What I mean is that the udev load OSS driver at boot. Although I modprobe the ALSA driver,  my software (stardict) can not play a wav sound (Other software can).

I wants udev NOT to load OSS driver at boot. Or, it is the best, make OSS and ALSA work parallelly,


The repo for Chinese software、fonts and IM
[archcn]
Server = http://arch.ourlinux.net:81/archcn

Offline

#4 2004-12-16 06:07:14

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to make udev load ALSA driver automaticly?

The document explains adding the module to the MODULES variable in /etc/rc.conf.  If your alsa driver is loaded before the hotplug daemon is executed (and it will be if it's in the MODULES variable), then the OSS driver won't be loaded by hotplug.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-12-17 05:07:43

tx-cary
Member
From: China
Registered: 2004-12-13
Posts: 43

Re: How to make udev load ALSA driver automaticly?

Oh, that's my mistake! I have added this line to ~/.bashrc
"modprobe via82cxxx_audio"

How stupid!

By the way, /etc/rc.conf is very convenient! I like it!


The repo for Chinese software、fonts and IM
[archcn]
Server = http://arch.ourlinux.net:81/archcn

Offline

#6 2004-12-21 18:54:59

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: How to make udev load ALSA driver automaticly?

That is kind of stupid...

You should add via82cxxx_audio to the MODULES variable in /etc/rc.conf.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB