Fwd: Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A

Sai Vinob saivinob at yahoo.com
Tue Oct 2 03:22:51 PDT 2007


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 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


      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
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 at .:/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=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow>
  AMD Features2=0x1<LAHF>
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
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 23 at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> 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: <VIA VT6202 USB 2.0 controller> 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: <VIA VT6202 USB 2.0 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xa400-0xa4ff mem 0xf9fff800-0xf9fff8ff irq 23 at device 18.0 on pci0
miibus0: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:18:f3:d9:87:8e
pcib4: <ACPI PCI-PCI bridge> at device 19.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <multimedia> at device 1.0 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci5: <ACPI PCI bus> on pcib5
pci5: <simple comms> at device 7.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> 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: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> 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 <LITE-ON DVDRW LH-16A1P/WL04> at ata0-master UDMA33
ad4: 114473MB <Seagate ST3120026AS 3.43> at ata2-master SATA150
Trying to mount root from ufs:/dev/ad4s4a
-------------- next part --------------
hostb0 at pci0:0:0:	class=0x060000 card=0x00000000 chip=0x03361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
hostb1 at pci0:0:1:	class=0x060000 card=0x00000000 chip=0x13361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
hostb2 at pci0:0:2:	class=0x060000 card=0x00000000 chip=0x23361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
hostb3 at pci0:0:3:	class=0x060000 card=0x00000000 chip=0x33361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
hostb4 at pci0:0:4:	class=0x060000 card=0x00000000 chip=0x43361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
none0 at pci0:0:5:	class=0x080020 card=0x00000000 chip=0x53361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = base peripheral
    subclass = interrupt controller
hostb5 at pci0:0:6:	class=0x060000 card=0x00000008 chip=0x62901106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
hostb6 at pci0:0:7:	class=0x060000 card=0x00000000 chip=0x73361106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
pcib1 at 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 at 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 at 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 at pci0:15:0:	class=0x01018f card=0x81b51043 chip=0x05911106 rev=0x80 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = mass storage
    subclass = ATA
atapci1 at 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 at 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 at 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 at 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 at 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 at 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 at pci0:17:0:	class=0x060100 card=0x81b51043 chip=0x33371106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = PCI-ISA
hostb7 at pci0:17:7:	class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = HOST-PCI
vr0 at 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 at pci0:19:0:	class=0x060400 card=0x00000060 chip=0x337b1106 rev=0x00 hdr=0x01
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = PCI-PCI
pcib5 at pci0:19:1:	class=0x060401 card=0x00000060 chip=0x337a1106 rev=0x00 hdr=0x01
    vendor   = 'VIA Technologies Inc'
    class    = bridge
    subclass = PCI-PCI
hostb8 at 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 at 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 at 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 at 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 at pci1:0:0:	class=0x030000 card=0x81b51043 chip=0x32301106 rev=0x11 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    class    = display
    subclass = VGA
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


More information about the freebsd-questions mailing list