Re: [Alsa-user] can play back but can't capture

2017-11-24 Thread Kent Tong
On Fri, Nov 24, 2017 at 4:38 PM, Clemens Ladisch via Alsa-user <
alsa-user@lists.sourceforge.net> wrote:

> Kent Tong wrote:
> > Simple mixer control 'Capture',0
> >   Front Left: Capture 63 [100%] [30.00dB] [on]
> >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > Simple mixer control 'Input Source',0
> >   Items: 'Front Mic' 'Rear Mic' 'Line'
> >   Item0: 'Front Mic'
> > Simple mixer control 'Front Mic Boost',0
> >   Front Left: 2 [67%] [20.00dB]
> >   Front Right: 2 [67%] [20.00dB]
>
> This looks OK.  Did you try to record from the front mic?
>

Yes.


> > Simple mixer control 'Capture',1
> >   Front Left: Capture 0 [0%] [-17.25dB] [off]
> >   Front Right: Capture 0 [0%] [-17.25dB] [off]
> > Simple mixer control 'Input Source',1
> >   Items: 'Front Mic' 'Rear Mic' 'Line'
> >   Item0: 'Rear Mic'
> > Simple mixer control 'Rear Mic Boost',0
> >   Front Left: 0 [0%] [0.00dB]
> >   Front Right: 0 [0%] [0.00dB]
>
> You have a second capture device (see "arecord -l"), which is currently
> configured to record silence.
>

Below is the output of "arecord -l". I have no idea what that Alt device is.

 List of CAPTURE Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


> Which device did you try to use?  Can you try both?
>
>
I only use the front mic.


> > Simple mixer control 'Line Boost',0
> >   Front Left: 0 [0%] [0.00dB]
> >   Front Right: 0 [0%] [0.00dB]
>
> Does the line input work?
>
>
how to test that?

Thanks a lot for your help!
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] can play back but can't capture

2017-11-23 Thread Kent Tong
Hi Clemens


> Anyway, that file does not contain the mixer settings.
> Please show the output of "amixer scontents".
>

thanks for the help! Please find the output below:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Line Out',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
  Item0: 'Line Out+Speaker'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]


-- 
Kent Tong
IT author and consultant, child education coach
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] can play back but can't capture

2017-11-22 Thread Kent Tong
Hi

I can play a wav file with aplay but arecord captures basically silence
(maybe plus some noises). How should I troubleshoot the problem? Please
find the aadebug.log below.

Thanks in advance for any direction!

-- 
Kent Tong
IT author and consultant, child education coach


aadebug.out
Description: Binary data
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user