From owner-freebsd-questions  Fri Jun 23 11:02:37 1995
Return-Path: questions-owner
Received: (from majordom@localhost)
          by freefall.cdrom.com (8.6.10/8.6.6) id LAA19735
          for questions-outgoing; Fri, 23 Jun 1995 11:02:37 -0700
Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2])
          by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA19729
          for <questions@freebsd.org>; Fri, 23 Jun 1995 11:02:32 -0700
Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de 
        (4.1/campino-7) id AA13545; Fri, 23 Jun 95 20:02:28 +0200 
Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id UAA24470; Fri, 23 Jun 1995 20:14:17 +0200
Message-Id: <199506231814.UAA24470@gilberto.physik.rwth-aachen.de>
Subject: Re: Audio through speaker???
To: PLAZAS_CHRISTIAN@mercury.csg.peachnet.edu (Christian)
Date: Fri, 23 Jun 1995 20:14:17 +0200 (MET DST)
Cc: questions@freebsd.org
In-Reply-To: <8AC55303F0A@mercury.csg.peachnet.edu> from "Christian" at Jun 23, 95 01:48:30 pm
From: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
Reply-To: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 1118      
Sender: questions-owner@freebsd.org
Precedence: bulk

> 
> Hi,
> 
>     I remember reading a while back that .au files could be played 
> through the pc speaker by doing a cat somefile.au > /dev/audio.  I 
> tried this and I get a message saying "device not configured" and 
> when I try to do cat somefile.au > /dev/speaker I get a "permission 
> denied" message.  I tried to find info about configuring /dev/audio 
> but could not find anything.  Do I need another program to be able to 
> do this? Can somebody out there please tell me how to configure the 
> /dev/audio device?

Build a new kernel containing

device          pca0    at isa? tty

pseudo-device   speaker

Then cat file.au >/dev/pcaudio

> 
> TIA____________
> 
> Christian Plazas <plazas_christian@cc.csg.peachnet.edu>
> Columbus College, Columbus,GA
> 706.568.3045
> ______________________________________________________________________
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950619 FreeBSD 2.0-BUILT-1995
0619 #1: Mon Jun 19 19:54:08 MET DST 1995     kuku@blues.physik.rwth-aachen.d
e:/usr/src/sys/compile/BLUESGUS  i386