From owner-freebsd-questions Sat Dec 2 3:27: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.welearn.com.au (phoenix.welearn.com.au [139.130.44.81]) by hub.freebsd.org (Postfix) with ESMTP id 425C637B400 for ; Sat, 2 Dec 2000 03:27:05 -0800 (PST) Received: (from sue@localhost) by phoenix.welearn.com.au (8.9.3/8.9.3) id WAA65247 for freebsd-questions@freebsd.org; Sat, 2 Dec 2000 22:28:45 +1100 (EST) (envelope-from sue) Date: Sat, 2 Dec 2000 22:28:42 +1100 From: Sue Blake To: freebsd-questions@freebsd.org Subject: unpseakable speaker device? Message-ID: <20001202222840.K377@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there some way to test, silently from a shell script, whether the currently running kernel has PC speaker support? I was going to test whether the device is writeable, and if so echo "~" > /dev/speaker and look at $? but there might be a more elegant way. -- Regards, -*Sue*- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message