Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 1999 12:15:44 +0100 (CET)
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        multimedia@freebsd.org
Subject:   pcm0
Message-ID:  <199912121115.MAA20474@gil.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
FreeBSD-3.3R, Luigi's sound driver:

I tinkered with sound drivers a bit (have an Opti931 sound card
which NT didn't recognize but was hoping that I could get
it working under FreeBSD):

I read man pcm, and did the MAKEDEV snd1, as suggested there.
Here is my dmesg:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #4: Sun Dec 12 11:11:34 MET 1999
    kuku@pow:/usr/src/sys/compile/POW
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 233864884 Hz
CPU: Pentium/P55C (233.86-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 62357504 (60896K bytes)
Preloaded elf kernel "kernel" at 0xc02b7000.
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.1.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
vga0: <S3 968 graphics accelerator> rev 0x00 int a irq 10 on pci0.9.0
de0: <Digital 21041 Ethernet> rev 0x21 int a irq 5 on pci0.10.0
de0: SMC 21041 [10Mb/s] pass 2.1
de0: address 00:e0:29:0b:7e:4a
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 11 on pci0.12.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for PnP devices:
CSN 1 Vendor ID: OPT0931 [0x3109143e] Serial 0xffffffff Comp ID: @@@0000 [0x00000000]
This is an OPTi931, but LDN 1 is disabled
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   This is strange, isn't it?

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 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
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
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 (wd0): <IBM-DHEA-38451>
wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <FX120T/b03>, removable, intr, dma, iordis
wdc1: ATAPI CD-ROMs not configured
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium detected, installing workaround for F00F bug
Waiting 7 seconds for SCSI devices to settle
changing root device to da0s3a
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <YAMAHA CRW4260 1.0e> Removable CD-ROM SCSI-2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DCAS-34330W S65A> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

and my CONFIG file:

#
# POW -- 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		"I586_CPU"
ident		POW
maxusers	64

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		UCONSOLE		#Allow users to grab the console
options 	SCSI_DELAY=7000
#options		DDB
options		KTRACE
options USER_LDT
options MROUTING

config		kernel	root on wd0 

controller	isa0
controller	ncr0
controller	ahc0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd1	at wdc1 drive 0

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          wcd0    #IDE CD-ROM     
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
# was 4096 anf 128
options         SHMMAXPGS=8192
options         "SHMSEG=256"


controller	scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		sa0		# Sequential Access (tape etc)
device		cd0		# CD
device		pass0		# Passthrough device (direct SCSI)

device de0

# The video card driver.
device		vga0	at isa? port ? conflicts
# Enable PnP support in the kernel.  This allows you to automaticly
# attach to PnP cards for drivers that support it and allows you to
# configure cards from USERCONFIG.  See pnp(4) for more info.
controller	pnp0

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

# The AT keyboard
device		atkbd0	at isa? tty irq 1
# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
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              qcam0   at isa? port "IO_LPT1" tty

device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x0

pseudo-device	loop
pseudo-device	vn
pseudo-device	ether
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

Any clues?

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


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?199912121115.MAA20474>