Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 1998 13:15:29 -0700
From:      Peter Haight <psh1@cornell.edu>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   Problems setting up SB AWE32.
Message-ID:  <199808052015.NAA00299@wartch.rih.org>

next in thread | raw e-mail | index | archive | help

I'm using Luigi's PNP sound stuff that comes with 2.2.6, and it seems to get
detected and everything, but I don't get any sound. The only sound device I
have is /dev/pcm1. How do I create /dev/audio1? I've tried both './MAKEDEV
snd1' and a symlink to pcm1. When I cat a .au file to /dev/pcm1, nothing
happens. What am I missing?

Here's some config info:

-----------------------
Here is a cat /dev/sndstat after I did the MAKDEV:
-----------------------
FreeBSD Audio Driver (980215) May 26 1998 18:38:01
Installed devices:
pcm1: <SoundBlaster 16 4.16> at 0x220 irq 5 dma 1:5
sequencer1: <???> at 0x388 (not functional)

-----------------------
Here is a dmesg:
-----------------------
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #0: Tue May 26 18:38:24 PDT 1998
    peterh@wartch.rih.org.:/usr/src/sys/compile/WARTCH
CPU: Pentium Pro (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping=3
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 129400832 (126368K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on pci0:0:0
chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on pci0:1:0
chip2 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip4 <Intel 82371AB USB interface> rev 1 int d irq ?? on pci0:7:2
chip5 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci0:14:0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs
ahc0: target 1 Tagged Queuing Device
(ahc0:1:0): "SEAGATE ST34501W 0017" type 0 fixed SCSI 2
sd0(ahc0:1:0): Direct-Access 4339MB (8887200 512 byte sectors)
sd0(ahc0:1:0): with 6576 cyls, 8 heads, and an average 168 sectors/track
de0 <Digital 21140A Fast Ethernet> rev 34 int a irq 11 on pci0:15:0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.2
de0: address 00:e0:29:0c:66:07
vga0 <VGA-compatible display device> rev 16 int a irq 9 on pci0:16:0
Probing for devices on PCI bus 1:
Probing for PnP devices:
CSN 1 Vendor ID: CTL00c3 [0xc3008c0e] Serial 0x1c4d4482
pcm1 (SB16pnp <SB16 PnP> sn 0x1c4d4482) at 0x220 irq 5 drq 1 flags 0x15 id 11
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 flags 0x1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x1>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 not found at 0xffffffff
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
changing root device to st0s2a
mountmsdosfs(): Warning: root directory is not a multiple of the clustersize in length
de0: enabling 10baseT port

-----------------------
Here is my kernel config
-----------------------

machine		"i386"
ident		WARTCH
maxusers	100

config		kernel	root on st0s2a

cpu		"I686_CPU"		# aka Pentium Pro(tm)

options		"CPU_FASTER_5X86_FPU"
options		"NO_F00F_HACK"

options		"COMPAT_43"

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

options		"MD5"

options		UCONSOLE

options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		INET			#Internet communications protocols

pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	bpfilter	2	#Berkeley packet filter

options		FFS			#Fast filesystem
options		NFS			#Network File System
options		"CD9660"		#ISO 9660 filesystem
options		FDESC			#File descriptor filesystem
options		KERNFS			#Kernel filesystem
options		MFS			#Memory filesystem
options		MSDOSFS			#MS DOS filesystem

controller	scbus0	#base SCSI code
device		sd0	#SCSI disks
device		cd0	#SCSI CD-ROMs

options		SCSI_REPORT_GEOMETRY

pseudo-device	pty	64	#Pseudo ttys - can go as high as 256
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
pseudo-device	log		#Kernel syslog interface (/dev/klog)
pseudo-device	gzip		#Exec gzipped a.out's
pseudo-device	su		#scsi user
pseudo-device	ssc		#super scsi

controller	isa0

controller      pnp0

options		XSERVER			# support for running an X server.

device		sc0	at isa? port "IO_KBD" tty flags 0x01 irq 1 vector scintr
options		MAXCONS=16		# number of virtual consoles
options		SC_HISTORY_SIZE=200	# number of history buffer lines

device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr

disk		fd0	at fdc0 drive 0

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15 vector pcmintr

options	AHC_TAGENABLE
options	AHC_SCBPAGING_ENABLE
options AHC_ALLOW_MEMIO

controller	pci0
controller	ahc0
device		de0

options		COMPAT_LINUX

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?199808052015.NAA00299>