Date: Wed, 06 Oct 1999 17:55:19 +0900 From: Behcet Sarikaya <sarikaya@u-aizu.ac.jp> To: luigi@iet.unipi.it, freebsd-questions@FreeBSD.org Subject: Sound Card pcm driver config problem Message-ID: <37FB0E76.8F45ADDD@u-aizu.ac.jp>
next in thread | raw e-mail | index | archive | help
I am using the pcm driver to configure my Crystal CS4237 card. I can not
play CD.
I did
/dev/MAKEDEV snd2
When I do
cat monkey.au >/dev/audio
I got it played two times and then sometimes it stops with this message:
timeout flushing dbuf_out, chan 1 cnt 0xffeb8e48 flags 0x000002c1
Applications like rat recognize CS4237 but no sound.
Thanks for your help in advance,
/ Behcet Sarikaya
Kernel configuration file:
controller pnp0
device pcm1 at isa ? port? tty irq 5 drq 1 flags 0x13 vector pcmintr
dmesg output:
FreeBSD 3.2-RELEASE #19: Wed Oct 6 16:23:21 JST 1999
sarikaya@dellcom5.u-aizu.ac.jp:/usr/project/V6/sys/compile/DELLCOM5
FreeBSD Kernel Configuration Utility - Version 1.2
Type "help" for help or "visual" to go to the visual
configuration interface (requires MGA/VGA display or
serial terminal capable of displaying ANSI graphics).
config> pnp 1 0 os enable port0 0x534 port2 0x220 irq0 5 drq0 1 drq1 3
config> quit
Probing for PnP devices:
CSN 1 Vendor ID: CSCd937 [0x37d9630e] Serial 0xffffffff Comp ID: @@@0000 [0x0000
0000]
mss_attach <CS4237>2 at 0x530 irq 5 dma 1:3 flags 0x13
pcm2 (CS423x/Yamaha/AD1816 <CS4237> sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 fl
ags 0x13 on isa
pnpinfo command output:Checking for Plug-n-Play devices...
Card assigned CSN #1
Vendor ID CSCd937 (0x37d9630e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 1
Device Description: AW35/Pro (Resource R2.2-D7)
Logical Device ID: CSC0000 0x0000630e #0
Device Description: WSS/SB
TAG Start DF
Good Configuration
DMA: channel(s) 1
8-bit, not a bus master, count by byte, , Type A
DMA: channel(s) 0 3
8-bit, not a bus master, count by byte, , Type A
IRQ: 5 - only one type (true/edge)
I/O Range 0x534 .. 0x534, alignment 0x4, len 0x4
[16-bit addr]
I/O Range 0x388 .. 0x388, alignment 0x8, len 0x8
[16-bit addr]
I/O Range 0x220 .. 0x220, alignment 0x20, len 0x10
[16-bit addr]
Acceptable Configuration
DMA: channel(s) 1 3
8-bit, not a bus master, count by byte, , Type A
DMA: channel(s) 0 1 3
8-bit, not a bus master, count by byte, , Type A
IRQ: 5 7 9 11 12 15 - only one type (true/edge)
I/O Range 0x534 .. 0xffc, alignment 0x4, len 0x4
[16-bit addr]
I/O Range 0x388 .. 0x388, alignment 0x8, len 0x8
[16-bit addr]
I/O Range 0x220 .. 0x260, alignment 0x20, len 0x10
[16-bit addr]
TAG Start DF
Sub-optimal Configuration
DMA: channel(s) 0 1 3
8-bit, not a bus master, count by byte, , Type A
IRQ: 5 7 9 11 12 15 - only one type (true/edge)
I/O Range 0x534 .. 0xffc, alignment 0x4, len 0x4
[16-bit addr]
I/O Range 0x388 .. 0x3f8, alignment 0x8, len 0x8
[16-bit addr]
I/O Range 0x220 .. 0x300, alignment 0x20, len 0x10
[16-bit addr]
TAG End DF
Logical Device ID: CSC0001 0x0100630e #1
Device Description: GAME
TAG Start DF
Good Configuration
I/O Range 0x200 .. 0x200, alignment 0x8, len 0x8
[16-bit addr]
TAG Start DF
Acceptable Configuration
I/O Range 0x208 .. 0x208, alignment 0x8, len 0x8
[16-bit addr]
TAG End DF
Logical Device ID: CSC0010 0x1000630e #2
Device Description: CTRL
I/O Range 0x120 .. 0xff8, alignment 0x8, len 0x8
[16-bit addr]
Logical Device ID: CSC0003 0x0300630e #3
Device Description: MPU
TAG Start DF
Good Configuration IRQ: 9 - only one type (true/edge)
I/O Range 0x330 .. 0x330, alignment 0x8, len 0x2
[16-bit addr]
TAG Start DF
Acceptable Configuration
IRQ: 9 11 12 15 - only one type (true/edge)
I/O Range 0x330 .. 0x360, alignment 0x8, len 0x2
[16-bit addr]
TAG Start DF
Sub-optimal Configuration
I/O Range 0x330 .. 0x3e0, alignment 0x8, len 0x2
[16-bit addr]
TAG End DF
End Tag
Successfully got 46 resources, 4 logical fdevs
-- card select # 0x0001
CSN CSCd937 (0x37d9630e), Serial Number 0xffffffff
Logical device #0
IO: 0x0534 0x0000 0x0220 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 1 3
IO range check 0x00 activate 0x01
Logical device #1
IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x00
Logical device #2
IO: 0x0120 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01
Logical device #3
IO: 0x0338 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 11 0
DMA 4 4
IO range check 0x00 activate 0x01
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37FB0E76.8F45ADDD>
