On Monday 31 May 2004 21.34, Terry Eck wrote:
In trying to track down why I cannot get sound to play with kdetv under SuSE 9.1 I was checking the data in /etc/modules.conf on 8.2 and noticed that /etc/modules.conf in 9.1 is empty and there is another file which appears to replace it (modprob.conf). Instead of using "on" and "off" as in modules.conf, modprob.conf appears to use /bin/true. Example:
modules.conf: alias block-major-48 off modprobe.conf: alias block-major-49 /bin/true
and later:
modules.conf: alias char-major-116 snd modprobe.conf: install char-major-116 /bin/true
char-major-116 are the /dev/audio files.
Right above the "install char-major-116 /bin/true" there is this line: "#remove this if sound is configured"
I wonder if the line for char-major-116 is causing the problem?
I am getting sound from the system (frozen-bubble works) and I can cat a au file to /dev/audio and it works (cat chime.au >/dev/audio).
I just cannot get kdetv to run with sound.
Can anyone tell me how the new modprob.conf functions? I would think that /bin/true would be similar to "on".
No, it's equivalent to "off". The "install" directive tells the kernel module loader to "run this command instead of inserting the module". As you can expect, just running /bin/true (a program that does nothing except return 0) won't activate your sound. Read "man modprobe.conf" for more details