No Sound FBSD 8.1

Tim Kellers timothyk at wallnet.com
Sat Oct 9 20:49:06 UTC 2010


  On 10/9/10 3:31 PM, Scott Ballantyne wrote:
> Hi Tim,
>
> You write:
>> I finally kldload(ed) snd_* and went through the list of the loaded
>> modules until I eliminated useless loaded modules and found the one that
>> actually let the sound files play.  It was a pain in the butt, but it
>> worked.
>>
>> What does kldstat say for your .ko loaded sound files?
>>
> The problem was partly solved by Frank's suggestion to set the default
> device to 1, although I don't know why. Now I get sound through the
> earphones, but not the speakers.
>
> kldstat gives a huge list:
>
> 10    1 0xffffffff812cd000 8c2      snd_driver.ko
> 11    1 0xffffffff812ce000 2242     snd_vibes.ko
> 12   34 0xffffffff812d1000 39590    sound.ko
> 13    1 0xffffffff8130b000 18c6     snd_via82c686.ko
> 14    1 0xffffffff8130d000 3842     snd_via8233.ko
> 15    1 0xffffffff81311000 2342     snd_t4dwave.ko
> 16    3 0xffffffff81314000 b42      snd_spicds.ko
> 17    1 0xffffffff81315000 263e     snd_solo.ko
> 18    4 0xffffffff81318000 1946     snd_sbc.ko
> 19    1 0xffffffff8131a000 17be     snd_sb8.ko
> 20    1 0xffffffff8131c000 1cbe     snd_sb16.ko
> 21    1 0xffffffff8131e000 e3c2     snd_neomagic.ko
> 22    2 0xffffffff8132d000 6d6c     snd_mss.ko
> 23    1 0xffffffff81334000 6ec2     snd_maestro3.ko
> 24    1 0xffffffff8133b000 48ca     snd_maestro.ko
> 25    1 0xffffffff81340000 2d3e     snd_ich.ko
> 26    1 0xffffffff81343000 141c6    snd_hda.ko
> 27    1 0xffffffff81358000 1742     snd_fm801.ko
> 28    1 0xffffffff8135a000 21c6     snd_ess.ko
> 29    1 0xffffffff8135d000 4d42     snd_es137x.ko
> 30    1 0xffffffff81362000 43c2     snd_envy24ht.ko
> 31    1 0xffffffff81367000 48c2     snd_envy24.ko
> 32    1 0xffffffff8136c000 d39e     snd_emu10kx.ko
> 33    1 0xffffffff8137a000 8bbe     snd_ds1.ko
> 34    2 0xffffffff81383000 436c     snd_csa.ko
> 35    1 0xffffffff81388000 22c2     snd_cs4281.ko
> 36    1 0xffffffff8138b000 203e     snd_cmi.ko
> 37    1 0xffffffff8138e000 2dc2     snd_atiixp.ko
> 38    1 0xffffffff81391000 1ec2     snd_als4000.ko
> 39    1 0xffffffff81393000 1a42     snd_ad1816.ko
>
> Thanks so much.
>
> Scott
Here are my settings:

 > sysctl hw.snd.default_unit
hw.snd.default_unit: 0
 > kldstat
Id Refs Address            Size     Name
  1   22 0xffffffff80100000 d71088   kernel
  2    2 0xffffffff80e72000 75638    sound.ko
  3    1 0xffffffff80ee8000 24e48    snd_hda.ko
  4    1 0xffffffff81022000 3a1f     linprocfs.ko
  5    1 0xffffffff81026000 1c4e8    linux.ko
  6    1 0xffffffff81043000 7ee      accf_http.ko
  7    1 0xffffffff81044000 1e6      accf_data.ko

kldstat numbers 4 - 7 aren't relevant, but my workstation had an option 
to choose the driver from a list and one chice supported earphone and 
speaker jacks (the Gateway has a speaker/microphone jack on the front, 
and the "usual" 3 sound jacks on the rear).  That optin was in the 
system settings ---> audio in KDE4  Gnome probably has an equivalent.

My /boot/loader.conf

 > cat /boot/loader.conf

kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
sem_load="YES"
sound_load="YES"
#snd_ich_load="YES"
snd_hda_load="YES"
#snd_emu10k1_load="YES"
#snd_emu10kx_load="YES"
loader_logo="beastie"


The commented out entries are evidence of my futzing around with the 
workstation before I finally got the sound to work.   The first 3 
entries (and the last) in my /boot/loader.conf  aren't sound related.


My uname -a

FreeBSD beta.maestro 8.1-STABLE FreeBSD 8.1-STABLE #2: Mon Jul 26 
17:36:45 EDT 2010     tkellers at beta.maestro:/usr/obj/usr/src/sys/JUNE30  
amd64




More information about the freebsd-questions mailing list