From nobody Wed Nov 17 12:36:12 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B4859189317B for ; Wed, 17 Nov 2021 12:36:21 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvMqS6PL7z3QJj for ; Wed, 17 Nov 2021 12:36:20 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id y196so2051076wmc.3 for ; Wed, 17 Nov 2021 04:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:user-mail-address:date:in-reply-to :message-id:user-agent:mime-version; bh=n9AeQ4Dj/SVtszeqC+zwRrn7yDFpookzXsJyJ0KnJuM=; b=BsugVo7/72vzfkDR/R65z2P5UtvDeg3anlTcapqAwOj/MI6fnq9UG1M7U6XjNkWIuT pUQy5T6hRidIPfO3JmoorDc7XZCsoNzym/Y4tIt8Eg8dT8eR3+Agqmj9CLIbczuCk94L 4Q/M9N1oiexDbvHYJktUbYj067rqrP5yKU5Kzqgg4nXfJDyTa1DuVGSwAZ4Ej8UPonlR AHjeSd86hxtLMsBL1e72ivuZGcMLKqEY/ueg6A3NhBAig09fjiKwS7SPECoU3FFxeyVU cJRmGrlNySnNBLthHjTxk+Jr/JKFwTtIOTtJDgjDEQU6SwYi0S/EHKDx9JolhdPZIHxa JCLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:user-mail-address :date:in-reply-to:message-id:user-agent:mime-version; bh=n9AeQ4Dj/SVtszeqC+zwRrn7yDFpookzXsJyJ0KnJuM=; b=b5/6rgTh60jqtrKMjj0bQvddcgzSCpnfgzuD+bHnmEHglz4gvF9gMkoqSNDY06o47p pAumyXdS4XHC8nQ7AfOdUpD2qOc3lkeM9owR+RGavQqbobZEOdsvhaeuH3gIXwfrKv7k f6XLJUlwi1VMQdFK1S3bEs7WuQCv1Bpj9heV1gCLtTX9/wnfC0SJFPkoj1qq2XcwEaR5 0VUGInwyCZz61MRLaJZMe9GuGEh5FoXnl90/vHM2Hv2yYrbdwAmrQkOv13Jl9HoPvd8A FSIoe9zYlNQVS6mkhvFcE0TWC5MrQAOootPT6ys972CZHr9t/S0aM3eZybAqc/PrtTZe yboA== X-Gm-Message-State: AOAM532i/lTwmjSn1tVqnf0dUqfAchIEBHD0IPgq+fEkp1oidn1uKJxC 34QGoJi5zlK3lvyfHOYANXQ7GMNZsGg= X-Google-Smtp-Source: ABdhPJxfBa0vaEyAG5MuXZIV4Ar/r7BDsH3ujQBST4Vira4I2h6bbhglKhXrVYa9a9av72H+j5efuQ== X-Received: by 2002:a7b:c04b:: with SMTP id u11mr78677991wmc.127.1637152574027; Wed, 17 Nov 2021 04:36:14 -0800 (PST) Received: from jedi.localdomain (adsl-dyn-28.95-102-251.t-com.sk. [95.102.251.28]) by smtp.gmail.com with ESMTPSA id h15sm6422520wmq.32.2021.11.17.04.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 04:36:13 -0800 (PST) Received: by jedi.localdomain (Postfix, from userid 1001) id E583C1A8C75; Wed, 17 Nov 2021 13:36:12 +0100 (CET) From: Ludovit Koren To: Hans Petter Selasky Cc: freebsd-current@freebsd.org Subject: Re: sound on FreeBSD 14.0-CURRENT References: <86h7cc5tgq.fsf@gmail.com> <8e946cd7-6380-87cc-9f9d-f624717a0954@selasky.org> <86czn05rcb.fsf@gmail.com> <6c443abb-2d0f-ab04-2d8f-16e74323f4af@selasky.org> <868rxo59ey.fsf@gmail.com> <0bc2da89-337b-c6ed-fd41-0e31f6fde1ae@selasky.org> <86zgq350ty.fsf@gmail.com> <17bb4c38-18d1-ac26-2bfe-d55ba3a23641@selasky.org> <86v90r4y7e.fsf@gmail.com> <093f0d18-c538-9b08-313f-70f9184ad072@selasky.org> <86r1bf3xr0.fsf@gmail.com> User-Mail-Address: ludovit.koren@gmail.com Date: Wed, 17 Nov 2021 13:36:12 +0100 In-Reply-To: (Hans Petter Selasky's message of "Wed, 17 Nov 2021 11:50:20 +0100") Message-ID: <86mtm33qo3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4HvMqS6PL7z3QJj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="BsugVo7/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[95.102.251.28:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N >>>>> Hans Petter Selasky writes: > Hi Ludovit, >> It does not work automatically on the new notebook. I suppose pcm1, >> is >> the output for the jack headphones. >> I just tried without virtual_oss, with virtual_oss, starting with -f >> /dev/dsp0; /dev/dsp1; /dev/dsp2; /dev/dsp1.0; /dev/dsp2.0; then using >> virtual_oss_cmd using different devices and using virtual_oss_cmd as you >> mentioned in the email. >> Still no success... (and next I would like to run bluetooth >> headphones....) > Again, please show all the commands you try and the output from > them. Else I cannot help you figure this out! > Your setup should be like this: > mixer -f /dev/mixer0 -s vol 100 > mixer -f /dev/mixer0 -s pcm 100 >mixer -f /dev/mixer0 -s vol 100 pcm0:mixer: mic >mixer -f /dev/mixer0 -s pcm 100 pcm0:mixer: mic > mixer -f /dev/mixer1 -s vol 100 > mixer -f /dev/mixer1 -s pcm 100 >mixer -f /dev/mixer1 -s vol 100 >mixer -f /dev/mixer1 -s pcm 100 (no output) > killall virtual_oss > virtual_oss \ > -B -S -Q 1 -C 2 -c 2 \ > -T /dev/sndstat \ > -r 48000 \ > -b 24 \ > -s 8.0ms \ > -R /dev/dsp0 \ > -P /dev/dsp0 \ > -c 2 \ > -d dsp \ > -t vdsp.ctl > # if you play something now, do you have sound in your regular speakers? firefox, chrome both play via speakers > virtual_oss_cmd /dev/vdsp.ctl -P /dev/dsp1 > # if you play something now, do you have sound in your headphone jack? firefox plays via speakers chrome plays via headphones (heureka) Difference is pulseaudio in default settings...?! (and jack) > If the answer is "no" to the last question and "yes" to the first > question, there may be some quirks needed for the sound card: > Please read through: > man snd_hda I wil read and try some setup... > First and then try to search the FreeBSD forums for similar issues. Thank you. lk