From owner-freebsd-current@freebsd.org Wed Dec 9 10:55:38 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 F17FA477C01 for ; Wed, 9 Dec 2020 10:55:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CrYqZ07Qhz4kYt for ; Wed, 9 Dec 2020 10:55:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D7561260371 for ; Wed, 9 Dec 2020 11:55:29 +0100 (CET) Subject: Re: after update to r368166: no sound recording To: freebsd-current@freebsd.org References: <72bd5240-3092-bf7b-51aa-2ad12a576efb@selasky.org> From: Hans Petter Selasky Message-ID: <4d83e630-7bed-16bd-3422-267813d3e842@selasky.org> Date: Wed, 9 Dec 2020 11:55:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CrYqZ07Qhz4kYt X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; 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 10:55:39 -0000 On 12/9/20 11:48 AM, Matthias Apitz wrote: > El día miércoles, diciembre 09, 2020 a las 11:05:09a. m. +0100, Hans Petter Selasky escribió: > >> On 12/9/20 10:44 AM, Matthias Apitz wrote: >>> >>> Hello, >>> >>> I've updated a laptop Acer C720 from r342378 to r368166 and do not have >>> any sound incoming anymore. I rebooted r342378 from an USB stick and the >>> old kernel produces already noise in the speakers when I touch the >>> micro hole in the keyboard, the new kernel does not produce any noise >>> there. Both system have the same /boot/device.hints values: >>> >>> .... > >> Hi, >> >> Check output from: >> >> mixer -f /dev/mixer > > > Hi, > > 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? --HPS