Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 09:06:21 +0200
From:      Andreas Klemm <andreas@FreeBSD.ORG>
To:        Russell Cattelan <cattelan@thebarn.com>
Cc:        Cameron Grant <gandalf@vilnya.demon.co.uk>, freebsd-multimedia@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   FIX ! (Re: pcm0: <AudioPCI ES1371>, ac97 codec invalid or not present (id == 0))
Message-ID:  <20010417090621.A6003@titan.klemm.gtn.com>
In-Reply-To: <3AD9F941.AC11DCDC@thebarn.com>; from cattelan@thebarn.com on Sun, Apr 15, 2001 at 02:40:49PM -0500
References:  <20010415110316.B25527@titan.klemm.gtn.com> <3AD9F941.AC11DCDC@thebarn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

as somebody already steated out on -multimedia,
this little fix works to get the soundchip with revision 03 to work.
He has a gigabyte board, I have a new asus ..

Could this go into stable ? I assume many manufacturers now use that
chip...

--- es137x.c	Tue Apr 17 08:20:06 2001
+++ es137x.c.orig	Tue Apr 17 08:17:59 2001
@@ -486,7 +486,7 @@
 	es->ctrl =3D 0;
 	es->sctrl =3D 0;
 	/* initialize the chips */
-	if (revid =3D=3D 7 || revid >=3D 9 || (devid =3D=3D ES1371_PCI_ID3 && (re=
vid =3D=3D 2 || revid =3D=3D 3))) {
+	if (revid =3D=3D 7 || revid >=3D 9 || (devid =3D=3D ES1371_PCI_ID3 && rev=
id =3D=3D 2)) {
 #define ES1371_BINTSUMM_OFF 0x07
 		bus_space_write_4(es->st, es->sh, ES1371_BINTSUMM_OFF, 0x20);
 		if (debug > 0) printf("es_init rev =3D=3D 7 || rev >=3D 9\n");


	Andreas //

On Sun, Apr 15, 2001 at 02:40:49PM -0500, Russell Cattelan wrote:
> Andreas Klemm wrote:
> send the output from  pciconf -l
> should shed some light on things.
>=20
>=20
> > Hi Cameron, hi Russel,
> >
> > happy easter weekend.
> >
> > I got a new machine (1 GHz PIII, "ALDI PC") with ASUS board.
> > The soundchip is <AudioPCI ES1371>
> > Theoretically it should be supported, but I get this
> > "ac97 codec invalid or not present (id =3D=3D 0)" message on startup.
> >
> > Who has currently the maintainer bit set for this driver ?
> > I noticed your copyright in es137x.c, therefore I wrote to
> > you directly, hope its o.k..
> >
> > es137x.c: * Copyright (c) 1999 Russell Cattelan <cattelan@thebarn.com>
> > es137x.c: * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.u=
k>
> > es137x.c: * Thomas Sailer (sailer@ife.ee.ethz.ch)
> > es137x.h: * Copyright (c) 1998 Joachim Kuebart <joki@kuebart.stuttgart.=
netsurf.de>
> >
> > Here my normal dmesg output ? Would a verbose output be more helpful ?
> > What additional informations do you need ?
> >
> > Copyright (c) 1992-2001 The FreeBSD Project.
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >         The Regents of the University of California. All rights reserve=
d.
> > FreeBSD 4.3-RC #0: Sun Apr 15 09:20:04 CEST 2001
> >     root@titan.klemm.gtn.com:/usr/src/sys/compile/TITAN
> > Timecounter "i8254"  frequency 1193182 Hz
> > Timecounter "TSC"  frequency 997461034 Hz
> > CPU: Pentium III/Pentium III Xeon/Celeron (997.46-MHz 686-class CPU)
> >   Origin =3D "GenuineIntel"  Id =3D 0x686  Stepping =3D 6
> >   Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> > real memory  =3D 134201344 (131056K bytes)
> > avail memory =3D 127279104 (124296K bytes)
> > Preloaded elf kernel "kernel" at 0xc0328000.
> > VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc02cc642 (1000022)
> > VESA: NVidia
> > Pentium Pro MTRR support enabled
> > md0: Malloc disk
> > npx0: <math processor> on motherboard
> > npx0: INT 16 interface
> > pcib0: <Host to PCI bridge> on motherboard
> > pci0: <PCI bus> on pcib0
> > pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0=
 on pci0
> > pci1: <PCI bus> on pcib2
> > pci1: <NVidia GeForce2 GTS graphics accelerator> at 0.0 irq 11
> > isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <VIA 82C686 ATA66 controller> port 0xd800-0xd80f at device 4.1=
 on pci0
> > ata0: at 0x1f0 irq 14 on atapci0
> > ata1: at 0x170 irq 15 on atapci0
> > pci0: <VIA 83C572 USB controller> at 4.2 irq 5
> > pci0: <VIA 83C572 USB controller> at 4.3 irq 5
> > pcm0: <AudioPCI ES1371> port 0xb800-0xb83f irq 9 at device 5.0 on pci0
> > pcm0: ac97 codec invalid or not present (id =3D=3D 0)
> > device_probe_and_attach: pcm0 attach returned 6
> > pci0: <unknown card> (vendor=3D0x1813, dev=3D0x4000) at 9.0 irq 9
> > atapci1: <Promise ATA100 controller> port 0x9800-0x983f,0xa000-0xa003,0=
xa400-0xa407,0xa800-0xa803,0xb000-0xb007 mem 0xed000000-0xed01ffff irq 5 at=
 device 10.0 on pci0
> > ata2: at 0xb000 on atapci1
> > ata3: at 0xa400 on atapci1
> > fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x9400-0x943f mem 0xec0000=
00-0xec0fffff,0xec800000-0xec800fff irq 10 at device 11.0 on pci0
> > fxp0: Ethernet address 00:d0:b7:ba:c1:c2
> > pcib1: <Host to PCI bridge> on motherboard
> > pci2: <PCI bus> on pcib1
> > fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on is=
a0
> > 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 is=
a0
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <4 virtual consoles, flags=3D0x300>
> > 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 flags 0x8 on isa0
> > ppc0: SMC-like chipset (ECP-only) in ECP mode
> > ppc0: FIFO with 16/16/8 bytes threshold
> > ppi0: <Parallel I/O> on ppbus0
> > lpt0: <Printer> on ppbus0
> > lpt0: Interrupt-driven port
> > ad0: 38166MB <ST340823A> [77545/16/63] at ata0-master UDMA66
> > ad4: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata2-master UDMA100
> >
> > Best regards and happy eastern
> >
> >         Andreas ///
> >
> > --
> > Andreas Klemm                                           Powered by Free=
BSD SMP
> > Songs from our band >>64Bits<<............http://www.apsfilter.org/64bi=
ts.html
> > My homepage................................ http://people.FreeBSD.ORG/~=
andreas
> > Please note: Apsfilter got a NEW HOME................http://www.apsfilt=
er.org/
> >
> >   ---------------------------------------------------------------------=
---
> >    Part 1.2Type: application/pgp-signature
>=20
> --
> Russell Cattelan
> cattelan@thebarn.com
>=20
>=20

	Andreas ///

--=20
Andreas Klemm - Powered by FreeBSD 4.2 SMP
Need a magic printfilter today ? -> http://www.apsfilter.org/

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE62+ttd3o+lGxvbLoRAiHRAJ95MnW5szLhWWDHI++R0JDX1KgjegCeMh67
DKamcfOpygdW4p1TDL4PDj0=
=+R7j
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--


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




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