From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 12:36:39 2007 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 C9A7C16A46E for ; Tue, 2 Oct 2007 12:36:39 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2E50413C4BC for ; Tue, 2 Oct 2007 12:36:38 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from 208.102-247-81.adsl-dyn.isp.belgacom.be (HELO belgacom.net) ([81.247.102.208]) by mailrelay007.isp.belgacom.be with ESMTP; 02 Oct 2007 14:36:32 +0200 X-Belgacom-Dynamic: yes Date: Tue, 2 Oct 2007 14:35:04 +0200 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20071002123504.GA98179@ducati-748.3rdrock.kicks-ass.net> References: <218005.4669.qm@web43139.mail.sp1.yahoo.com> <20071002103637.GA32788@owl.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071002103637.GA32788@owl.midgard.homeip.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A 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: Tue, 02 Oct 2007 12:36:39 -0000 On Tue, Oct 02, 2007 at 12:36:37PM +0200, Erik Trulsson wrote: > On Tue, Oct 02, 2007 at 11:22:49AM +0100, Sai Vinob wrote: > > Dominique had asked me to try few stuff. > > > > First he had asked me to give the output of pciconf. Which we found > > didnot have any entry for my sound card. As a reference he had given > > part of his pciconf. Compare his with mine. (Attachments are given.) > > That chipset is not a VT8233A. It is a Via VT8237A. > The snd_hda(4) driver should work for that chip. > I don't think that driver was included in 6.2-RELEASE, so you might have > to upgrade to the latest -STABLE if you have not already done so, > > (In case someone wonders: No, the VT8237 and the VT8237A are > not the same chip. The most obvious is which audio driver is needed (snd_via8233 > vs snd_hda)) > > > > > > I don't see an entry for your sound card, mine is: > > > pcm0@pci0:2:7: class=0x040100 card=0x56701462 chip=0x70121039 > > > rev=0xa0 > > > hdr=0x00 > > > vendor = 'Silicon Integrated Systems (SiS)' > > > device = 'SiS7013 PCI Audio Accelerator' > > > class = multimedia > > > subclass = audio > > > > > > Exactly. For some reason the driver is not being loaded I guess. Look > > > at the entry 'none2' in 'pciconf' which refers to multimedia device. > > > Guess that's my audio device. > > > > > > > none2@pci4:1:0: class=0x040300 card=0x81e71043 chip=0x32881106 > > > rev=0x10 hdr=0x00 > > > > vendor = 'VIA Technologies Inc' > > > > class = multimedia > > > > none3@pci5:7:0: class=0x078000 card=0x205d14f1 chip=0x2f3014f1 > > > rev=0x01 hdr=0x00 > > > > vendor = 'Conexant Systems, Inc' > > > > class = simple comms > > > > > > > > He then had asked me to try loading the generic driver. > > > > > You shoud give a try with loading all modules just in case with: > > > kldload sound > > > > I tried this too. But the result has not changed for good. Same > > outputs for all-kldstat, cat /dev/sndstat, dmesg, pciconf ... > > > > Then I decided to custom compile my kernel itself. I first unloaded > > 'sound'. Followed the instructions in the FreeBSD handbook to compile > > custom kernel and booted into system with it. Strangely even now the > > output of 'kldstat' is, > > Id Refs Address Size Name > > 1 10 0xc0400000 7182a8 kernel > > 2 1 0xc0b19000 59f20 acpi.ko > > 3 1 0xc436a000 16000 linux.ko > > 4 1 0xc43c1000 17000 ng_btsocket.ko > > 5 1 0xc43d8000 a000 netgraph.ko > > 6 1 0xc43e6000 2000 ng_bluetooth.ko > > > > and that of '/dev/sndstat' is, > > FreeBSD Audio Driver (newpcm) > > Installed devices: > > > > I'm attaching the 'dmesg' and 'pciconf' files for your reference. The > > files are same before and after building custom kernel. I checked with > > 'diff'. > > > > If even custom building the kernel to include the sound and > > snd_via8233 driver doesnot help then don't know whatelse to try. > > > > > > > > > > > > --Sai Vinob > > > > I'm running driver snd_hda in 6.2 and works great thanks to somebody on the list. He gave me the following info Download the precompiled kernel module from here: http://people.freebsd.org/~ariff/lowlatency/ Decompress the archive, copy sound.ko and snd_hda.ko to /boot/kernel (you may as well copy all the .ko files, but these two are the ones needed) then do (as root) a kldload snd_hda ( and add snd_hda_load="YES" to /boot/loader.conf so it loads with each reboot). Hope this helps. _Alain > > > -- > > Erik Trulsson > ertr1013@student.uu.se > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"