Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 02:05:09 -0400
From:      Jonathan Chen <jon@spock.org>
To:        freebsd-hackers@freebsd.org
Subject:   csa sound card not generating interrupt?
Message-ID:  <20000920020509.B55496@spock.org>

next in thread | raw e-mail | index | archive | help
I have an IBM Thinkpad T20 and, after a snificant amount of pain, have been
able to get everything working under FreeBSD except for sound.  The laptop
contains a CS4264 chip with a CS4297A AC97 codec, both of which detects
fine as csa0 and pcm0.  The memory range and irq in the pci config all
appear to be set correctly.  The problem is the the sound chip never once
generated an interrupt, which results in "pcm0: {play,record} interrupt
timeout, channel dead" every time I attempt to play/record.  This error
does not appear when playing short sound clips, but no sound is heard
nonetheless.  Upon further poking around, I confirmed that the card did not
even attempt to generate an interrupt (interrupt status bit is low, but
interrupt enable bit remains high).  I've also tried Linux on the same
computer (with their alsa sound driver), and sound works under
Linux.  Comparing the freebsd/alsa driver reveals that the attach routine
of the two drivers does the same things!  Yet, remarkably, one works and
the other doesn't.  Does anyone have any suggestions or pointers for this
problem before I go crazy pulling all my hair out?

Thanks.

-- 
    (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o)
 \\\_\            Jonathan Chen              jon@spock.org           /_///
 <____)  No electrons were harmed during production of this message (____>
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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




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