View previous topic :: View next topic |
Author |
Message |
photon n00b
Joined: 06 May 2002 Posts: 8 Location: Middletown, NJ USA
|
Posted: Mon May 06, 2002 2:55 pm Post subject: ALSA |
|
|
Ok, here's the deal.
If I put my sound modules in modules.autoload, the modules are loaded and the /dev entries are created properly. The mixer settings however are not loaded.
If I use the alsasound script in my init with the modules.autoload, the alsasound refuses to run as the modules are already loaded and /proc/asound exists.
If I use the alsasound script without the modules.autoload entries, the modules are loaded and the mixer settings are loaded, but the /dev entries aren't created.
Yes I am using devfs.
Help. |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Mon May 06, 2002 3:03 pm Post subject: |
|
|
Don't load your sound modules in /etc/modules.autoload AND through /etc/init.d/alsasound. Choose one method.
Do you load snd-pcm-oss and snd-mixer-oss in modues.autoload? You should... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20529
|
Posted: Mon May 06, 2002 3:52 pm Post subject: |
|
|
sven wrote: | Don't load your sound modules in /etc/modules.autoload AND through /etc/init.d/alsasound. Choose one method.
Do you load snd-pcm-oss and snd-mixer-oss in modues.autoload? You should... |
What option creates the snd-pcm-oss and mixer-oss files? I had the pcm at one time, but it disappeared and I've not been able to get it back. |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Mon May 06, 2002 6:44 pm Post subject: |
|
|
emerge alsa-oss |
|
Back to top |
|
|
Guest
|
Posted: Mon May 06, 2002 6:45 pm Post subject: |
|
|
sven wrote: | emerge alsa-oss |
Interesting... I had never done that and had the file. Weird. |
|
Back to top |
|
|
photon n00b
Joined: 06 May 2002 Posts: 8 Location: Middletown, NJ USA
|
Posted: Mon May 06, 2002 7:42 pm Post subject: |
|
|
*sigh* Thank you, Captain Obvious... *rolls eyes*
The issue here is not whether to try to load the same modules twice! An untrained monkey could figure that out. The problem is, for sound to work correctly, the /dev entries must be created and the mixer settings must be properly handled. However, each of these methods neglects one. |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Mon May 06, 2002 8:12 pm Post subject: |
|
|
Hmm, did you edit /etc/devfsd.conf as described in this document? |
|
Back to top |
|
|
photon n00b
Joined: 06 May 2002 Posts: 8 Location: Middletown, NJ USA
|
Posted: Mon May 06, 2002 8:58 pm Post subject: |
|
|
I kept the default entries in there because they included what was on that page plus more...
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660 |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Tue May 07, 2002 7:18 am Post subject: |
|
|
Hmmm, try "killall -HUP devfsd" and see if the devices are created then... |
|
Back to top |
|
|
photon n00b
Joined: 06 May 2002 Posts: 8 Location: Middletown, NJ USA
|
Posted: Tue May 07, 2002 8:32 pm Post subject: |
|
|
Fixed it. The thing I needed to do, was change in /etc/modules.d/alsa,
snd-card-0 snd-emu10k1
snd-card-1 snd-emu10k1
...
snd-card-7 snd-emu10k1
to
snd-card-0 snd-emu10k1
snd-card-1 snd-emu10k1-synth
snd-card-2 snd-pcm-oss # creates the /dev entries
snd-card-3 snd-emu10k1
snd-card-4 snd-emu10k1
...
snd-card-7 snd-emu10k1 |
|
Back to top |
|
|
|