Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2020 11:55:18 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        freebsd-current@freebsd.org
Subject:   Re: after update to r368166: no sound recording
Message-ID:  <4d83e630-7bed-16bd-3422-267813d3e842@selasky.org>
In-Reply-To: <X9Crmcsce57g0PER@c720-r368166.fritz.box>
References:  <X9CchZFla3RMFd/3@c720-r368166.fritz.box> <72bd5240-3092-bf7b-51aa-2ad12a576efb@selasky.org> <X9Crmcsce57g0PER@c720-r368166.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
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<N>
> 
> 
> Hi,
> 
> Here are the values (as on the older system):
> 
> # cat /dev/sndstat
> Installed devices:
> pcm0: <Intel Haswell (HDMI/DP 8ch)> (play)
> pcm1: <Realtek ALC283 (Analog 2.0+HP/2.0)> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d83e630-7bed-16bd-3422-267813d3e842>