Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2000 22:28:42 +1100
From:      Sue Blake <sue@welearn.com.au>
To:        freebsd-questions@freebsd.org
Subject:   unpseakable speaker device?
Message-ID:  <20001202222840.K377@welearn.com.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001202222840.K377>