From owner-freebsd-multimedia Tue Mar 9 23:31:12 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from maulwurf.franken.de (maulwurf.franken.de [193.141.110.9]) by hub.freebsd.org (Postfix) with ESMTP id DAFBC150FA for ; Tue, 9 Mar 1999 23:31:10 -0800 (PST) (envelope-from gaspode.franken.de!tanis@maulwurf.franken.de) Received: by maulwurf.franken.de via rmail with stdio id for freebsd-multimedia@freebsd.org; Wed, 10 Mar 1999 08:30:47 +0100 (MET) (Smail-3.2 1996-Jul-4 #1 built DST-May-30) Received: (from tanis@localhost) by gaspode.franken.de (8.9.2/8.8.8) id IAA01197; Wed, 10 Mar 1999 08:28:23 +0100 (CET) (envelope-from tanis) Message-ID: <19990310082823.A900@gaspode.franken.de> Date: Wed, 10 Mar 1999 08:28:23 +0100 From: German Tischler To: Branson.Matheson@FergInc.com Cc: freebsd-multimedia@freebsd.org Subject: Re: AD1816 Look alike.... References: <19990309175857.A482@belmakor.ferginc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990309175857.A482@belmakor.ferginc.com>; from Branson Matheson on Tue, Mar 09, 1999 at 05:58:57PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 09, 1999 at 05:58:57PM -0500, Branson Matheson wrote: > I have an HP Kayak XU. It has a AD1816A chip in it. When 3.1 probes > .. I get : > > CSN 1 Vendor ID: ADS7181 [0x81719304] Serial 0xffffffff Comp ID: PNPb006 [0x06b0d041] > Probing for devices on the ISA bus: > > ... > > pcm0 at 0x220 irq 5 drq 1 on isa > > This is with: > > controller pnp0 > device pcm0 at isa? port? tty irq 5 drq 1 > > in the kernel. I read in /sys/i386/isa/snd/CARDS: > > This is a chip for ISA-PnP cards, and so should be configured > using the PnP interface. For full function configure port2, > irq0, drq0 and drq1 of ldn0. > > Wish this was a little more detailed.. like the others so that i have an > actual pnp line. The problem in your case shouldn't be the PnP line, though to give you something, mine is pnp 1 0 os enable port2 0x530 irq0 5 drq0 0 drq1 3 The problem probably is, that your kernel doesn't know it found a AD1816 chip, because it doesn't know the PnP id. Please try the following patch for /sys/i386/isa/snd/ad1848.c. If it still doesn't find the card, please mail me again. *** ad1848.c.orig Wed Mar 10 08:21:56 1999 --- ad1848.c Wed Mar 10 08:24:54 1999 *************** *** 1466,1471 **** --- 1466,1473 ---- s = "Terratec Soundsystem BASE 1"; else if (vend_id == 0x50719304) s = "Generic AD1815"; + else if (vend_id == 0x81719304) + s = "HP Kayak XU"; if (s) { struct pnp_cinfo d; read_pnp_parms(&d, 0); *************** *** 1496,1502 **** snddev_last_probed = &tmp_d; /* AD1816 */ ! if (vend_id == 0x1114b250 || vend_id == 0x50719304) { dev->id_alive = 16; /* number of io ports ? */ tmp_d = mss_op_desc; /* copy it */ --- 1498,1505 ---- snddev_last_probed = &tmp_d; /* AD1816 */ ! if (vend_id == 0x1114b250 || vend_id == 0x50719304 ! || vend_id == 0x81719304) { dev->id_alive = 16; /* number of io ports ? */ tmp_d = mss_op_desc; /* copy it */ -- 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