From owner-freebsd-questions@FreeBSD.ORG Sat Apr 30 15:53:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EB9E16A4CE for ; Sat, 30 Apr 2005 15:53:20 +0000 (GMT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADE9043D41 for ; Sat, 30 Apr 2005 15:53:19 +0000 (GMT) (envelope-from freeBSD@insightbb.com) Received: from steve.stevenfriedrich.org (12-202-24-76.client.insightbb.com[12.202.24.76]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20050430155318i92005bd9ge>; Sat, 30 Apr 2005 15:53:18 +0000 From: "Steve Friedrich" To: "Juha Saarinen" Date: Sat, 30 Apr 2005 10:53:18 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2711) For Windows 2000 (5.1.2600;2) In-Reply-To: MIME-Version: 1.0 Message-Id: <20050430155319.ADE9043D41@mx1.FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: "freebsd-questions@freebsd.org" Subject: Re: pcaudio device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 15:53:20 -0000 --Original Message Text--- From: Juha Saarinen Date: Sat, 30 Apr 2005 18:08:33 +1200 On 4/30/05, Steven Friedrich wrote: Somewhere, I found out about /dev/pcaudio. I can cat a .wav file to it and it comes out of the PC speaker. I thought I learned this from kernel config files, i.e., LINT or NOTES. I even went to onlamp.com and looked at some old articles by Dru. Anyway, on 4.11, this works fine. But on my 5.3 system, /dev/pcaudio isn't being created on demand. Is there a device.hint I could use to cause it to be created? Anybody know where pcaudio is documented? Maybe try /dev/speaker? -- Juha Thanks for your response, Juha. Yep, I tried that. Didn't work. I have a status_check bourne script that I've been working on that helps me manage my four FreeBSD systems, by reporting revisions of various software, checking to see that sound still works, etc. Currently, I have two sound commands; one uses /dev/speaker and the other uses /dev/pcaudio. Both commands work fine under 4.11, but the second doesn't work under 5.3RC3. (any 5.x really) Here they are for anyone interested. echo "f" > /dev/speaker # this plays a sound bite from Close Encounters of the Third Kind cat /usr/local/share/sounds/k3b_success1.wav > /dev/pcaudio # this plays the bugle wake up call