Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 18:13:02 -0500
From:      Mithril <mithril@fastem.com>
To:        "Chris Kagadis (kagadis.com)" <chris@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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)" <chris@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: <Acer Labs M5451> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
>   AMD Features=0xc0440000<<b18>,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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <AcerLabs M5247 PCI-PCI(AGP Supported) bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 10
> ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xdd004000-0xdd004fff irq 11 at device 2.0 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <AcerLabs M5237 (Aladdin-V) USB controller> 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: <unknown card> (vendor=0x10b9, dev=0x5451) at 3.0 irq 5
> atapci0: <AcerLabs Aladdin ATA100 controller> port 0xd400-0xd40f at device 4.0 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xdd001000-0xdd001fff irq 11 at device 6.0 on pci0
> usb1: OHCI version 1.0, legacy support
> usb1: <AcerLabs M5237 (Aladdin-V) USB controller> 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: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> dc0: <LC82C115 PNIC II 10/100BaseTX> port 0xdc00-0xdcff mem 0xdd003000-0xdd0030ff
> irq 10 at device 12.0 on pci0
> dc0: Ethernet address: 00:a0:cc:e2:a7:73
> miibus0: <MII bus> on dc0
> dcphy0: <Intel 21143 NWAY media interface> 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: <MII bus> on xl0
> xlphy0: <3Com internal media interface> on miibus1
> xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> chip1: <AcerLabs M15x3 Power Management Unit> at device 17.0 on pci0
> orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppbus0: IEEE1284 device found /NIBBLE/ECP
> Probing for PnP devices on ppbus0:
> ppbus0: <HEWLETT-PACKARD DESKJET 820C> SCP,VLINK
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 10 packets/entry by default
> ad0: 28629MB <WDC WD300BB-00CCB0> [58168/16/63] at ata0-master UDMA100
> acd0: DVD-ROM <CREATIVE DVD-ROM DVD1610E> at ata1-master using PIO4
> Mounting root from ufs:/dev/ad0s1a
> pcm0: <Acer Labs M5451> 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
> pcm0: <Acer Labs M5451> 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
> pcm0: <Acer Labs M5451> 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
> 
> (Note: I have obviously tried a couple times since my last reboot to load the module ;-)
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020410181302.2eb72bcd.mithril>