Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
photon
n00b
n00b


Joined: 06 May 2002
Posts: 8
Location: Middletown, NJ USA

PostPosted: Mon May 06, 2002 2:55 pm    Post subject: ALSA Reply with quote

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
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Mon May 06, 2002 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20521

PostPosted: Mon May 06, 2002 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Mon May 06, 2002 6:44 pm    Post subject: Reply with quote

emerge alsa-oss 8)
Back to top
View user's profile Send private message
Guest






PostPosted: Mon May 06, 2002 6:45 pm    Post subject: Reply with quote

sven wrote:
emerge alsa-oss 8)


Interesting... I had never done that and had the file. Weird.
Back to top
photon
n00b
n00b


Joined: 06 May 2002
Posts: 8
Location: Middletown, NJ USA

PostPosted: Mon May 06, 2002 7:42 pm    Post subject: Reply with quote

*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
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Mon May 06, 2002 8:12 pm    Post subject: Reply with quote

Hmm, did you edit /etc/devfsd.conf as described in this document?
Back to top
View user's profile Send private message
photon
n00b
n00b


Joined: 06 May 2002
Posts: 8
Location: Middletown, NJ USA

PostPosted: Mon May 06, 2002 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Tue May 07, 2002 7:18 am    Post subject: Reply with quote

Hmmm, try "killall -HUP devfsd" and see if the devices are created then...
Back to top
View user's profile Send private message
photon
n00b
n00b


Joined: 06 May 2002
Posts: 8
Location: Middletown, NJ USA

PostPosted: Tue May 07, 2002 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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