From owner-freebsd-current@freebsd.org Wed Dec 9 11:09:18 2020 Return-Path: Delivered-To: freebsd-current@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 D5C4A478324 for ; Wed, 9 Dec 2020 11:09:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrZ7K2WhGz4lkk for ; Wed, 9 Dec 2020 11:09:17 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.60.2] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmxLP-0004md-Vk for freebsd-current@freebsd.org; Wed, 09 Dec 2020 12:09:16 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 0B9B9FTC002813 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 9 Dec 2020 12:09:15 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 0B9B9FZV002812 for freebsd-current@freebsd.org; Wed, 9 Dec 2020 12:09:15 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 9 Dec 2020 12:09:15 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: after update to r368166: no sound recording Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org References: <72bd5240-3092-bf7b-51aa-2ad12a576efb@selasky.org> <4d83e630-7bed-16bd-3422-267813d3e842@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4d83e630-7bed-16bd-3422-267813d3e842@selasky.org> X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.60.2 X-Rspamd-Queue-Id: 4CrZ7K2WhGz4lkk X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.20 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.60.2:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2020 11:09:18 -0000 El día miércoles, diciembre 09, 2020 a las 11:55:18a. m. +0100, Hans Petter Selasky escribió: > > Here are the values (as on the older system): > > > > # cat /dev/sndstat > > Installed devices: > > pcm0: (play) > > pcm1: (play/rec) default > > No devices installed from userspace. > > > > # ls -l /dev/mixer* > > crw-rw-rw- 1 root wheel 0x4b 9 dic. 10:52 /dev/mixer0 > > crw-rw-rw- 1 root wheel 0x4e 9 dic. 10:52 /dev/mixer1 > > > > # mixer -f /dev/mixer0 > > Mixer vol is currently set to 100:100 > > Mixer pcm is currently set to 100:100 > > > > # mixer -f /dev/mixer1 > > Mixer vol is currently set to 100:100 > > 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 mix is currently set to 100:100 > > Mixer rec is currently set to 100:100 > > Mixer igain is currently set to 100:100 > > Mixer ogain is currently set to 100:100 > > Mixer monitor is currently set to 100:100 > > Recording source: mix > > > > (I also tested the other rec devices: speaker, mic, mix, monitor). > > > > And recording does not get any input: > > > > $ rec -c 2 /tmp/out.wav > > > > Input File : 'default' (ossdsp) > > Channels : 2 > > Sample Rate : 48000 > > Precision : 16-bit > > Sample Encoding: 16-bit Signed Integer PCM > > > > In:0.00% 00:00:07.34 [00:00:00.00] Out:348k [XXXXXX|XXXXXX] Clip:0 ^C > > Aborted. > > > > Where I put the XXXXXX normally indicators are moving according the level > > of the recorded noise. Nothing is there, only blanks. > > > > And also: > > mixer =rec > > Is set correctly? This here is from the older r342378 system: [guru@c720-r342378 ~]$ mixer Mixer vol is currently set to 100:100 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 mix is currently set to 100:100 Mixer rec is currently set to 100:100 Mixer igain is currently set to 100:100 Mixer ogain is currently set to 100:100 Mixer monitor is currently set to 100:100 Recording source: mix [guru@c720-r342378 ~]$ rec -c 2 /tmp/out.wav which is recording just fine. As I said, I tested all other values for '=rec' too, i.e. the devices: speaker, mic, mix, monitor matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub