From owner-freebsd-questions@freebsd.org Tue Aug 2 15:59:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BC96BAD440 for ; Tue, 2 Aug 2016 15:59:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEC631ED5 for ; Tue, 2 Aug 2016 15:59:51 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u72FxfA9003591; Wed, 3 Aug 2016 01:59:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 3 Aug 2016 01:59:41 +1000 (EST) From: Ian Smith To: Matthias Apitz cc: Warren Block , freebsd-questions@freebsd.org Subject: Re: no beep any more (SOLVED) In-Reply-To: <20160802144630.GA2366@c720-r292778-amd64.oa.oclc.org> Message-ID: <20160803013156.V56585@sola.nimnet.asn.au> References: <20160728223053.A29054@sola.nimnet.asn.au> <20160728142521.GA1932@c720-r292778-amd64> <20160802053623.GA2187@c720-r292778-amd64> <20160802144630.GA2366@c720-r292778-amd64.oa.oclc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 15:59:53 -0000 On Tue, 2 Aug 2016 16:46:30 +0200, Matthias Apitz wrote: > El día Tuesday, August 02, 2016 a las 07:36:23AM +0200, Matthias Apitz escribió: > > > I have had a chat in some forum about Chromebooks. The people there are > > not willing to help further because "...we only support plain vanilla > > ChromeOS at this forum." Full thread here: > > https://productforums.google.com/forum/#!topic/chromebook-central/-MXyMACfcCU;context-place=forum/chromebook-central > > > > At least someone pointed out that these devices only have stereo audio > > speakers (which do fine in my case) and no other "pc speaker" on > > motherboard. As the speakers do fine, this must be some problem in our > > FreeBSD kernel / audio driver, not sending the printf '\7' to the audio > > device. > > > > Now, as it was clear, that it was not a hardware issue, I found after > checking the mixer settings, that we have two sound devices: > > $ cat /dev/sndstat > Installed devices: > pcm0: (play) > pcm1: (play/rec) default > > $ mixer -f /dev/mixer0 > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 100:100 > > $ mixer > Mixer vol is currently set to 91:91 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 100:100 > Mixer mic is currently set to 100:100 > Mixer rec is currently set to 100:100 > Mixer igain is currently set to 0:0 > Mixer ogain is currently set to 100:100 > Mixer monitor is currently set to 50:50 > Recording source: mic, monitor > > setting: > > $ mixer igain 50 > Setting the mixer igain from 0:0 to 50:50. > $ printf "\7" > > make it beep > > $ mixer igain 0 > Setting the mixer igain from 50:50 to 0:0. > > switches off the beeping through the stereo speaker; I have no idea what > 'igain' has todo with this... Wow, 10/10 for persistence, Matthias .. and this is something I doubt anyone would have noticed, even had you shown mixer settings earlier. I guess they must have just used the mixer igain 'slot' for the speaker. I'm sure we're all glad you managed to solve it, despite our 'help' :) Two questions: Do values apart than 50 provide different beep volumes, or is it off/on? And does 'kldload speaker ; spkrtest' work with it? cheers, Ian