Re: after update to r368166: no sound recording

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 9 Dec 2020 12:09:15 +0100
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: <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?

This here is from the older r342378 system:

[guru_at_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_at_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_at_unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
Received on Wed Dec 09 2020 - 10:09:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC