Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 11:27:07 -0500 (EST)
From:      "Aaron Peterson" <aaron@alpete.com>
To:        "Doug Poland" <doug@polands.org>
Cc:        aaron@alpete.com
Subject:   Re: Curious sound problem in 5.2.1-R
Message-ID:  <21118.162.114.211.143.1078331227.squirrel@mail.alpete.com>
In-Reply-To: <49537.69.48.112.134.1078330323.squirrel@email.polands.org>
References:  <49450.69.48.112.134.1078328883.squirrel@email.polands.org>       <20040303155043.81DFA170D4@www.wcborstel.nl>     <22033.162.114.211.143.1078330060.squirrel@mail.alpete.com> <49537.69.48.112.134.1078330323.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> or alternatively add this to your /boot/loader.conf
>>
>> snd_ich_load="YES"
>>
>> then run "kldload snd_ich.ko" as root...
>>
>> adding to loader.conf makes the proper sound driver load at boot, the
>> kldload command loads it from the command line so you don't have to
>> reboot.
>>
> Thanks Aaron, that's all I needed to do.  If you don't mind, how does
> a mere mortal determine that the snd_ich.ko is the module for an Intel
> ICH5 82801EB sound chip?

i'm quite sure i figured it out the "long" way.  However, it was quick and
dirty, and should work on any system I think...

1) I installed, xmms (or any program to play audio I think would work)
2) ran a short shell script as follows:

cd $MODULES_DIRECTORY  # /modules on 4.x and /boot/kernel on 5.x
for f in snd_*; do kldload $f; done #this loads every possible sound module

3) play music with xmms
4) while music is playing execute the following:

cd $MODULES_DIRECTORY
for f in snd_*; do kldunload $f; done #this unloads all snd modules,
however the one in use fails :)

5) kldstat # to view current loaded modules.

I'm sure I could just have looked it up somewhere, but I'm backwards.
Aaron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21118.162.114.211.143.1078331227.squirrel>