[lkml]   [1996]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: sound module - setting initial volume
Date writes:
> >From the Sound-HOWTO :
> or too quiet. Markus Gutschke ( found this
> solution. Use a line in your /etc/conf.modules file such as the
> ^^(actually it's modules.conf)

Actually it is both ;-) Modprobe accepts either filename for its
configuration data.

> following:
> options sound dma_buffsize=65536 && /usr/bin/setmixer igain 0 ogain 0 vol 75
> This causes your mixer program (in this case setmixer) to be run
> immediately after the sound driver is loaded. The dma_buffsize
> parameter is just a dummy value needed because the option command
> requires a command line option.

While this trick still works, newer versions of modprobe officially
support hooks for installing/removing modules. The manual page lists
these commands:

options module symbol=value ...
alias module real_name
pre-install module command ...
install module command ...
post-install module command ...
pre-remove module command ...
remove module command ...
post-remove module command ...

For the purpose of configuring the sound subsystem, the post-install
hook will have to be set.


P.S.: Who maintains the Sound HOWTO? This information should probably
be updated.

Markus Gutschke Internet:
Schlage 5a
D-48268 Greven-Gimbte

 \ /
  Last update: 2005-03-22 13:38    [W:0.031 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site