Date: Sun, 24 Feb 2002 12:26:52 +0100 (CET) From: Riccardo Torrini <riccardo@torrini.org> To: Dag-Erling Smorgrav <des@ofug.org>, Dan Nelson <dnelson@allantgroup.com> Cc: current@FreeBSD.ORG Subject: I have found /dev/speaker :-) Message-ID: <XFMail.20020224122652.riccardo@torrini.org> In-Reply-To: <xzp7kp3onxv.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15-Feb-2002 (22:17:10/GMT) Dan Nelson wrote:
> If you find out what killed /dev/speaker, let us know, too :)
On 23-Feb-2002 (22:03:56/GMT) Dag-Erling Smorgrav wrote:
>>> # kldload atspeaker
>> This doesn't work. I'm missing something obvious?
> Not that I can see... works for me
Now /dev/speaker is in place again. I found his killer...
I removed _all_ hints from /boot/device.hints and _all_ device
from my custom kernel, than added again one line at a time...
After 42 {build,install}kernel I found it again in /dev/
Compiling kernel with both this lines kill /dev/speaker and
leave only /dev/pcaudio and /dev/pcaudioctl. Using only one
at a time works fine. Also kldload atspeaker, if none of them
are present into kernel, works (thank DES for hint).
# pca: PCM audio through your PC speaker
## :-( device pca
#Play IBM BASIC-style noises out your speaker
device speaker
After good news the bad ones: detaching uscanner0 doesn't execute
my code, only play tune on attach, as on mid December :(
Ricardo.
-----8<-----[ /etc/usbd.conf ]-----8<-----
[...]
devname "uscanner[0-9]+"
attach "/bin/chmod 666 /dev/${DEVNAME} && echo L16cce > /dev/speaker"
detach "echo L16eec > /dev/speaker"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020224122652.riccardo>
