ASUS Xonar DX sound card not detected at boot
John Baldwin
jhb at freebsd.org
Fri Sep 28 12:48:37 UTC 2012
On Wednesday, September 19, 2012 5:06:37 am C. G. wrote:
>
> > From: jhb at freebsd.org
> > To: freebsd-hardware at freebsd.org
> > Date: Tue, 18 Sep 2012 12:33:32 -0400
> > CC: funmol at hotmail.com
> > Subject: Re: ASUS Xonar DX sound card not detected at boot
> >
> > On Monday, September 17, 2012 3:19:31 pm C. G. wrote:
> > >
> > > I'm using PC-BSD 9.0 with FreeBSD 9.0 kernel x86 and at boot, I see a
> > message "Unindentified sound card... please report @ PC-BSD support..."
> > something like that.
> > >
> > > So, I directly expose the problem to the FreeBSD hardware team because it's
> > a FreeBSD lack of driver.
> > >
> > > Here is the output of my "lspci -v" command concerning this sound card :
> > >
> > >
> > > 02:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI
> > Bridge (rev aa) (prog-if 00 [Normal decode])
> > > Flags: bus master, fast devsel, latency 0
> > > Bus: primary=02, secondary=03, subordinate=03, sec-latency=64
> > > I/O behind bridge: 0000d000-0000dfff
> > > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> > > Capabilities: [60] Express PCI/PCI-X Bridge, MSI 00
> > >
> > > 03:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen
> > HD Audio]
> > > Subsystem: ASUSTeK Computer Inc. Virtuoso 100 (Xonar DX)
> > > Flags: bus master, medium devsel, latency 64, IRQ 16
> > > I/O ports at d800
> > > Capabilities: [c0] Power Management version 2
> > >
> > >
> > > In fact, I think that the "Multimedia audio controller: C-Media Electronics
> > Inc CMI8788 [Oxygen HD Audio]" is already supported on FreeBSD, but this sound
> > card has something special : it's not a native PCI-E sound card, but a native
> > PCI one, so it uses the "PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI
> > Express-to-PCI Bridge (rev aa)" as a bridge to communicate with the
> > motherboard. And THIS component isn't supported!
> >
> > No, that wouldn't matter. Bridges are fairly standard. It would be helpful
> > to get pciconf -l output so we could see the actual device and vendor ID
> > register values.
> >
> > --
> > John Baldwin
>
> Hi,
> Here is the output of the "pciconf -l" as you requested :
>
> [root at PC-BSD] ~# pciconf -l
> hostb0 at pci0:0:0:0: class=0x060000 card=0x82b01043 chip=0x29c08086 rev=0x10 hdr=0x00
> pcib1 at pci0:0:1:0: class=0x060400 card=0x82b01043 chip=0x29c18086 rev=0x10 hdr=0x01
> hdac0 at pci0:0:27:0: class=0x040300 card=0x82ea1043 chip=0x27d88086 rev=0x01 hdr=0x00
> pcib2 at pci0:0:28:0: class=0x060400 card=0x81791043 chip=0x27d08086 rev=0x01 hdr=0x01
> uhci0 at pci0:0:29:0: class=0x0c0300 card=0x81791043 chip=0x27c88086 rev=0x01 hdr=0x00
> uhci1 at pci0:0:29:1: class=0x0c0300 card=0x81791043 chip=0x27c98086 rev=0x01 hdr=0x00
> uhci2 at pci0:0:29:2: class=0x0c0300 card=0x81791043 chip=0x27ca8086 rev=0x01 hdr=0x00
> uhci3 at pci0:0:29:3: class=0x0c0300 card=0x81791043 chip=0x27cb8086 rev=0x01 hdr=0x00
> ehci0 at pci0:0:29:7: class=0x0c0320 card=0x81791043 chip=0x27cc8086 rev=0x01 hdr=0x00
> pcib4 at pci0:0:30:0: class=0x060401 card=0x81791043 chip=0x244e8086 rev=0xe1 hdr=0x01
> isab0 at pci0:0:31:0: class=0x060100 card=0x81791043 chip=0x27b88086 rev=0x01 hdr=0x00
> atapci0 at pci0:0:31:1: class=0x01018a card=0x81791043 chip=0x27df8086 rev=0x01 hdr=0x00
> atapci1 at pci0:0:31:2: class=0x01018f card=0x81791043 chip=0x27c08086 rev=0x01 hdr=0x00
> none0 at pci0:0:31:3: class=0x0c0500 card=0x81791043 chip=0x27da8086 rev=0x01 hdr=0x00
> vgapci0 at pci0:1:0:0: class=0x030000 card=0x00000000 chip=0x061410de rev=0xa2 hdr=0x00
> pcib3 at pci0:2:0:0: class=0x060400 card=0x00000000 chip=0x811210b5 rev=0xaa hdr=0x01
> none1 at pci0:3:4:0: class=0x040100 card=0x82751043 chip=0x878813f6 rev=0x00 hdr=0x00
It looks like this is a CMI 8788 part (and not a generic HDA audio
controller). The closest fit would be the cmi driver, but it
doesn't appear to support CMI 8788 parts:
cmi.c:#define CMI8338A_PCI_ID 0x010013f6
cmi.c:#define CMI8338B_PCI_ID 0x010113f6
cmi.c:#define CMI8738_PCI_ID 0x011113f6
cmi.c:#define CMI8738B_PCI_ID 0x011213f6
Looking at Linux's sound drivers, our cmi(4) closely matches their cmipci
driver, and their CMI 8788 driver is an entirely separate driver:
http://git.alsa-project.org/?p=alsa-kernel.git;a=tree;f=sound/pci/oxygen;h=68b0aca62d21e91269c4e18d74724373fa785603;hb=HEAD
--
John Baldwin
More information about the freebsd-hardware
mailing list