Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 19:15:22 -0800
From:      "Mr. X" <r00t_su@hotmail.com>
To:        <freebsd-multimedia@freebsd.org>
Subject:   soundcard issue in fbsd 4.9stable
Message-ID:  <BAY2-DAV172efTAWf4G00005e69@hotmail.com>

next in thread | raw e-mail | index | archive | help
i have had this problem ever since i enabled the soundcard in the =
kernel. any sound "tries" to play but skips to the end
and will not play (xmms, realplayer). sort of a strange echo sound. the =
card is in a sony vaio laptop model PCG-GRZ610.

here is the output of vital commands:

zwan# grep pcm /var/run/dmesg.boot
pcm0: <Intel ICH3 (82801CA)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at =
device 31.5 on pci0
pcm0: <Yamaha YMF753 AC97 Codec>

zwan# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH3 (82801CA)> at io 0x1c00, 0x18c0 irq 9 bufsz 16384 =
(1p/1r/0v channels duplex)

zwan# uname -a
FreeBSD zwan.com 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Nov  4 18:25:43 =
PST 2003     root@zwan.com:/usr/obj/usr/src/sys/k04-1103  i386

zwan# ls -la /dev/dsp0 /dev/dsp
lrwxrwxrwx  1 root  wheel  4 Nov  2 23:24 /dev/dsp -> dsp0
lrwxrwxrwx  1 root  wheel  6 Nov  2 23:24 /dev/dsp0 -> dsp0.0

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
+++++++++++++++++

i edited :

/sys/dev/sound/pci/ich.c

with :=20

sc->codec =3D AC97_CREATE(dev, sc, ich_ac97);

if (sc->codec =3D=3D NULL)

goto bad;

ac97_setflags(sc->codec, AC97_F_EAPD_INV);   <-- added line

mixer_init(dev, ac97_getmixerclass(), sc->codec);

-------------------------------------------------------------------------=
------------------------------

then did buildworld / kernel, install kernel,  single user mode .. =
installworld and mergemaster -p

...before i added the above line in /sys/dev/sound/pci/ich.c=20

i used to get this error repeating with grep :=20

# grep pcm /var/run/dmesg.boot

pcm0: <Intel ICH3 (82801CA)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at =
device 31.5 on pci0

pcm0: <Yamaha YMF753 AC97 Codec>

pcm0:play:0: play interrupt timeout, channel dead

pcm0:play:0: play interrupt timeout, channel dead

pcm0:play:0: play interrupt timeout, channel dead

pcm0:play:0: play interrupt timeout, channel dead



since i edited ich.c with the new line .,. i do not get this error =
anymore .. but i have the same effect with the sound.

basically it does not work period..=20

any help would be greatly appreciated.



thanks  -warren

.^. Light More Light .^. 



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