From owner-freebsd-multimedia Thu Aug 6 23:31:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05766 for freebsd-multimedia-outgoing; Thu, 6 Aug 1998 23:31:05 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from maulwurf.franken.de (maulwurf.franken.de [193.141.110.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05761 for ; Thu, 6 Aug 1998 23:31:03 -0700 (PDT) (envelope-from gaspode.franken.de!tanis@maulwurf.franken.de) Received: by maulwurf.franken.de via rmail with stdio id for freebsd-multimedia@freebsd.org; Fri, 7 Aug 1998 08:30:35 +0200 (MET DST) (Smail-3.2 1996-Jul-4 #1 built DST-May-30) Received: (from tanis@localhost) by gaspode.franken.de (8.8.8/8.8.8) id IAA00982; Fri, 7 Aug 1998 08:22:03 +0200 (CEST) (envelope-from tanis) Message-ID: <19980807082203.A367@gaspode.franken.de> Date: Fri, 7 Aug 1998 08:22:03 +0200 From: German Tischler To: Doug Russell Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: AD1815 Based Sound Cards References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Doug Russell on Thu, Aug 06, 1998 at 08:38:26PM -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Aug 06, 1998 at 08:38:26PM -0600, Doug Russell wrote: > > Has anyone ever used a card based on the Analog Devices AD1815 chip? > I can get it detected by the pcm driver, and I can use the mixer, and I > can 'cat kernel > /dev/dsp0' and it sounds like a kernel. :) (I can play > real .wav files by catting them to the device, or using splay, as well.) > > HOWEVER... I can't play an mp3 using mp123 or splay. When I try, I get: > > SoundBlaster: DSP Command(0xd1) timeout, IRQ conflict ? > SoundBlaster: DSP Command(0x48) timeout, IRQ conflict ? > SoundBlaster: DSP Command(0x91) timeout, IRQ conflict ? > SoundBlaster: DSP Command(0xd3) timeout, IRQ conflict ? > > It cuts off the line input at this point too, and the mixer no longer > seems to have any effect. So.... The question is. What the heck is going > on, here? > > I don't think it really is an IRQ conflict or PNP configuration problem. > The card is PNP only, and in a PNP machine it seems to set itself up > reasonably. (When I put it in this machine, pnpinfo reports that it set > itself to irq 5, 0x220, drq1, etc... the usual values.) The pcm driver, > set to those settings finds the card as pcm0. If I add the vendor ID to > sb_dsp.c, it is detected as pcm1 automatically, regardless of the pcm0 > settings, as far as I can tell. > > In a non-pnp machine, I set it manually via userconfig to irq9, drq1, > 0x220. It is then detected as pcm0 with matching settings in userconfig. > > It seems to me like an interrupt problem, but I don't see why it would be > having a problem. Does anyone have any docs for this chip? I haven't > found any yet. > > Dropping a Vibra16X based SoundBlaster in the same machines works fine. > (Even at the same hard wired IRQ settings, etc. in the non-pnp machine.) You might try if you get success with my ad1816 patches for Luigi's code. They are located at http://www.mayn.franken.de/users/tanis You will at least have to add the PNP id of your card to the pnp probe. If it works you should get better support for your card than with just Soundblaster emulation. -- German Tischler tanis@gaspode.franken.de Apple eaten (core dumped) tanis@cip.informatik.uni-wuerzburg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message