From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 10:22:50 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 E347216A418 for ; Tue, 2 Oct 2007 10:22:50 +0000 (UTC) (envelope-from saivinob@yahoo.com) Received: from web43139.mail.sp1.yahoo.com (web43139.mail.sp1.yahoo.com [216.252.121.69]) by mx1.freebsd.org (Postfix) with SMTP id C161A13C481 for ; Tue, 2 Oct 2007 10:22:50 +0000 (UTC) (envelope-from saivinob@yahoo.com) Received: (qmail 6048 invoked by uid 60001); 2 Oct 2007 10:22:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gh8JOzfub42wbSQPpqItPzX+FyHLx2ZsdXVn4Yxg5za8voqNBpi1NIA+tsc5SgAFEpzQr1ys+tAAQGm45QFWBblLamgrkNsb5tJjoAFfWmrYih934kvWPBzZMj9jzkWRLMa/1ggoahxAZkJFk/nrPl1biMC7kpwoTkRuhNBTysU=; X-YMail-OSG: SQCkQDQVM1knlqWL9_HUqQv4lYrxCfY4rdLDfhuE Received: from [121.246.11.122] by web43139.mail.sp1.yahoo.com via HTTP; Tue, 02 Oct 2007 11:22:49 BST Date: Tue, 2 Oct 2007 11:22:49 +0100 (BST) From: Sai Vinob To: freebsd questions MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-930705359-1191320569=:4669" Content-Transfer-Encoding: 8bit Message-ID: <218005.4669.qm@web43139.mail.sp1.yahoo.com> Subject: 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 10:22:51 -0000 --0-930705359-1191320569=:4669 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline 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: > 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 Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ --0-930705359-1191320569=:4669 Content-Type: text/plain; name="=?utf-8?q?dmesg.txt?=" Content-Description: pat317622119 Content-Disposition: attachment; filename="=?utf-8?q?dmesg.txt?=" 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 root@.:/usr/obj/usr/src/sys/MYKERNEL ACPI APIC Table: 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=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 737869824 (703 MB) avail memory = 712638464 (679 MB) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: 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: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.5 (no driver attached) pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 atapci0: port 0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xc800-0xc803,0xc400-0xc40f,0xc000-0xc0ff irq 21 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 uhci0: port 0xb800-0xb81f irq 20 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xb400-0xb41f irq 22 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xb000-0xb01f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xa800-0xa81f irq 23 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf9fffc00-0xf9fffcff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 vr0: port 0xa400-0xa4ff mem 0xf9fff800-0xf9fff8ff irq 23 at device 18.0 on pci0 miibus0: on vr0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:18:f3:d9:87:8e pcib4: at device 19.0 on pci0 pci4: on pcib4 pci4: at device 1.0 (no driver attached) pcib5: at device 19.1 on pci0 pci5: on pcib5 pci5: at device 7.0 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: vendor 0x0e5e product 0x6622, rev 1.10/1.34, addr 2 Timecounter "TSC" frequency 1596197790 Hz quality 800 Timecounters tick every 1.000 msec acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDR at ata0-master UDMA33 ad4: 114473MB at ata2-master SATA150 Trying to mount root from ufs:/dev/ad4s4a --0-930705359-1191320569=:4669 Content-Type: text/plain; name="=?utf-8?q?pciconf.txt?=" Content-Description: pat1049763349 Content-Disposition: attachment; filename="=?utf-8?q?pciconf.txt?=" hostb0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x03361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI hostb1@pci0:0:1: class=0x060000 card=0x00000000 chip=0x13361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI hostb2@pci0:0:2: class=0x060000 card=0x00000000 chip=0x23361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI hostb3@pci0:0:3: class=0x060000 card=0x00000000 chip=0x33361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI hostb4@pci0:0:4: class=0x060000 card=0x00000000 chip=0x43361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI none0@pci0:0:5: class=0x080020 card=0x00000000 chip=0x53361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = base peripheral subclass = interrupt controller hostb5@pci0:0:6: class=0x060000 card=0x00000008 chip=0x62901106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI hostb6@pci0:0:7: class=0x060000 card=0x00000000 chip=0x73361106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000070 chip=0xb1881106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' device = 'Apollo K8HTB CPU to AGP 2.0/3.0 Bridge' class = bridge subclass = PCI-PCI pcib2@pci0:2:0: class=0x060400 card=0x00000040 chip=0xa2381106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' device = 'K8T890 PCI-to-PCI Bridge' class = bridge subclass = PCI-PCI pcib3@pci0:3:0: class=0x060400 card=0x00000040 chip=0xc2381106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' device = 'K8T890 PCI-to-PCI Bridge' class = bridge subclass = PCI-PCI atapci0@pci0:15:0: class=0x01018f card=0x81b51043 chip=0x05911106 rev=0x80 hdr=0x00 vendor = 'VIA Technologies Inc' class = mass storage subclass = ATA atapci1@pci0:15:1: class=0x01018a card=0x81b51043 chip=0x05711106 rev=0x07 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxx EIDE Controller (All VIA Chipsets)' class = mass storage subclass = ATA uhci0@pci0:16:0: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xa0 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci1@pci0:16:1: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xa0 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci2@pci0:16:2: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xa0 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci3@pci0:16:3: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xa0 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB ehci0@pci0:16:4: class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x86 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6202 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB isab0@pci0:17:0: class=0x060100 card=0x81b51043 chip=0x33371106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = PCI-ISA hostb7@pci0:17:7: class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00 vendor = 'VIA Technologies Inc' class = bridge subclass = HOST-PCI vr0@pci0:18:0: class=0x020000 card=0x80ed1043 chip=0x30651106 rev=0x7c hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6102 Rhine II PCI Fast Ethernet Controller' class = network subclass = ethernet pcib4@pci0:19:0: class=0x060400 card=0x00000060 chip=0x337b1106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' class = bridge subclass = PCI-PCI pcib5@pci0:19:1: class=0x060401 card=0x00000060 chip=0x337a1106 rev=0x00 hdr=0x01 vendor = 'VIA Technologies Inc' class = bridge subclass = PCI-PCI hostb8@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb9@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI hostb10@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb11@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI none1@pci1:0:0: class=0x030000 card=0x81b51043 chip=0x32301106 rev=0x11 hdr=0x00 vendor = 'VIA Technologies Inc' class = display subclass = VGA 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 --0-930705359-1191320569=:4669--