Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 1999 08:28:23 +0100
From:      German Tischler <tanis@gaspode.franken.de>
To:        Branson.Matheson@FergInc.com
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: AD1816 Look alike....
Message-ID:  <19990310082823.A900@gaspode.franken.de>
In-Reply-To: <19990309175857.A482@belmakor.ferginc.com>; from Branson Matheson on Tue, Mar 09, 1999 at 05:58:57PM -0500
References:  <19990309175857.A482@belmakor.ferginc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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