From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 09:57:01 2003 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 3A01A16A4BF for ; Wed, 20 Aug 2003 09:57:01 -0700 (PDT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 658B043FBF for ; Wed, 20 Aug 2003 09:57:00 -0700 (PDT) (envelope-from epilogue@attcanada.ca) Received: from localhost (mon-pq51-135.dial.allstream.net [216.123.140.39]) by outbox.allstream.net (Postfix) with SMTP id D162576F5; Wed, 20 Aug 2003 12:56:57 -0400 (EDT) Date: Wed, 20 Aug 2003 12:59:42 -0400 From: epilogue@attcanada.ca To: "Tiarnan O'Corrain" Message-Id: <20030820125942.7f80231d.epilogue@attcanada.ca> In-Reply-To: <20030820093354.11393.qmail@web11203.mail.yahoo.com> References: <20030819181332.40076ecf.epilogue@attcanada.ca> <20030820093354.11393.qmail@web11203.mail.yahoo.com> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: /dev/dsp inaccessible 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: Wed, 20 Aug 2003 16:57:01 -0000 On Wed, 20 Aug 2003 02:33:54 -0700 (PDT) "Tiarnan O'Corrain" wrote: > > --- epilogue@attcanada.ca wrote: > > unfortunately, i don't have an *.raw files to try so i simply tried > > to cat somefile.wav > /dev/dsp (and also to /dev/audio) > > both produce sound a screeching sound reminiscent of japanese noise > > bands :) > > That's good sign! It shows the device is configured. Do any of > the command-line tools work... mpg123 &c? Try setting the > sound device explicitly (eg mpg123 -a /dev/dsp foo.mp3). Try > it also as root. IT WORKS!!! (...and as joe-user. no need for root. :) > > cat /dev/sndstat > > FreeBSD Audio Driver (newpcm) > > pcm0: at I/O port 0x1400 irq 5 (4p/0r/4v > > channels duplex) > > ~(0)% cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0x3000 irq 5 (4p/1r/0v channels > duplex) > > There was a post yesterday explaining this. Apparently the driver > doesn't support recording (yet). missed that one. will follow issue closely. thanks for the tip. > It seems to me that the driver is working, and that your problems > are somewhere higher in the stack. it is such a relief to know that /dev/dsp is not broken. i now just need to find out exactly what is preventing these other programs from accessing it. i suppose that the programs i am trying to use probably only require recompiling, but perhaps with different options... i'll have a look. thanks again, T. > Tiarnan