soundcard issue in fbsd 4.9stable
Mr. X
r00t_su at hotmail.com
Tue Nov 4 19:16:12 PST 2003
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 at 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 :
sc->codec = AC97_CREATE(dev, sc, ich_ac97);
if (sc->codec == 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
i used to get this error repeating with grep :
# 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..
any help would be greatly appreciated.
thanks -warren
.^. Light More Light .^.
More information about the freebsd-multimedia
mailing list