From owner-freebsd-hackers Wed Apr 10 16:14:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from fastmail.fm (fastmail.fm [209.61.183.86]) by hub.freebsd.org (Postfix) with ESMTP id 1A32237B404 for ; Wed, 10 Apr 2002 16:14:42 -0700 (PDT) Received: from fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id DA8866DA0F; Wed, 10 Apr 2002 18:14:34 -0500 (CDT) X-Epoch: 1018480474 X-Sasl-enc: j4nyWqdk12E85IPShkMLww Received: from gandalf.lotr (12-239-48-185.client.attbi.com [12.239.48.185]) by fastmail.fm (Postfix) with ESMTP id 950CB6D9F3; Wed, 10 Apr 2002 18:14:32 -0500 (CDT) Date: Wed, 10 Apr 2002 18:13:02 -0500 From: Mithril To: "Chris Kagadis (kagadis.com)" Subject: Re: ALi M5451 Sound card wont work. Please Help! Message-Id: <20020410181302.2eb72bcd.mithril@fastem.com> In-Reply-To: <9CD860CC1C4FC54FAFBC817669BF6F96040B52@loki.kagadis.com> References: <9CD860CC1C4FC54FAFBC817669BF6F96040B52@loki.kagadis.com> X-Mailer: Sylpheed version 0.7.0claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris, I tried all the drivers and none of them worked, so I resorted to purchasing Soundblaster card and it works great. Thx, Mithril On Wed, 10 Apr 2002 09:20:22 -0700 "Chris Kagadis (kagadis.com)" wrote: > I know this sounds funny, but when I was having trouble finding the right driver for my sound card I tried loading all of the sound modules at the same time just to test and see if it would work under fbsd. After that I ran a dmesg to see what seemed to work. I looked for your ALi card on the fbsd web site, but it didn't seem to show up. It may be that you'll have to settle for a generic driver. > > -----Original Message----- > From: mithril [mailto:mithril@fastem.com] > Sent: Wednesday, April 10, 2002 9:18 AM > To: freebsd-hackers@freebsd.org > Subject: ALi M5451 Sound card wont work. Please Help! > > > Hi Everyone, > > I hope this is the right list to post to. I got no responses on freebsd-questions. I have a Soyo K7ADA motherboard with integrated ALi M5451 sound card. It was working fine under Linux using the trident driver, but I recently switched to using FreeBSD as my primary OS. I am running 4.5 and understand that the snd_t4dwave.ko is the correct module for my card. When I load that module however, I get errors : > > (excerpt from dmesg) > ---------- > pcm0: port 0xd000-0xd0ff mem 0xdd000000-0xdd000fff irq 5 at device 3.0 on pci0 > pcm0: ac97 codec invalid or not present (id == 0) > device_probe_and_attach: pcm0 attach returned 6 > ---------- > > I have run pciconf and even inspected the code of t4dwave.c (I am no pro C programmer, though). I do not know where to go from here. Please help! > > Thanks so much, > Mithril > > su-2.05a# pciconf -lv > chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x164710b9 rev=0x02 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M1647 ALiMAGiK 1 AGP System Controller' > class = bridge > subclass = HOST-PCI > pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x524710b9 rev=0x00 hdr=0x01 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M1621 PCI to AGP Bridge' > class = bridge > subclass = PCI-PCI > ohci0@pci0:2:0: class=0x0c0310 card=0x523710b9 chip=0x523710b9 rev=0x03 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M5237 USB Host Controller' > class = serial bus > subclass = USB > none0@pci0:3:0: class=0x040100 card=0x545110b9 chip=0x545110b9 rev=0x02 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > class = multimedia > subclass = audio > atapci0@pci0:4:0: class=0x01018a card=0x522910b9 chip=0x522910b9 rev=0xc4 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'M1543 Southbridge EIDE Controller' > class = mass storage > subclass = ATA > ohci1@pci0:6:0: class=0x0c0310 card=0x523710b9 chip=0x523710b9 rev=0x03 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M5237 USB Host Controller' > class = serial bus > subclass = USB > isab0@pci0:7:0: class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M1533 Aladdin IV ISA Bridge' > class = bridge > subclass = PCI-ISA > dc0@pci0:12:0: class=0x020000 card=0xc00111ad chip=0xc11511ad rev=0x25 hdr=0x00 > vendor = 'Lite-On Communications Inc' > device = 'LC82C115 PNIC II 10/100 PCI MAC/PHY' > class = network > subclass = ethernet > xl0@pci0:13:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 hdr=0x00 > vendor = '3COM Corp, Networking Division' > device = '3C905B-TX Fast Etherlink 10/100 PCI TX NIC' > class = network > subclass = ethernet > chip1@pci0:17:0: class=0x068000 card=0x710110b9 chip=0x710110b9 rev=0x00 hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi)' > device = 'ALI M7101 Power Management Controller' > class = bridge > subclass = PCI-unknown > none1@pci1:0:0: class=0x030000 card=0xff03102b chip=0x0521102b rev=0x03 hdr=0x00 > vendor = 'Matrox Graphics Inc' > device = 'MGA-G200 Millennium/Mystique G200 AGP' > class = display > subclass = VGA > > > FULL DMESG: > su-2.05a# dmesg > Copyright (c) 1992-2002 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 4.5-RELEASE #6: Sun Apr 7 00:19:23 CST 2002 > root@gandalf.lotr:/usr/src/sys/compile/GANDALF > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 659941113 Hz > CPU: AMD Duron(tm) processor (659.94-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x630 Stepping = 0 > Features=0x183f9ff > AMD Features=0xc0440000<,AMIE,DSP,3DNow!> > real memory = 268369920 (262080K bytes) > avail memory = 257056768 (251032K bytes) > Preloaded elf kernel "kernel" at 0xc0402000. > Preloaded elf module "splash_bmp.ko" at 0xc040209c. > Preloaded splash_image_data "/boot/freebsd256.bmp" at 0xc0402140. > VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc02df882 (1000022) > VESA: Matrox Graphics Inc. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 8 entries at 0xc00fdef0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 10 > ohci0: mem 0xdd004000-0xdd004fff irq 11 at device 2.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 4 ports with 4 removable, self powered > ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1 > ums0: 3 buttons and Z dir. > pci0: (vendor=0x10b9, dev=0x5451) at 3.0 irq 5 > atapci0: port 0xd400-0xd40f at device 4.0 on > pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > ohci1: mem 0xdd001000-0xdd001fff irq 11 at device 6.0 on pci0 > usb1: OHCI version 1.0, legacy support > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 4 ports with 4 removable, self powered > isab0: at device 7.0 on pci0 > isa0: on isab0 > dc0: port 0xdc00-0xdcff mem 0xdd003000-0xdd0030ff > irq 10 at device 12.0 on pci0 > dc0: Ethernet address: 00:a0:cc:e2:a7:73 > miibus0: on dc0 > dcphy0: on miibus0 > dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe000-0xe07f mem 0xdd005000-0xdd00507f irq 11 at device 13.0 on pci0 > xl0: Ethernet address: 00:50:da:26:db:3b > miibus1: on xl0 > xlphy0: <3Com internal media interface> on miibus1 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > chip1: at device 17.0 on pci0 > orm0: