From owner-freebsd-questions@freebsd.org Sun May 31 15:25:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F973337616 for ; Sun, 31 May 2020 15:25:15 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49ZhvF4JSPz4GcN for ; Sun, 31 May 2020 15:25:13 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd2b.google.com with SMTP id d5so4347700ios.9 for ; Sun, 31 May 2020 08:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HRYFUQyiVMY0aa7l9KBdH+TbZLCvvGdl8tVTKMJJ7NE=; b=M93Bca625t4xI2pNF+y5LszbJGvTZ/MZIG+dnRos67gmGRqGGXItYD6afaiehwPIjI ntwjdyXCbVEN3bJPeKxj1UB6nYoFsF+is/zTHrn1i7kbze8hDGg1GfporGkSOknbO8bQ hWLYZLmsf7CoREHH0/EYP30MnB0z6zVowDGqI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HRYFUQyiVMY0aa7l9KBdH+TbZLCvvGdl8tVTKMJJ7NE=; b=oq116qan6/BmbX8BM4SSIJPNbPb/GCNpI790PXQiEc3nW3QzYxRpMdpkb/K6Cusxze rQPwiYGDaNm9G+j6tLsSkobJXZAmEoWaLdd3i0rNhp+0t7rMI55e9mEsiFMDQtnDfiNI yVOHEIn3KLOO4JcOQ36hyVB8QaLcLIW0aT4ZCLWtg7Lf11XhaMQmkPVAoqwqV/Sqicv4 kb5r2ZSMGY+waM/AguMxgihVTGYT7VzVTtlyP9wvgGBq/T+1hTzZ0/NMbUZ82veWIJQt q/1j90yOwY49wk79nBBq8WWZp7equTL7Cv5jWoRs9F3vH1ZMTXQKLrdlNLuJF/hc78vK Y3NQ== X-Gm-Message-State: AOAM531sR3FhHy0dtHg68huziGKFKN/C0Rs+73zma9RtMCovjmwpGNIX foy1qEXaGKcejfq2S8/b1iICqsNGF/qPdv0vwtn2P8bcaA0= X-Google-Smtp-Source: ABdhPJyoDP0TzoP86i4YaK88EDjx0ZvAIvA7/uONljKTj7FW/TRrv+zSXtZwDWFS6NEV5PTvSCR9QSlDMvnSA+4NNcA= X-Received: by 2002:a5d:8d0d:: with SMTP id p13mr13919946ioj.133.1590938711835; Sun, 31 May 2020 08:25:11 -0700 (PDT) MIME-Version: 1.0 References: <20200530210930.986f7954.freebsd@edvax.de> In-Reply-To: <20200530210930.986f7954.freebsd@edvax.de> From: Mario Lobo Date: Sun, 31 May 2020 12:25:00 -0300 Message-ID: Subject: Re: Sound problems. To: Polytropon Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 49ZhvF4JSPz4GcN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=M93Bca62; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-2.98 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; NEURAL_HAM_MEDIUM(-1.09)[-1.088]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-0.98)[-0.984]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2b:from]; NEURAL_HAM_SHORT(-0.40)[-0.405]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2020 15:25:15 -0000 On Sat, May 30, 2020 at 4:09 PM Polytropon wrote: > On Fri, 29 May 2020 11:09:51 -0300, Mario Lobo wrote: > > The realtek mic doesn't work. I tried everything I could. The microphone > > sound goes out to the speakers, apps (firefox) detect a mic but its input > > doesn't go back into the system. So I wanted to switch the recording > source > > pcm6, so: > > > > sysctl hw.snd.default_unit=6 > > > > which yields this: > > > > mixer > > Mixer mic is currently set to 95:95 > > > > i.e., I won't be able to hear a damn thing, and applications won't > detect a > > mic. > > I had a comparable problem (not "mic not found", but "mic-through > can be heared, but it doesn't record anything, in no program"). > The solution was to set the gain mixer channels (igain, ogain) > to 100, and then it worked; maybe 0...99 = off, 100 = on? ;-) > > So maybe try setting all related channels to 100 first and then > see if you can reduce the level. In worst case, attach an external > hardware mixer to get better level control (which is what I'm doing > at the moment). > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Thanks for the reply, Poly. Tested with this: Mixer vol is currently set to 84:84 Mixer pcm is currently set to 96:96 Mixer speaker is currently set to 85:85 Mixer line is currently set to 20:20 Mixer mic is currently set to 100:100 Mixer mix is currently set to 94:94 * Mixer rec is currently set to 100:100 * Mixer igain is currently set to 100:100 Mixer ogain is currently set to 100:100 Recording source: mic On these sites: https://webcammictest.com/check-mic.html https://www.onlinemictest.com/ Firefox finds the mic but no input back in Chromium doesn't even find the mic. The webcam works on both. Audacity doesn't record anything from the mic. Thanks for trying. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]