Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 16:02:22 +0900
From:      Tetsuji Rai <tetsuji@MailAndNews.com>
To:        multimedia@FreeBSD.ORG
Subject:   AD1816 chip configuration (Soundblaster Pro compatible)
Message-ID:  <199811280702.QAA00311@myname.my.domain>

next in thread | raw e-mail | index | archive | help
I bought a new machine with a SoundBlaster Pro compatible card, which is in 
PnP mode.  However I cannot get it to work with my FreeBSD 3.0R (it works fine 
with Windows98).
  I will write information on this card read in "control panel" of Windows98, 
and related lines in my config file, dmesg output, and all output of pnpinfo.  
This card is the only PnP card installed.  Best regards.

-Tetsuji Rai

It is Sound Image SoundComm AD1816 chip.
  irq 5,  dma 3,1
   i/o    0x220  0x388 0x300 (for midi)
   joystick 0x200

In config file, I wrote
---
controller      pnp0
device pcm0 at isa ? port? tty irq 5 drq 1 flags 0x13 vector pcmintr
---

In dmesg (only related lines)
---
Probing for PnP devices:
CSN 1 Vendor ID: ADS7181 [0x81719304] Serial 0xffffffff Comp ID: PNPb006 
[0x06b0
d041]
  ....
pcm0 at 0x220 irq 5 drq 1 flags 0x13 on isa
---

All pnpinfo output
---
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 1 3
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0300 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 11 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



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?199811280702.QAA00311>