Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 09:01:39 -0700
From:      housel@acm.org (Peter S. Housel)
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: it seems last changes broke sound.
Message-ID:  <mu9lmp62jks.wl@cx281057-a.irvn1.occa.home.com>
In-Reply-To: <20010412133007.A1817@avias.com>
References:  <20010412133007.A1817@avias.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 12 Apr 2001 13:30:07 +0400, Juriy Goloveshkin wrote:
> 
> Hello, sound in my box had been dead after last sound-drivers commit
> 
> FreeBSD 5.0-CURRENT #44: Thu Apr 12 12:57:24 MSD 2001
> 
> pcm0: <Yamaha DS-1E (YMF744)> mem 0xfecf0000-0xfecf7fff irq 9 at device 9.0 on pci0
> ds1: setmap (48a000, 3de4), nseg=1, error=0
> pcm0: ac97 codec id 0x414b4d02 (Asahi Kasei AK4543)
> pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, AKM 3D Audio
> pcm: setmap 4a5000, 1000; 0xc923b000 -> 4a5000
> pcm: setmap 4b5000, 1000; 0xc924b000 -> 4b5000
> pcm: setmap 4c7000, 1000; 0xc925b000 -> 4c7000
> pcm: setmap 4d7000, 1000; 0xc926b000 -> 4d7000
> pcm: setmap 4ea000, 1000; 0xc927b000 -> 4ea000
> pcm: setmap 4fa000, 1000; 0xc928b000 -> 4fa000
> 
> when I want to listen to my mpegs via mpg123, it happend nothing but
> pcm0: play interrupt timeout, channel dead

Same here.  (Either that, or some rather strange sounds.) Not only
that, but there are even stranger problems with the interrupt.

pcm0 and uhci0 share irq9:

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1020-0x103f irq 9 at device 7.2 on pci0
pcm0: <Yamaha DS-1E (YMF754)> mem 0xfc108000-0xfc10ffff irq 9 at device 9.0 on pci0

Attempting to play sound doesn't register any interrupts (as reported
by vmstat -i).  Activity on the USB port causes the interrupt count to
go up for pcm0, but not for uhci0.

interrupt      total      rate
stray irq0          1        0
ata0 irq14     278340        7
uhci0 irq9          1        0
pcm0 irq9          23        0
...

-Peter-

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




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