From owner-freebsd-current@FreeBSD.ORG Mon May 24 11:10:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15E3316A4CE for ; Mon, 24 May 2004 11:10:58 -0700 (PDT) Received: from ppb-envlabs.com (ppb-envlabs.com [209.208.86.146]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E69D43D2D for ; Mon, 24 May 2004 11:10:55 -0700 (PDT) (envelope-from whitton@atlantic.net) Received: (qmail 32130 invoked from network); 24 May 2004 18:02:15 -0000 Received: from localhost (127.0.0.1) by ppb-envlabs.com with SMTP; 24 May 2004 18:02:15 -0000 Received: from [192.168.1.31] (laptop2.intranet [192.168.1.31]) by dns.intranet (VaMailArmor-2.0.1.16) id 32124-4AF38BC8; Mon, 24 May 2004 13:02:15 -0500 Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <9BE0D012-ADAD-11D8-B9D4-000A95BDAC8C@atlantic.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-current@freebsd.org From: Travis Whitton Date: Mon, 24 May 2004 14:10:16 -0400 X-Mailer: Apple Mail (2.613) X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.25.0.59; VDF: 6.25.0.75; host: ppb-envlabs.com) Subject: No Audio with Yamaha OPL-SAx Soundcard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 18:10:58 -0000 Hello, I'm having a problem getting my Yamaha YMF711 soundcard working under FreeBSD 5.2.1. I just migrated my desktop from Gentoo Linux to FreeBSD, and I have everything working sans sound. Here's what I have so far. whitton# kldstat Id Refs Address Size Name 1 11 0xc0400000 5e1ce0 kernel 2 1 0xc09e2000 1aea24 nvidia.ko 3 2 0xc0b91000 1da78 linux.ko 4 1 0xc0baf000 51ac8 acpi.ko 5 6 0xc4fd9000 19000 snd_pcm.ko 6 1 0xc5003000 a000 snd_mss.ko 7 1 0xc5012000 4000 snd_sbc.ko whitton# dmesg | grep pcm pcm0: at port 0x370-0x371,0x330-0x331,0x388-0x38b,0x530-0x537,0x220-0x22f irq 5 drq 1,0 on isa0 whitton# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x530 irq 5 drq 0:1 bufsz 4096 (1p/1r/0v channels duplex default) whitton# ls -l /dev/dsp* crw-rw-rw- 1 root wheel 30, 3 May 23 15:49 /dev/dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 May 23 15:49 /dev/dsp0.1 crw-rw-rw- 1 root wheel 30, 5 May 23 15:41 /dev/dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 May 23 15:41 /dev/dspW0.1 crw-rw-rw- 1 root wheel 30, 11 May 23 15:41 /dev/dspr0.0 whitton# ls -l /dev/audio0.* crw-rw-rw- 1 root wheel 30, 4 May 23 15:49 /dev/audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 May 23 15:49 /dev/audio0.1 whitton# mixer Mixer vol is currently set to 75:75 Mixer bass is currently set to 50:50 Mixer treble is currently set to 50:50 Mixer synth is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer mix is currently set to 0:0 Mixer igain is currently set to 0:0 Recording source: mic It looks like everything is in place for sound to work; however, I get no audio under KDE or when I do something as simple as: whitton# cat georgejuggle.wav > /dev/audio0.0 whitton# cat georgejuggle.wav > /dev/dsp0.0 I have verified that the soundcard is connected properly by booting off of a knoppix live CD and doing: whitton# modprobe ad1848 whitton# modprobe opl3sa2 whitton# cat somfile.wav > /dev/audio My bios tells me that the card is on IRQ 5 with DMA 0,1. Any help would be greatly appreciated. I'm synced up to the freshest 5.2.1 via freebsd-update, and I haven't touched the GENERIC kernel. whitton# uname -a FreeBSD whitton.intranet 5.2.1-SECURITY FreeBSD 5.2.1-SECURITY #0: Sun Mar 28 22:11:39 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Thanks, Travis Whitton