kern/84471: [sound][patch] no sound ICH4 (Analog Devices AD1981B AC97 Codec)

Daisuke Orikasa luxury-acura-3.5rl at nifty.com
Tue Aug 2 07:20:16 GMT 2005


>Number:         84471
>Category:       kern
>Synopsis:       [sound][patch] no sound ICH4 (Analog Devices AD1981B AC97 Codec)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 02 07:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Daisuke Orikasa
>Release:        FreeBSD 6.0-BETA1
>Organization:
Koriyama Matsushita Electric Works,Ltd.
>Environment:
FreeBSD acura35rl.localhost 6.0-BETA1 FreeBSD 6.0-BETA1 #1: Mon Aug  1 19:48:18 JST 2005     root at acura35rl.localhost:/usr/obj/usr/src/sys/ACURA35RL  i386
>Description:
The Laptop uses Intel ICH4 (82801DB) Chipset.
The sound card is recognized by the snd_ich module, and all of the
sound-producing programs work, but no sound ever comes out.
>How-To-Repeat:
Boot a 82852GM/82855GM Laptop

# kldload snd_ich
% mpg123 anything.mp3
>Fix:
--- /sys/dev/sound/pcm/ac97.c~  Sun Apr 10 23:45:27 2005
+++ /sys/dev/sound/pcm/ac97.c   Mon Aug  1 19:39:45 2005
@@ -547,6 +547,8 @@
                return ENODEV;
        }

+       ac97_setflags(codec, AC97_F_EAPD_INV);
+
        ac97_wrcd(codec, AC97_REG_POWER, (codec->flags & AC97_F_EAPD_INV)? 0x800
0 : 0x0000);
        ac97_reset(codec);
        ac97_wrcd(codec, AC97_REG_POWER, (codec->flags & AC97_F_EAPD_INV)? 0x800
0 : 0x0000);
@@ -661,6 +663,8 @@
                snd_mtxunlock(codec->lock);
                return ENODEV;
        }
+
+       ac97_setflags(codec, AC97_F_EAPD_INV);

        ac97_wrcd(codec, AC97_REG_POWER, (codec->flags & AC97_F_EAPD_INV)? 0x800
0 : 0x0000);
        ac97_reset(codec);

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list