Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 17:58:57 -0500
From:      Branson Matheson <Branson.Matheson@FergInc.com>
To:        freebsd-multimedia@freebsd.org
Cc:        luigi@iet.unipi.it
Subject:   AD1816 Look alike....
Message-ID:  <19990309175857.A482@belmakor.ferginc.com>

next in thread | raw e-mail | index | archive | help
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 above was about the AD1816(without the A). I have tried various things 
and have been unsuccessful in getting it to work properly. I think I have 
found the datasheet on that chip at http://www.analog.com/pdf/2029_a.pdf. 

Here is the relavant information:

What can I do to help?

 -branson

controller      pnp0
device pcm0 at isa? port? tty irq 5 drq 1 

dmesg: 
	CPU: Pentium II/Xeon/Celeron (448.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping=3
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
	real memory  = 134217728 (131072K bytes)
	avail memory = 127504384 (124516K bytes)
	Preloaded elf kernel "kernel" at 0xf02ca000.
	Probing for devices on PCI bus 0:
	chip0: <Host to PCI bridge (vendor=8086 device=71a0)> rev 0x00 on pci0.0.0
	chip1: <PCI to PCI bridge (vendor=8086 device=71a1)> rev 0x00 on pci0.1.0
	chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
	ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
	chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
	ahc0: <Adaptec aic7880 Ultra SCSI adapter> rev 0x01 int a irq 10 on pci0.8.0
	ahc0: Illegal cable configuration!!. Only two connectors on the adapter may be used at a time!
	ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
	chip4: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.19.0
	Probing for devices on PCI bus 1:
	vga0: <VGA-compatible display device> rev 0x11 int a irq 255 on pci1.0.0
	Probing for devices on PCI bus 2:
	ncr0: <ncr 53c875 fast20 wide scsi> rev 0x26 int a irq 11 on pci2.4.0
	lnc1: <PCNet/PCI Ethernet adapter> rev 0x33 int a irq 10 on pci2.5.0
	lnc1: PCnet-FAST+ address 00:60:b0:fc:31:92
	Probing for PnP devices:
	CSN 1 Vendor ID: ADS7181 [0x81719304] Serial 0xffffffff Comp ID: PNPb006 [0x06b0d041]
	Probing for devices on the ISA bus:
	sc0 on isa
	sc0: VGA color <16 virtual consoles, flags=0x0>
	atkbdc0 at 0x60-0x6f on motherboard
	atkbd0 irq 1 on isa
	psm0 irq 12 on isa
	psm0: model MouseMan+, device ID 0
	sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
	sio0: type 16550A
	sio1 at 0x2f8-0x2ff irq 3 on isa
	sio1: type 16550A
	pcm0 at 0x220 irq 5 drq 1 on isa
	pca0 on motherboard
	pca0: PC speaker audio driver
	fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
	fdc0: FIFO enabled, 8 bytes threshold
	fd0: 1.44MB 3.5in
	wdc0 at 0x1f0-0x1f7 irq 14 on isa
	wdc0: unit 0 (atapi): <Hewlett-Packard CD-Writer Plus 8100/1.0g>, removable, accel, dma, iordis
	acd0: drive speed 4134KB/sec, 1024KB cache
	acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
	acd0: supported write types: CD-R, CD-RW, test write
	acd0: Audio: play, 256 volume levels
	acd0: Mechanism: ejectable tray
	acd0: Medium: no/blank disc inside, unlocked
	wdc1 not found at 0x170
	ppc0 at 0x378 irq 7 on isa
	ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
	ppc0: FIFO with 16/16/8 bytes threshold
	nlpt0: <generic printer> on ppbus 0
	nlpt0: Interrupt-driven port
	ppi0: <generic parallel i/o> on ppbus 0
	plip0: <PLIP network interface> on ppbus 0
	lnc0 not found at 0x280
	vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
	npx0 on motherboard
	npx0: INT 16 interface
	Waiting 15 seconds for SCSI devices to settle
	changing root device to da0s1a
	da0 at ahc0 bus 0 target 0 lun 0
	da0: <SEAGATE ST39102LW 8320> Fixed Direct Access SCSI-2 device 
	da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
	da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)

pnpinfo: 
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID ADS7181 (0x81719304), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 32
Device Description: Analog Devices AD1816A

Logical Device ID: ADS7180 0x80719304 #0
        Device supports I/O Range Check
TAG Start DF
Good Configuration
    IRQ: 5 7  - only one type (true/edge)
    DMA: channel(s) 1 
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4
        [16-bit addr]
    I/O Range 0x500 .. 0x560, alignment 0x10, len 0x10
        [16-bit addr]
TAG Start DF
    IRQ: 5 7 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4
        [16-bit addr]
    I/O Range 0x500 .. 0x560, alignment 0x10, len 0x10
        [16-bit addr]
TAG Start DF
    IRQ: 5 7 9 10 11 15  - only one type (true/edge)
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    I/O Range 0x220 .. 0x2e0, alignment 0x20, len 0x10
        [16-bit addr]
    I/O Range 0x388 .. 0x3b8, alignment 0x8, len 0x4
        [16-bit addr]
    I/O Range 0x500 .. 0x560, alignment 0x10, len 0x10
        [16-bit addr]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 10 11 15  - only one type (true/edge)
    DMA: channel(s) 0 1 3 
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 
        8-bit, not a bus master, count by byte, , Type F
    I/O Range 0x220 .. 0x2e0, alignment 0x20, len 0x10
        [16-bit addr]
    I/O Range 0x388 .. 0x3b8, alignment 0x8, len 0x4
        [16-bit addr]
    I/O Range 0x500 .. 0x560, alignment 0x10, len 0x10
        [16-bit addr]
TAG End DF

Logical Device ID: ADS7181 0x81719304 #1
        Device supports I/O Range Check
Compatible Device ID: PNPb006 (06b0d041)
TAG Start DF
Good Configuration
    IRQ: 5 7 9 11  - only one type (true/edge)
    I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
        [16-bit addr]
TAG Start DF
    IRQ: 5 7 9 10 11 15  - only one type (true/edge)
    I/O Range 0x300 .. 0x420, alignment 0x30, len 0x2
        [16-bit addr]
TAG End DF

Logical Device ID: ADS7182 0x82719304 #2
        Device supports I/O Range Check
Compatible Device ID: PNPb02f (2fb0d041)
TAG Start DF
Good Configuration
    I/O Range 0x200 .. 0x200, alignment 0x8, len 0x8
        [16-bit addr]
TAG Start DF
    I/O Range 0x200 .. 0x208, alignment 0x8, len 0x8
        [16-bit addr]
TAG End DF
End Tag

Successfully got 48 resources, 3 logical fdevs
-- card select # 0x0001

CSN ADS7181 (0x81719304), Serial Number 0xffffffff

Logical device #0
IO:  0x0220 0x0388 0x0500 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 0 3
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0300 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 9 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #2
IO:  0x0200 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01







  - branson

-------------------------------------------------------------------------------
Branson Matheson       	        " If you are falling off of a mountain,
Unix Systems Manager              You may as well try to fly." 
Ferguson Enterprises, Inc.           - Delenn, Minbari Ambassador 
           ( $statements = <BRANSON> ) !~ /Corporate Opinion/;


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?19990309175857.A482>