cvs commit: src/sys/dev/sound/pci ich.c

Orion Hodson orion at FreeBSD.ORG
Mon Aug 18 14:28:25 PDT 2003


/-- Wilko Bulte wrote:
| wkb at freebie ~: dmesg | grep pcm
| pcm0: <ESS Solo-1E> port
| 0xdf4c-0xdf4f,0xdf7c-0xdf7f,0xdf50-0xdf5f,0xdf60-0xdf6f,0xde80-0xdebf irq 11
| at device 13.0 on pci2
| pcm1: <Intel ICH5 (82801EB)> port 0xee80-0xeebf,0xe800-0xe8ff mem
| 0xfebff400-0xfebff4ff,0xfebff800-0xfebff9ff irq 10 at device 31.5 on pci0
| pcm1: <unknown ac97 codec> (id=0x41445375)
| 
| I'm wondering about the ac97 codec message?

The ac97 code has a table of codecs that provide the name and optionally a 
function pointer to a vendor specific initialization routine.  On RELENG_4, 
the AD1985 does not have an entry, so the codec is indicated as "unknown" with 
the relevant codec id.  The latter is useful for diagnostics.

If you want a short-term fix you can edit the codec table in 
${SRC}/sys/dev/sound/pcm/ac97.c.  We're about due for a syncing of the ac97 
codec between RELENG_4 and HEAD, which would fix the message for this and 
quite a few other codecs.

- Orion




More information about the cvs-src mailing list