Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239641 > unrolled thread

Sound input source detected but not capturing

Started byPankaj Jangid <pankaj@codeisgreat.org>
First post2021-09-03 19:30 +0200
Last post2021-09-13 23:00 +0200
Articles 10 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Sound input source detected but not capturing Pankaj Jangid <pankaj@codeisgreat.org> - 2021-09-03 19:30 +0200
    Re: Sound input source detected but not capturing Marko Randjelovic <markoran@eunet.rs> - 2021-09-03 21:00 +0200
      Re: Sound input source detected but not capturing Marko Randjelovic <markoran@eunet.rs> - 2021-09-03 21:10 +0200
      Re: Sound input source detected but not capturing Pankaj Jangid <pankaj@codeisgreat.org> - 2021-09-04 04:20 +0200
        Re: Sound input source detected but not capturing Marko Randjelovic <markoran@eunet.rs> - 2021-09-04 13:10 +0200
          Re: Sound input source detected but not capturing Pankaj Jangid <pankaj@codeisgreat.org> - 2021-09-04 15:40 +0200
          Re: Sound input source detected but not capturing Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-12 09:30 +0200
    Re: Sound input source detected but not capturing "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-04 12:20 +0200
      Re: Sound input source detected but not capturing Pankaj Jangid <pankaj@codeisgreat.org> - 2021-09-04 15:40 +0200
    Re: Sound input source detected but not capturing Thomas Amm <debili@open-email.net> - 2021-09-13 23:00 +0200

#239641 — Sound input source detected but not capturing

FromPankaj Jangid <pankaj@codeisgreat.org>
Date2021-09-03 19:30 +0200
SubjectSound input source detected but not capturing
Message-ID<CTlaN-8kU-7@gated-at.bofh.it>
I have a fresh Bullseye installation on a laptop. Sound output is
working. But the input is not working. The device is detected.

--8<---------------cut here---------------start------------->8---
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--8<---------------cut here---------------end--------------->8---

In the gnome settings, input is showing built-in microphone but there is
not movement in the capturing indicator.

alsamixer is also showing the sound card (F6) - HDA Intel PCH.

[toc] | [next] | [standalone]


#239644

FromMarko Randjelovic <markoran@eunet.rs>
Date2021-09-03 21:00 +0200
Message-ID<CTmzV-K1-7@gated-at.bofh.it>
In reply to#239641
On Fri, 03 Sep 2021 22:52:45 +0530
Pankaj Jangid <pankaj@codeisgreat.org> wrote:

> I have a fresh Bullseye installation on a laptop. Sound output is
> working. But the input is not working. The device is detected.
> 
> --8<---------------cut here---------------start------------->8---
> $ arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> --8<---------------cut here---------------end--------------->8---
> 
> In the gnome settings, input is showing built-in microphone but there is
> not movement in the capturing indicator.
> 
> alsamixer is also showing the sound card (F6) - HDA Intel PCH.
> 

Did you make sure:

1. correct device is set to record from 
2. recording is enabled
3. input volume is large enough

If you are not sure send the output of command 'amixer' so we can check.

[toc] | [prev] | [next] | [standalone]


#239648

FromMarko Randjelovic <markoran@eunet.rs>
Date2021-09-03 21:10 +0200
Message-ID<CTmJA-13g-7@gated-at.bofh.it>
In reply to#239644
On Fri, 3 Sep 2021 20:48:52 +0200
Marko Randjelovic <markoran@eunet.rs> wrote:

> If you are not sure send the output of command 'amixer' so we can check.

In fact, unless you have only one sound device, the command should
be 'amixer -cN' where N is the number of your sound card and can change
after reboot. So first you have to type 'cat /proc/asound/cards' to
find your card number.

[toc] | [prev] | [next] | [standalone]


#239656

FromPankaj Jangid <pankaj@codeisgreat.org>
Date2021-09-04 04:20 +0200
Message-ID<CTtrH-5ev-1@gated-at.bofh.it>
In reply to#239644
Marko Randjelovic <markoran@eunet.rs> writes:

> Did you make sure:
>
> 1. correct device is set to record from 
> 2. recording is enabled
> 3. input volume is large enough

I guess I have only one device so there is nothing to set.

How is recording enabled? Do I need to add myself to some group? I am
member of followin groups: pankaj cdrom floppy sudo audio dip video
plugdev netdev bluetooth scanner.

I have tried to set input volume using various knobs in gnome settings
as well as alsamixer. It did not work.

>> If you are not sure send the output of command 'amixer' so we can check.
>
> In fact, unless you have only one sound device, the command should
> be 'amixer -cN' where N is the number of your sound card and can change
> after reboot. So first you have to type 'cat /proc/asound/cards' to
> find your card number.

Output of ‘amixer’

--8<---------------cut here---------------start------------->8---
$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 64880 [99%] [on]
  Front Right: Playback 64880 [99%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65540 [100%] [on]
  Front Right: Capture 65540 [100%] [on]
--8<---------------cut here---------------end--------------->8---

Output of ‘amixer -c0’

--8<---------------cut here---------------start------------->8---
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb1328000 irq 137

$ amixer -c0
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 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',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 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [-0.20dB]
  Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
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 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal 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]
--8<---------------cut here---------------end--------------->8---

[toc] | [prev] | [next] | [standalone]


#239670

FromMarko Randjelovic <markoran@eunet.rs>
Date2021-09-04 13:10 +0200
Message-ID<CTBIC-2jA-5@gated-at.bofh.it>
In reply to#239656
On Sat, 04 Sep 2021 07:47:02 +0530
Pankaj Jangid <pankaj@codeisgreat.org> wrote:

> Marko Randjelovic <markoran@eunet.rs> writes:
> 
> > Did you make sure:
> >
> > 1. correct device is set to record from 
> > 2. recording is enabled
> > 3. input volume is large enough  
> 
> I guess I have only one device so there is nothing to set.

I meant 'input source'. On my machine it can be:

'Rear Mic' 'Front Mic' 'Line' 'CD'

> 
> How is recording enabled? Do I need to add myself to some group? I am
> member of followin groups: pankaj cdrom floppy sudo audio dip video
> plugdev netdev bluetooth scanner.

You are member of audio group, so that's fine. By 'recording enabled I
meant on/off switch.

> 
> I have tried to set input volume using various knobs in gnome settings
> as well as alsamixer. It did not work.
> 
> >> If you are not sure send the output of command 'amixer' so we can check.  
> >
> > In fact, unless you have only one sound device, the command should
> > be 'amixer -cN' where N is the number of your sound card and can change
> > after reboot. So first you have to type 'cat /proc/asound/cards' to
> > find your card number.  
> 
> Output of ‘amixer’
> 
> --8<---------------cut here---------------start------------->8---
> $ amixer
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65536
>   Mono:
>   Front Left: Playback 64880 [99%] [on]
>   Front Right: Playback 64880 [99%] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch cswitch-joined
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 65536
>   Front Left: Capture 65540 [100%] [on]
>   Front Right: Capture 65540 [100%] [on]
> --8<---------------cut here---------------end--------------->8---
> 
> Output of ‘amixer -c0’
> 
> --8<---------------cut here---------------start------------->8---
> $ cat /proc/asound/cards
>  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                       HDA Intel PCH at 0xb1328000 irq 137
> 
> $ amixer -c0
> 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 0 [0%] [-65.25dB] [off]
>   Front Right: Playback 0 [0%] [-65.25dB] [off]
> Simple mixer control 'Speaker',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 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 254 [100%] [-0.20dB]
>   Front Right: Playback 254 [100%] [-0.20dB]
> Simple mixer control 'Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 3 [100%] [30.00dB]
>   Front Right: 3 [100%] [30.00dB]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958',1
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',2
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',3
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',4
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> 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 'Auto-Mute Mode',0
>   Capabilities: enum
>   Items: 'Disabled' 'Enabled'
>   Item0: 'Enabled'
> Simple mixer control 'Internal 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]
> --8<---------------cut here---------------end--------------->8---
> 

Your control 'Capture',0 is turned on and volume is at maximum, so
that's fine, but you don't have 'input source' control. On my machine
output of 'amixer -c0' gives among other controls the following:

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Rear Mic'

I suppose this is the reason why your capture is not working, but don't
know how to fix it. You might try to install kernel 5.13 from
experimental or newest vanilla stable which is currently 5.14.1 (take
care not to make your system unbootable). Also you might try with newer
alsa userland software.

[toc] | [prev] | [next] | [standalone]


#239678

FromPankaj Jangid <pankaj@codeisgreat.org>
Date2021-09-04 15:40 +0200
Message-ID<CTE3M-3Er-7@gated-at.bofh.it>
In reply to#239670
Marko Randjelovic <markoran@eunet.rs> writes:

> Your control 'Capture',0 is turned on and volume is at maximum, so
> that's fine, but you don't have 'input source' control. On my machine
> output of 'amixer -c0' gives among other controls the following:
>
> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
>   Item0: 'Rear Mic'
>
> I suppose this is the reason why your capture is not working, but don't
> know how to fix it. You might try to install kernel 5.13 from
> experimental or newest vanilla stable which is currently 5.14.1 (take
> care not to make your system unbootable). Also you might try with newer
> alsa userland software.

Hmm... I have returned from the macos world. I need to regain speed to
do all that. It has been a couple of years now. ;-)

[toc] | [prev] | [next] | [standalone]


#239900

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-09-12 09:30 +0200
Message-ID<CWs65-5vR-3@gated-at.bofh.it>
In reply to#239670

[Multipart message — attachments visible in raw view] — view raw

On Sb, 04 sep 21, 12:58:14, Marko Randjelovic wrote:
> On Sat, 04 Sep 2021 07:47:02 +0530
> Pankaj Jangid <pankaj@codeisgreat.org> wrote:
> > 
> > Output of ‘amixer -c0’
> > 
> > --8<---------------cut here---------------start------------->8---
> > $ cat /proc/asound/cards
> >  0 [PCH            ]: HDA-Intel - HDA Intel PCH
> >                       HDA Intel PCH at 0xb1328000 irq 137
> > 
> > $ amixer -c0
> > 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 0 [0%] [-65.25dB] [off]
> >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > Simple mixer control 'Speaker',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 'PCM',0
> >   Capabilities: pvolume
> >   Playback channels: Front Left - Front Right
> >   Limits: Playback 0 - 255
> >   Mono:
> >   Front Left: Playback 254 [100%] [-0.20dB]
> >   Front Right: Playback 254 [100%] [-0.20dB]
> > Simple mixer control 'Mic Boost',0
> >   Capabilities: volume
> >   Playback channels: Front Left - Front Right
> >   Capture channels: Front Left - Front Right
> >   Limits: 0 - 3
> >   Front Left: 3 [100%] [30.00dB]
> >   Front Right: 3 [100%] [30.00dB]
> > Simple mixer control 'IEC958',0
> >   Capabilities: pswitch pswitch-joined
> >   Playback channels: Mono
> >   Mono: Playback [off]
> > Simple mixer control 'IEC958',1
> >   Capabilities: pswitch pswitch-joined
> >   Playback channels: Mono
> >   Mono: Playback [on]
> > Simple mixer control 'IEC958',2
> >   Capabilities: pswitch pswitch-joined
> >   Playback channels: Mono
> >   Mono: Playback [on]
> > Simple mixer control 'IEC958',3
> >   Capabilities: pswitch pswitch-joined
> >   Playback channels: Mono
> >   Mono: Playback [on]
> > Simple mixer control 'IEC958',4
> >   Capabilities: pswitch pswitch-joined
> >   Playback channels: Mono
> >   Mono: Playback [on]
> > 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 'Auto-Mute Mode',0
> >   Capabilities: enum
> >   Items: 'Disabled' 'Enabled'
> >   Item0: 'Enabled'
> > Simple mixer control 'Internal 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]
> > --8<---------------cut here---------------end--------------->8---
> > 
> 
> Your control 'Capture',0 is turned on and volume is at maximum, so
> that's fine, but you don't have 'input source' control. On my machine
> output of 'amixer -c0' gives among other controls the following:
> 
> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
>   Item0: 'Rear Mic'
> 
> I suppose this is the reason why your capture is not working, but don't
> know how to fix it.

Well, there's no "Internal Mic" and "Mic" to choose from, so maybe 
that's the problem.

@Pankaj, do you have a microphone connected to the audio (combo) jack 
and/or maybe the internal microphone is disabled in EFI and/or from 
hotkeys?

> You might try to install kernel 5.13 from
> experimental or newest vanilla stable which is currently 5.14.1 (take
> care not to make your system unbootable). Also you might try with newer
> alsa userland software.

Or this...

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#239669

From"Andrew M.A. Cater" <amacater@einval.com>
Date2021-09-04 12:20 +0200
Message-ID<CTAWd-1LU-3@gated-at.bofh.it>
In reply to#239641
On Fri, Sep 03, 2021 at 10:52:45PM +0530, Pankaj Jangid wrote:
> I have a fresh Bullseye installation on a laptop. Sound output is
> working. But the input is not working. The device is detected.
> 
> --8<---------------cut here---------------start------------->8---
> $ arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> --8<---------------cut here---------------end--------------->8---
> 
> In the gnome settings, input is showing built-in microphone but there is
> not movement in the capturing indicator.
> 
> alsamixer is also showing the sound card (F6) - HDA Intel PCH.
> 

Very new laptop? Does it need Intel firmware for the soundcard? 
firmware-intel-sound from non-free? 

https://packages.debian.org/bullseye/firmware-intel-sound

All the very best, as ever,

Andy Cater

[toc] | [prev] | [next] | [standalone]


#239677

FromPankaj Jangid <pankaj@codeisgreat.org>
Date2021-09-04 15:40 +0200
Message-ID<CTE3M-3Er-3@gated-at.bofh.it>
In reply to#239669
"Andrew M.A. Cater" <amacater@einval.com> writes:

> Very new laptop? Does it need Intel firmware for the soundcard? 
> firmware-intel-sound from non-free? 
>
> https://packages.debian.org/bullseye/firmware-intel-sound

Thanks for the advice, Andy. I just tried it. But this did not work. I
even rebooted the system after installing. That did not make any
difference.

[toc] | [prev] | [next] | [standalone]


#239954

FromThomas Amm <debili@open-email.net>
Date2021-09-13 23:00 +0200
Message-ID<CX1dw-2YZ-9@gated-at.bofh.it>
In reply to#239641
On Fri, 2021-09-03 at 22:52 +0530, Pankaj Jangid wrote:
> I have a fresh Bullseye installation on a laptop. Sound output is
> working. But the input is not working. The device is detected.
> 
> --8<---------------cut here---------------start------------->8---
> $ arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: ALC236 Analog [ALC236 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> --8<---------------cut here---------------end--------------->8---
> 
> In the gnome settings, input is showing built-in microphone but there
> is
> not movement in the capturing indicator.
> 
> alsamixer is also showing the sound card (F6) - HDA Intel PCH.
> 

Had the same problem,

apt-get purge pipewire
apt-get --purge autoremove

did the job. According to several posts on this list, pipewire doesn't
seem to work properly. Unfortunately there was no changelog warning
when upgrading and pipewire's developers do not seem to care much about
documentation.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web