Re: audio driver broken?
> auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97 Audio" rev 0x02: irq
> 10, ICH5 AC97
> so wheres audio0 at auich0 ?????
> the device appears to be detected but not configured?
> "man auich" is useless so please dont tell me rtfm! I've done it.
> Device uses function 5 which doesnt mention that its "not configured"
> so it would work right?!?!?
Can you recompile a kernel with this patch applied, and let us know if
this solves the issue?
Thanks in advance.
Index: auich.c
================================================== =================
RCS file: /cvs/src/sys/dev/pci/auich.c,v
retrieving revision 1.37
diff -u -p -r1.37 auich.c
--- auich.c 2003/10/10 04:38:56 1.37
+++ auich.c 2004/04/02 07:56:45
@@ -400,11 +400,14 @@ auich_attach(parent, self, aux)
status = bus_space_read_4(sc->iot, sc->aud_ioh, AUICH_GSTS);
if (!(status & AUICH_PCR)) { /* reset failure */
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_82801DB_ACA) {
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_82801DB_ACA ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_82801EB_ACA)) {
/* MSI 845G Max never return AUICH_PCR */
sc->sc_ignore_codecready = 1;
- } else
+ } else {
+ printf("%s: reset failed!\n", sc->sc_dev.dv_xname);
return;
+ }
}
sc->host_if.arg = sc; |