From owner-freebsd-questions Wed Oct 6 2:33:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id EBD2114CB3 for ; Wed, 6 Oct 1999 02:33:02 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id LAA12703; Wed, 6 Oct 1999 11:35:36 +0100 From: Luigi Rizzo Message-Id: <199910061035.LAA12703@labinfo.iet.unipi.it> Subject: Re: Sound Card pcm driver config problem To: sarikaya@u-aizu.ac.jp (Behcet Sarikaya) Date: Wed, 6 Oct 1999 11:35:36 +0100 (MET) Cc: luigi@iet.unipi.it, freebsd-questions@FreeBSD.org In-Reply-To: <37FB0E76.8F45ADDD@u-aizu.ac.jp> from "Behcet Sarikaya" at Oct 6, 99 05:55:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 5014 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "sounds" as a dma problem. I would check your system to make sure that other peripherals (e.g. the parallel port) are not using DRQ1, and also the bios setting to make sure that DRQ1 and 3 are assigned to the PnP card(s). cheers luigi interrupt line, and also "> > 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 2 at 0x530 irq 5 dma 1:3 flags 0x13 > pcm2 (CS423x/Yamaha/AD1816 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