From owner-freebsd-questions Mon Dec 21 04:09:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA14764 for freebsd-questions-outgoing; Mon, 21 Dec 1998 04:09:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from transrapid.artcom.de (tui.artcom.de [192.76.129.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA14756 for ; Mon, 21 Dec 1998 04:09:11 -0800 (PST) (envelope-from mickey@artcom.de) Received: from enforcer.artcom.de ([10.1.1.198]) by transrapid.artcom.de with esmtp (Exim 2.02 #5) id 0zs494-00056C-00 for questions@freebsd.org; Mon, 21 Dec 1998 13:09:06 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 21 Dec 1998 13:09:04 +0100 (CET) Organization: Art + Com AG From: "Andreas S. Wetzel" To: questions@FreeBSD.ORG Subject: How to get /dev/pcaudio to work? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! --- I'm in the need of playing raw audio data through the PC-Speaker device /dev/pcaudio. I have configured my 3.0-RELEASE system with the appropriate kernel device line for the pca0 device. The kernel recognizes the device at boot time, but I cannot get it to work. Is there any documentation about the pca kernel driver? I could not find any manpages or else. Another thing that made me wonder is that there is a kernel driver but no userland program which enables me to play sounds using this device. In the absence of such a program I wrote a little program by myself which tries to output raw audio data to /dev/pcaudio using write(2), but all I get is a "Bad file descriptor" error code from the write(2) call. What am I doing wrong, or is this driver not functioning at all ? Any help appreciated. Regards, Mickey -- (__) (@@) Andreas S. Wetzel Mail: mickey@artcom.de /-------\/ Art + Com AG Web: http://www.artcom.de/~mickey / | || Kleiststr. 23-26 Fon: <+4930> 21001465 * ||----|| 10787 Berlin Fax: <+4930> 21001555 ~~ ~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message