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]
Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
--- Erik Trulsson [EMAIL PROTECTED] wrote: That chipset is not a VT8233A. It is a Via VT8237A. The snd_hda(4) driver should work for that chip. Oops... You are right! I counter-checked with Asus site-the chipset is not VT8233A but VT8237A. (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)) Probably that's why 'kldload snd_via8233' was not working. But then loading generic 'kldload sound' should have worked right? 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, Now, you need to help me with 'how to' here. I dont know how to do this job. Only two days back I did 'cvsup'. Is that what you are talking about? If not kindly guide me. --Sai Vinob Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
On Tue, Oct 02, 2007 at 03:45:10PM +0100, Sai Vinob wrote: --- Erik Trulsson [EMAIL PROTECTED] wrote: That chipset is not a VT8233A. It is a Via VT8237A. The snd_hda(4) driver should work for that chip. Oops... You are right! I counter-checked with Asus site-the chipset is not VT8233A but VT8237A. (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)) Probably that's why 'kldload snd_via8233' was not working. But then loading generic 'kldload sound' should have worked right? 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, Now, you need to help me with 'how to' here. I dont know how to do this job. Only two days back I did 'cvsup'. Is that what you are talking about? If not kindly guide me. 'cvsup' is used as the first step when upgrading. Then you need to recompile and install everything too. This is all documented fairly well in the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Read all of that carefully before going any further. It is not really difficult, but the whole procedure can be a bit daunting the first time you go through it. -- 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: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
Sai Vinob wrote: --- Erik Trulsson [EMAIL PROTECTED] wrote: That chipset is not a VT8233A. It is a Via VT8237A. The snd_hda(4) driver should work for that chip. Oops... You are right! I counter-checked with Asus site-the chipset is not VT8233A but VT8237A. (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)) Probably that's why 'kldload snd_via8233' was not working. But then loading generic 'kldload sound' should have worked right? 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, Now, you need to help me with 'how to' here. I dont know how to do this job. Only two days back I did 'cvsup'. Is that what you are talking about? If not kindly guide me. Yes, more or less, that's what he means. You should have: *default release=cvs tag=RELENG_6 in your supfile. The remaining steps are well-documented, also. For a complete overview, see Chapter 23 of the online handbook at www.freebsd.org/handbook. HTH, Kevin Kinsey -- If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's a design philosophy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem Solved:- Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
--- Alain G. Fabry [EMAIL PROTECTED] wrote: On Tue, Oct 02, 2007 at 12:36:37PM +0200, Erik Trulsson wrote: 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'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 It indeed helped Alain. Thanks a lot. First I recompiled my kernel as I had compiled it to load snd_via8233(Was that necessary?). I then copied sound.ko and snd_hda.ko to /boot/kernel and edited /boot/loader.conf to load snd_hda at boot-time. cat /dev/sndstat now shows, FreeBSD Audio Driver (newpcm: 64bit 2007100200/i386) Installed devices: pcm0: VIA VT8251/8237A High Definition Audio Controller at memory 0xfbefc000 irq 17 kld snd_hda [20070930_0048] [MPSAFE] (1p:1v/1r:1v channels duplex default) The problem has been solved. Thanks again Alain. Thanks to Erik for pointing me to a silly but major mistake- the chipset being VT8237A and not VT8233A. Thanks also for landing me at Ch.23. But I guess I need sometime to digest the information given there. Thanks also to Dominique for interest shown in solving my problem. Hope the solution benifits him too. --Sai Vinob Bring your gang together - do your thing. Go to http://in.promos.yahoo.com/groups ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
Hi all, I'm not able to enable sound on my FreeBSD 6.2 box. I'm trying it here in mailing lists after trying in forumshttp://www.linuxforums.org/forum/everything-bsd/104558-audio-problem-freebsd-6-2-a.html The error message when I click on the speaker icon is: The volume control did not find any elements and/or devices to control. This means either that you don'thave the right GStreamer plugins installed, or that you don't have a sound card configured. My motherboard is Asus K8V-VM Ultra with southbridge VT8233A. It uses a realtek ALC660 codec. Initially, 'kldstat' just showed: Id Refs AddressSize Name 1 10 0xc040 6f6544 kernel 21 0xc0af7000 59f20acpi.ko 31 0xc4364000 16000linux.ko 41 0xc43b9000 17000ng_btsocket.ko 51 0xc43d a000 netgraph.ko 61 0xc43de000 2000 ng_bluetooth.ko and /dev/sndstat did not exist. I then tried 'kldload snd_via8233' and I got this for 'cat /dev/sndstat': #cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: I tried 'kldload snd_driver', the generic case too. But no use. Then I tried loading it as boottime module with 'snd_via8233_load=YES' in the /boot/loader.conf file. The 'kldstat' now shows, Id Refs AddressSize Name 1 12 0xc040 6f6544 kernel 21 0xc0af7000 6170 snd_via8233.ko 32 0xc0afe000 22b88sound.ko 41 0xc0b21000 59f20acpi.ko 51 0xc4368000 16000linux.ko 61 0xc43c6000 17000ng_btsocket.ko 71 0xc43bb000 a000 netgraph.ko 81 0xc43e1000 2000 ng_bluetooth.ko But this did not solve the problem. Looking at the error msg which talked about GStream plugins, I did /usr/sysinstall and from ftp installed whatever GStreamer thing I could find. But nothing helped. Could anyone guide me in activating audio in my box. Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
Hi, On 10/1/07, Sai Vinob [EMAIL PROTECTED] wrote: Hi all, I'm not able to enable sound on my FreeBSD 6.2 box. I'm trying it here in mailing lists after trying in forumshttp://www.linuxforums.org/forum/everything-bsd/104558-audio-problem-freebsd-6-2-a.html The error message when I click on the speaker icon is: The volume control did not find any elements and/or devices to control. This means either that you don'thave the right GStreamer plugins installed, or that you don't have a sound card configured. My motherboard is Asus K8V-VM Ultra with southbridge VT8233A. It uses a realtek ALC660 codec. Initially, 'kldstat' just showed: Id Refs AddressSize Name 1 10 0xc040 6f6544 kernel 21 0xc0af7000 59f20acpi.ko 31 0xc4364000 16000linux.ko 41 0xc43b9000 17000ng_btsocket.ko 51 0xc43d a000 netgraph.ko 61 0xc43de000 2000 ng_bluetooth.ko and /dev/sndstat did not exist. I then tried 'kldload snd_via8233' and I got this for 'cat /dev/sndstat': #cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: I tried 'kldload snd_driver', the generic case too. But no use. Then I tried loading it as boottime module with 'snd_via8233_load=YES' in the /boot/loader.conf file. The 'kldstat' now shows, Id Refs AddressSize Name 1 12 0xc040 6f6544 kernel 21 0xc0af7000 6170 snd_via8233.ko 32 0xc0afe000 22b88sound.ko 41 0xc0b21000 59f20acpi.ko 51 0xc4368000 16000linux.ko 61 0xc43c6000 17000ng_btsocket.ko 71 0xc43bb000 a000 netgraph.ko 81 0xc43e1000 2000 ng_bluetooth.ko But this did not solve the problem. Looking at the error msg which talked about GStream plugins, I did /usr/sysinstall and from ftp installed whatever GStreamer thing I could find. But nothing helped. Could anyone guide me in activating audio in my box. Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What's the output of dmesg after kldload snd_via8233 ? 'pciconf -vl' could help also to see what's your exact hardware (revision, etc...) Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]