From owner-freebsd-questions@freebsd.org Thu Dec 10 17:44:44 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 3E3E04B199C for ; Thu, 10 Dec 2020 17:44:44 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 4CsLs61h3Cz4l8H for ; Thu, 10 Dec 2020 17:44:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd2c.google.com with SMTP id p187so6403865iod.4 for ; Thu, 10 Dec 2020 09:44:41 -0800 (PST) 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; bh=8UdqpVlfT99nH78sX0LP8ts6m1ax7yeUT4fSQHc8hRI=; b=QzLE5AV/HkG7HsIlzH7gU2xWlqW4ywysfnfkG9I0n7WoDTDEYunYkqKTfU7pbHhY85 DDGjaxYlhux3lxw78Zi5T1grwN8OEnDabUfWbCSagiIOXvX+Rp/v/Rh3jovGMi117SJ0 3vCmICqyxNHZyLkHu6xHU/HDpmys/ERQRXeEY= 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; bh=8UdqpVlfT99nH78sX0LP8ts6m1ax7yeUT4fSQHc8hRI=; b=LgtJ1gOcxMLqr6f9GdtM1PYMVF3o3zSJ+34iusQQ/d9FsR8XIIcQ26mwWyxP53xAuk cKrxdv3P+TaqjcX8jzrmWbjiAW2lst/d7ZIMorzQsODEuGQJVgwrTkTebFBnjhDDTQgx xf1fKdtKLIiScgAB4QSEPDjX9vT5Hhy3geNS/xd4imsHmPx4BH8MNEp7PRb7NGzW8GYh Whqs6CBUWFjHg8miVGutkAGwRMazwi/7ugZfmiykQsPXpeVsrakNa+taezgvKppa2LNB ioEx/RB/gdAtF+6hZdQr0uyEqLgCg2fXZ0M0Ta2NuWMnGj1PQWpDHXQ5h46GZ6tROLUb FjkQ== X-Gm-Message-State: AOAM532kuLGyPIhyPz6SItr5BlTQTJp5wvgNl+Z+LbafLSQmp9tt9S9I Nk7d+rr5shCva4W3Lew6CadYw7JAsRTf4TgWAiVCVZuWr3U= X-Google-Smtp-Source: ABdhPJw7n9zXjX9KdYNGV5eL31NmK41YnDubMs5bAs/UWOL3zIWqmYZnNCE2pTl7FCnQxb47m+Nklz6bfjDJycxLSEw= X-Received: by 2002:a02:6d51:: with SMTP id e17mr9648380jaf.76.1607622280379; Thu, 10 Dec 2020 09:44:40 -0800 (PST) MIME-Version: 1.0 References: <1fe6a18e-9595-83fe-7edf-e6e8485d6d01@nethead.se> <1615da46-9fe4-d190-5e52-853be1319281@nethead.se> <498e84a4-1f02-d080-0546-27664763ab3e@gmail.com> In-Reply-To: From: Mario Lobo Date: Thu, 10 Dec 2020 14:44:29 -0300 Message-ID: Subject: Re: Firefox: virtual_oss: no sound To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4CsLs61h3Cz4l8H X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=QzLE5AV/; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::d2c as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-3.26 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::d2c:from:127.0.2.255]; DKIM_TRACE(0.00)[bsd.com.br:+]; NEURAL_HAM_SHORT(-0.76)[-0.755]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2c:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::d2c:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 17:44:44 -0000 On Sun, Dec 6, 2020 at 4:09 PM Graham Perrin wrote= : > > On 06/12/2020 18:45, Mario Lobo wrote: > > On Sun, Dec 6, 2020 at 2:36 PM Graham Perrin > wrote: > > > >> On 04/12/2020 18:37, Mario Lobo wrote: > >> > >> =E2=80=A6 Videos in Firefox not only have no sound. =E2=80=A6 > >> > >> > >> If you have not already done so: > >> > >> > >> about:config > >> > >> media.cubeb.backend > >> string > >> oss > >> > > It is set that way. > > > > By the way, I tried setting to sndio, and even though sndio wasn't > running, > > It still had sound. > > > > But virtual_oss still has the same firefox results (no sound). I have t= o > > reboot the machine to get the sound back on FF. > > Stopping virtual_oss and restarting FF is not enough. > > > > I also had virtual_oss_ctl installed but, like you, I dont know how to > use > > it. > > If it helps: the setup outlined below works for me (with analogue audio > in an HP EliteBook 8570p). > > NB maybe worth actively checking that virtual_oss is running, i.e. > > service virtual_oss status > or > service virtual_oss onestatus > > Also: below, NB the `-t vdsp.ctl` part. IIRC this is for compatibility > with the virtual_oss_ctl GUI. > > ---- > > grahamperrin@mowa219-gjp4-8570p:~ % tail -n 15 /etc/rc.conf > > > virtual_oss_enable=3D"YES" > virtual_oss_default_args=3D"\ > -T /dev/sndstat \ > -S \ > -i 8 \ > -C 2 -c 2 \ > -r 48000 \ > -b 24 \ > -s 8.0ms \ > -f /dev/dsp1 \ > -c 2 \ > -d dsp \ > -t vdsp.ctl" > sndiod_enable=3D"YES" > grahamperrin@mowa219-gjp4-8570p:~ % service virtual_oss status > virtual_oss is running as pid 117. > grahamperrin@mowa219-gjp4-8570p:~ % service sndiod status > sndiod is running as pid 2212. > grahamperrin@mowa219-gjp4-8570p:~ % cat /dev/sndstat > Installed devices: > pcm0: (play) > pcm1: (play/rec) default > pcm2: (play/rec) > Installed devices from userspace: > dsp: (play/rec) > grahamperrin@mowa219-gjp4-8570p:~ % > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I've tried everything and it simply doesn't work. I've given up using the webcam and its mic on BSD. --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]