Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
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.) I don't see an entry for your sound card, mine is: [EMAIL PROTECTED]: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. [EMAIL PROTECTED]:1:0: class=0x040300 card=0x81e71043 chip=0x32881106 rev=0x10 hdr=0x00 vendor = 'VIA Technologies Inc' class= multimedia [EMAIL PROTECTED]: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 AddressSize Name 1 10 0xc040 7182a8 kernel 21 0xc0b19000 59f20acpi.ko 31 0xc436a000 16000linux.ko 41 0xc43c1000 17000ng_btsocket.ko 51 0xc43d8000 a000 netgraph.ko 61 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 Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Tue Oct 2 14:05:18 IST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Sempron(tm) Processor 2800+ (1596.20-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20fc2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x1LAHF real memory = 737869824 (703 MB) avail memory = 712638464 (679 MB) ioapic0 Version 0.3 irqs 0-23 on motherboard ioapic1 Version 0.3 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: base peripheral, interrupt controller at device 0.5 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pcib2: ACPI PCI-PCI bridge irq 27 at device 2.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 31 at device 3.0 on pci0 pci3: ACPI PCI bus on pcib3 atapci0: VIA 8237A SATA150 controller port 0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xc800-0xc803,0xc400-0xc40f,0xc000-0xc0ff irq 21 at device 15.0 on pci0 ata2: ATA channel 0 on atapci0 ata3: ATA channel 1 on atapci0 atapci1: VIA 8237A UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata1: ATA channel 1 on atapci1 uhci0: VIA 83C572 USB controller port 0xb800-0xb81f irq 20 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xb400-0xb41f irq 22 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Re: Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
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: [EMAIL PROTECTED]: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. [EMAIL PROTECTED]:1:0: class=0x040300 card=0x81e71043 chip=0x32881106 rev=0x10 hdr=0x00 vendor = 'VIA Technologies Inc' class= multimedia [EMAIL PROTECTED]: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 AddressSize Name 1 10 0xc040 7182a8 kernel 21 0xc0b19000 59f20acpi.ko 31 0xc436a000 16000linux.ko 41 0xc43c1000 17000ng_btsocket.ko 51 0xc43d8000 a000 netgraph.ko 61 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 -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
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: [EMAIL PROTECTED]: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. [EMAIL PROTECTED]:1:0: class=0x040300 card=0x81e71043 chip=0x32881106 rev=0x10 hdr=0x00 vendor = 'VIA Technologies Inc' class= multimedia [EMAIL PROTECTED]: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 AddressSize Name 1 10 0xc040 7182a8 kernel 21 0xc0b19000 59f20acpi.ko 31 0xc436a000 16000linux.ko 41 0xc43c1000 17000ng_btsocket.ko 51 0xc43d8000 a000 netgraph.ko 61 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 -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]