[Gllug] /etc/modules and /etc/modules.conf
Adrian McMenamin
adrian at newgolddream.dyndns.info
Sat Jan 5 14:18:54 UTC 2008
What is the correct way to handle module setup?
I am building a setup for the Dreamcast which I aim to distribute as a
"distro" but I am having problems with the sound set up.
The sound module works - it will play through oss emulation as you would
expect, suggesting there is nothing wrong with it.
But it won't work properly as a pure alsa module: which I think is
because of problems in userland.
Therefore I am trying to set this up in the same way as it would be on a
standard desktop box and have doctored an init.d script so that I am now
processing /etc/modules (I took the module-init-tools script off my
Ubuntu box and suitble doctored it)
But the various alias commands in this file fail because, of course,
they are treated as though they are an attempt to load a module called
"alias"
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-aica
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
So - should they be in a different file (/etc/modules.conf?) and if so -
in what way should that be processed?
Adrian
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list