Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 1998 08:06:31 -0800 (PST)
From:      Bernie Doehner <bad@uhf.wireless.net>
To:        multimedia@FreeBSD.ORG
Subject:   opti931 oddness.
Message-ID:  <Pine.BSF.3.96.980317080101.287A-100000@shf.wireless.net>

next in thread | raw e-mail | index | archive | help
Hi Gang:

I have been using my OPTi931 sound card in my 486 for over a week with
good success. However, after upgrading this machine to a K6/233 I am
having problems getting the card recognized. 

When initializing the ad1848 it fails (/sys/i386/isa/snd/ad1848.c line
646). What does a return code of 0xff mean fromt his section?

I also find it curious that my serial number is all f's (was not on the
486).  

Any thoughts on things to try much appreciated. Btw, PCI 2.1 compliance is
enabled.

Best Regards,

Bernie

My dmesg:

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-971225-SNAP #0: Tue Mar 17 07:52:27 PST 1998
    root@shf.wireless.net:/usr/src/sys/compile/workstation
CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 33554432 (32768K bytes)
avail memory = 30208000 (29500K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip2: <Intel 82371AB USB host controller> rev 0x01 int d irq 10 on pci0.7.2
chip3: <Intel 82371AB power management> rev 0x01 on pci0.7.3
vga0: <VGA-compatible display device> rev 0x00 int a irq 11 on pci0.15.0
Probing for PnP devices:
CSN 1 Vendor ID: OPT0931 [0x3109143e] Serial 0xffffffff
AD_WAIT_INIT FAILED 0xff
mss_attach <OPTi931>1 at 0x530 irq 5 dma 3:6 flags 0x16
pcm1 (OPTi931 <OPTi931> sn 0xffffffff) at 0x530-0x537 irq 5 drq 3 flags 0x16 on isa
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x360-0x37f irq 12 on isa
ed0: address 00:40:33:2f:e6:28, type NE2000 (16 bit) 
mss_probe: no address supplied, try default 0x530
device at 0x530 already attached as unit 1
sb_probe: no address supplied, try defaults (0x220,0x240)
device at 0x220 already attached as unit 1
pcm0 not found
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 at 0x2e8-0x2ef irq 9 on isa
sio3: type 16550A
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 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <M1614TA>, 32-bit, multi-block-16
wd0: 1040MB (2130912 sectors), 2114 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface


My pnpinfo output:


Checking for Plug-n-Play devices... 

Card assigned CSN #1
Vendor ID OPT0931 (0x3109143e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 0
Device Description: OPTi Audio 16

Logical Device ID: OPTffff 0xffff143e #0
	Vendor register funcs 00
Device Description: AUX0

Logical Device ID: OPT9310 0x1093143e #1
	Vendor register funcs 00
Device Description: OPTi Audio 16
TAG Start DF
    I/O Range 0x534 .. 0x608, alignment 0x4, len 0x4
	[16-bit addr]
    I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc
	[16-bit addr]
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
	[16-bit addr]
    I/O Range 0xe0c .. 0xffc, alignment 0x4, len 0x4
	[16-bit addr]
    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 5 6 
	8/16-bit, not a bus master, count by byte, count by word, Type F
TAG Start DF
    I/O Range 0x534 .. 0xff0, alignment 0x4, len 0x4
	[16-bit addr]
    I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc
	[16-bit addr]
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
	[16-bit addr]
    I/O Range 0xe0c .. 0xffc, alignment 0x4, len 0x4
	[16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
    DMA: channel(s) 0 1 3 5 6 
	8/16-bit, not a bus master, count by byte, count by word, Type F
    DMA: channel(s) 0 1 3 5 6 
	8/16-bit, not a bus master, count by byte, count by word, Type F
TAG Start DF
    I/O Range 0x534 .. 0x608, alignment 0x4, len 0x4
	[16-bit addr]
    I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc
	[16-bit addr]
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
	[16-bit addr]
    I/O Range 0xe0c .. 0xffc, alignment 0x4, len 0x4
	[16-bit addr]
    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
TAG Start DF
    I/O Range 0x534 .. 0xff0, alignment 0x4, len 0x4
	[16-bit addr]
    I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc
	[16-bit addr]
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
	[16-bit addr]
    I/O Range 0xe0c .. 0xffc, alignment 0x4, len 0x4
	[16-bit addr]
    IRQ: 5 7 9 10 11  - 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
TAG Start DF
    I/O Range 0x534 .. 0xff0, alignment 0x4, len 0x4
	[16-bit addr]
    I/O Range 0x380 .. 0x3f0, alignment 0x10, len 0xc
	[16-bit addr]
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
	[16-bit addr]
    I/O Range 0xe0c .. 0xffc, alignment 0x4, len 0x4
	[16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
    DMA: channel(s) 0 1 3 
	8-bit, not a bus master, count by byte, , Type F
TAG End DF

Logical Device ID: OPT0001 0x0100143e #2
	Vendor register funcs 00
Device Description: Game Port
    I/O Range 0x200 .. 0x20f, alignment 0x1, len 0x1
	[16-bit addr]

Logical Device ID: OPT0002 0x0200143e #3
	Vendor register funcs 00
Device Description: MPU401
    I/O Range 0x300 .. 0x360, alignment 0x10, len 0x2
	[16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
End Tag

Successfully got 53 resources, 4 logical fdevs
-- card select # 0x0001

CSN OPT0931 (0x3109143e), Serial Number 0xffffffff

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

Logical device #1
IO:  0x0534 0x0380 0x0220 0x0e0c 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 3 6
IO range check 0x00 activate 0x01

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

Logical device #3
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00




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?Pine.BSF.3.96.980317080101.287A-100000>