From owner-freebsd-hackers Tue Sep 19 23: 5:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spock.org (cm-24-92-52-10.nycap.rr.com [24.92.52.10]) by hub.freebsd.org (Postfix) with ESMTP id BF7CA37B424 for ; Tue, 19 Sep 2000 23:05:12 -0700 (PDT) Received: (from jon@localhost) by spock.org serial EF600Q3T-B7F8823e8K659702049F7T for freebsd-hackers@freebsd.org; Wed, 20 Sep 2000 02:05:09 -0400 (EDT) (envelope-from jon) Date: Wed, 20 Sep 2000 02:05:09 -0400 From: Jonathan Chen To: freebsd-hackers@freebsd.org Subject: csa sound card not generating interrupt? Message-ID: <20000920020509.B55496@spock.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: telnet/1.1x Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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