Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 -
Alain G. Fabry
alainfabry at belgacom.net
Tue Oct 2 05:36:39 PDT 2007
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 at 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 at pci4:1:0: class=0x040300 card=0x81e71043 chip=0x32881106
> > > rev=0x10 hdr=0x00
> > > > vendor = 'VIA Technologies Inc'
> > > > class = multimedia
> > > > none3 at 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:
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.
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013 at student.uu.se
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions