Re: How to get the ALSA driver to start at boot?
On Fri, 2002-06-14 at 07:18, Ivo Wever wrote: Simon Law wrote: You should add the correct module lines (that you would put in modconf) in /etc/alsa/modutils/0.9 I couldn't gather the format of a module line from the alsa docs and it isn't in the example. What should such a line look like? Here's what I added to /etc/modutils/aliases: # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore #ALSA portion alias snd-card-0 snd-cmipci # OSS/Free portion alias sound-slot-0 snd-card-0 # OSS/Free portion - card #1 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-12 snd-pcm-oss Replace the snd-cmipci above with snd-via8233. You can also place the lines above in their own file under /etc/modutils/. Run /sbin/update-modules to regenerate the /etc/modules.conf file. Install alsa-utils and use alsamixer-0.9 to set your output levels. That should do it. Steven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to get the ALSA driver to start at boot?
On Fri, Jun 14, 2002 at 04:00:04PM +0200, Ivo Wever wrote: I managed to get my sound setup to the point where I can get sound by running 'modprobe snd-via8233' and some commands for unmuting the appropriate channels. However, I would prefer the driver being loaded by the ALSA entry in /etc/init.d, since the alsa config files seem to load the driver with a bunch of options and perhaps I need them later [also, simply throwing the driver in /etc/modules seems like an ad-hoc solution, something I don't like by principle]. I'm assuming that you're using ALSA 0.9. Now it says in the 'INSTALL' doc (that comes with alsa-drivers) that one has to add some aliases to /etc/modules.conf. I think (I'm not very good at reading bash-scripts yet) that /etc/init.d/alsa also looks for a 'snd-card-0' alias, created in /etc/modules.conf (one of the requested aliases) and despite adding the requested lines to modules.conf, those lines have dissapeared from modules.conf again [which, I gather from the remarks in modules.conf, was to be expected]. Consequently, alsa fails at boottime. You should add the correct module lines (that you would put in modconf) in /etc/alsa/modutils/0.9 P.S. I think a correct setup also unmutes the mixer automagically, but assuming I can't get it to work other than using the ad-hoc solution: in what file should I put the commands that unmute the mixers? When you shut down, alsa-utils should have an init.d script that saves your current mixer settings, and will restore them on the next boot. Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to get the ALSA driver to start at boot?
Simon Law wrote: Ivo Wever wrote: I'm assuming that you're using ALSA 0.9. Yes, I am. You should add the correct module lines (that you would put in modconf) in /etc/alsa/modutils/0.9 I couldn't gather the format of a module line from the alsa docs and it isn't in the example. What should such a line look like? sincerely, -- Ivo Wever [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]