From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 20:49:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7B11065670 for ; Sat, 9 Oct 2010 20:49:06 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 625F98FC12 for ; Sat, 9 Oct 2010 20:49:06 +0000 (UTC) Received: from tim-kellerss-macbook-pro.local (springfling73.org [96.57.143.21]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0LA1008QPJ5SK7B0@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Sat, 09 Oct 2010 16:49:05 -0400 (EDT) Date: Sat, 09 Oct 2010 16:49:04 -0400 From: Tim Kellers In-reply-to: <20101009193132.87551.qmail@ssr.com> To: Scott Ballantyne Message-id: <4CB0D540.9000405@wallnet.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <20101009174623.84973.qmail@ssr.com> <4CB0B41C.9060802@wallnet.com> <20101009193132.87551.qmail@ssr.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 Cc: freebsd-questions@freebsd.org Subject: Re: No Sound FBSD 8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 20:49:06 -0000 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@beta.maestro:/usr/obj/usr/src/sys/JUNE30 amd64