Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 12:25:19 +0200 (CEST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        multimedia@freebsd.org
Subject:   snd gone after upgrade to 4.0
Message-ID:  <200007181025.MAA00803@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
After upgrading to 4.0 and cleaning up all the CONFIG file quirks
I don't see any sound device.

e.g:

$ mixer 
mixer: /dev/mixer: Device not configured
$ x11amp
Unable to open the audio device
Unable to open the audio device


lrwxrwxrwx  1 root  wheel  6 Jul 18 12:09 /dev/mixer -> mixer1

lrwxrwxrwx  1 root  wheel  6 Jul 18 12:17 /dev/audio -> audio1
gil> ls -l /dev/audio1
crw-rw-rw-  1 root  wheel   30,  20 Jul 18 12:17 /dev/audio1

I did a MAKEDEV snd0 and MAKEDEV snd1


-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de

Here some system info:

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Jul 18 2000 11:57:30
Installed devices:
pcm0: <OPTi931> at io 0x534 irq 10 drq 0:1 (1p/1r channels duplex)

# pnpinfo
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:  0x0380 0x0380 0x0380 0x0380 0x0380 0x0380 0x0380 0x0380
IRQ 10 0
DMA 0 1
IO range check 0x00 activate 0x01

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

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

dmesg 
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-RELEASE #1: Tue Jul 18 11:59:55 CEST 2000
    xxxx@xxxxxxxxxxxxxxxxxxxxxx.de:/usr/src/sys/compile/GILNEW
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 334092697 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x660  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67096576 (65524K bytes)
avail memory = 61804544 (60356K bytes)
Preloaded elf kernel "kernel" at 0xc02f6000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2 irq 9
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xd000-0xd01f irq 9 at device 10.0 on pci0
ed0: address xxxxxxxxxxxxxxxxx, type NE2000 (16 bit) 
pci0: <ATI model 5656 graphics accelerator> at 11.0 irq 9
bktr0: <BrookTree 848A> mem 0xce000000-0xce000fff irq 5 at device 12.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
bktr0: Hauppauge Model 60124 A2 V
bktr0: Detected a MSP3400C-C6 at 0x80
Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo.
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
pps0: <Pulse per second Timing Interface> on ppbus0
ppi0: <Parallel I/O> on ppbus0
pcfclock0: <PCF-1.0> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
unknown0: <AUX0> on isa0
pcm0: <OPTi931> at port 0x534-0x537,0x380-0x38b,0x220-0x22f,0xe0c-0xe0f irq 10 drq 0,1 on isa0
AD_WAIT_INIT FAILED 1002 0xff
unknown1: <Game Port> at port 0x200 on isa0
unknown2: <MPU401> at port 0x300-0x301 irq 11 on isa0
ad0: 9671MB <IBM-DTTA-351010> [19650/16/63] at ata0-master using UDMA33
Mounting root from ufs:/dev/wd0s1a


(don't know if the AD_WAIT_INIT FAILED is of any meaning)


#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $
#

machine		"i386"
cpu		"I686_CPU"
ident		GILNEW
maxusers	128

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		UCONSOLE		#Allow users to grab the console
options		MROUTING		#Allow MULTICASTING

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

#obsolote config		kernel	root on wd0 

device	isa0
device      pci0
#
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
# 

device          fd0     at fdc0 drive 0
device          fd1     at fdc0 drive 1

device          ata
device          atadisk         # ATA disk drives

# The keyboard controller; it controlls the keyboard and the PS/2 mouse.

 
# The keyboard controller; it controls the keyboard and the PS/2 mouse.
device          atkbdc0 at isa? port IO_KBD

# The AT keyboard
device          atkbd0  at atkbdc? irq 1

device          vga0    at isa? port ? 
device          sc0     at isa?

 
# `flags' for atkbd:  
#       0x01    Force detection of keyboard, else we always assume a keyboard
#       0x02    Don't reset keyboard, useful for some newer ThinkPads
#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads


# PS/2 mouse
device          psm0    at atkbdc? irq 12

#Luigi's pcm sound driver for Opti 931  secondary dma 3

# For PnP/PCI sound cards
device          pcm

device          npx0    at nexus? port IO_NPX flags 0x0 irq 13
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 flags 0x10 irq 3 

device      ppbus0

device          lpt0    at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?
device          pps0    at ppbus?
device          lpbb0   at ppbus?

#device                qcam0   at isa? port "IO_LPT3" tty
device          ppc0    at isa? irq 7
device          ppbus
device          lpt
device          plip
device          ppi
device          pps
device          lpbb
device          pcfclock

#device                qcam0   at ppbus?

device ed0

#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

# Other:
# iicbb generic I2C bit-banging code (needed by lpbb, bktr)
# 
device smbus0
device iicbus0
device iicbb0

 
device ic0      at iicbus?
device iic0     at iicbus?
device iicsmb0  at iicbus?


device bktr0
device meteor0

pseudo-device	loop
pseudo-device	bpf 16
pseudo-device	ether
pseudo-device   vn 
pseudo-device	speaker
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
#pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	32
pseudo-device	gzip		# Exec gzipped a.out's


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?200007181025.MAA00803>