From owner-freebsd-current Sun Feb 24 3:27:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.dada.it (mail3.dada.it [195.110.96.70]) by hub.freebsd.org (Postfix) with SMTP id 3B38A37B41C for ; Sun, 24 Feb 2002 03:27:02 -0800 (PST) Received: (qmail 11427 invoked from network); 24 Feb 2002 11:26:55 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 24 Feb 2002 11:26:55 -0000 Received: from trudy.home.torrini.org (localhost.home.torrini.org [127.0.0.1]) by torrini.org (8.12.2/8.12.2) with ESMTP id g1OBQts0000386; Sun, 24 Feb 2002 12:26:56 +0100 (CET) (envelope-from riccardo@trudy.home.torrini.org) Received: (from riccardo@localhost) by trudy.home.torrini.org (8.12.2/8.12.2/Submit) id g1OBQqCl000385; Sun, 24 Feb 2002 12:26:52 +0100 (CET) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 24 Feb 2002 12:26:52 +0100 (CET) From: Riccardo Torrini To: Dag-Erling Smorgrav , Dan Nelson Subject: I have found /dev/speaker :-) Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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