HDA Intel PCH, ALC257 Analog, Microphone is not capturing sound

Issues related to hardware problems
Post Reply
joseluisbz
Posts: 16
Joined: 2020/06/25 18:24:42

HDA Intel PCH, ALC257 Analog, Microphone is not capturing sound

Post by joseluisbz » 2020/07/06 01:07:01

I have this kernel.

Code: Select all

[joseluisbz@centos Downloads]$ uname -r
4.18.0-193.6.3.el8_2.x86_64
[joseluisbz@centos Downloads]$
Settings-Sound-Output.png
Settings-Sound-Output.png (55.52 KiB) Viewed 7803 times
Settings-Sound-Input.png
Settings-Sound-Input.png (46.67 KiB) Viewed 7803 times
lsmod | grep -E "snd|audio"

Code: Select all

[joseluisbz@centos Downloads]$ lsmod | grep -E "snd|audio"
snd_sof_pci            16384  0
snd_sof_intel_hda_common    77824  1 snd_sof_pci
snd_hda_codec_hdmi     69632  1
snd_soc_hdac_hda       20480  1 snd_sof_intel_hda_common
snd_sof_intel_hda      16384  1 snd_sof_intel_hda_common
snd_sof_intel_byt      20480  1 snd_sof_pci
snd_sof_intel_ipc      16384  1 snd_sof_intel_byt
snd_sof               118784  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_sof_xtensa_dsp     16384  1 snd_sof_pci
snd_soc_skl           172032  0
snd_hda_ext_core       28672  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_hda_codec_realtek   122880  1
snd_soc_sst_ipc        16384  1 snd_soc_skl
snd_soc_acpi_intel_match    32768  3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi           16384  3 snd_sof_pci,snd_soc_acpi_intel_match,snd_soc_skl
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_soc_core          266240  4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_compress           24576  1 snd_soc_core
snd_hda_intel          40960  7
snd_intel_dspcfg       24576  4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_hda_codec         151552  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core           90112  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              16384  1 snd_hda_codec
snd_seq                81920  0
snd_seq_device         16384  1 snd_seq
snd_pcm               110592  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_soc_skl,snd_hda_core
snd_timer              36864  2 snd_seq,snd_pcm
snd                    94208  26 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd
[joseluisbz@centos Downloads]$
arecord -l

Code: Select all

[joseluisbz@centos Downloads]$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[joseluisbz@centos Downloads]
arecord -L

Code: Select all

[joseluisbz@centos Downloads]$ arecord -L
surround21
    2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC257 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    Front speakers
[joseluisbz@centos Downloads]$
aplay --list-devices

Code: Select all

[joseluisbz@centos Downloads]$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[joseluisbz@centos Downloads]$
aplay -L

Code: Select all

[joseluisbz@centos Downloads]$ aplay -L
surround21
    2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC257 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC257 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
[joseluisbz@centos Downloads]$
dnf list installed | grep -E 'audio|alsa'

Code: Select all

[joseluisbz@centos Downloads]$ dnf list installed | grep -E 'audio|alsa'
alsa-lib.x86_64                                    1.2.1.2-3.el8                                 @AppStream                
alsa-plugins-pulseaudio.x86_64                     1.1.9-1.el8                                   @AppStream                
alsa-ucm.noarch                                    1.2.1.2-3.el8                                 @AppStream                
alsa-utils.x86_64                                  1.2.1-2.el8                                   @AppStream                
jack-audio-connection-kit.x86_64                   1.9.12-8.el8                                  @epel                     
pcaudiolib.x86_64                                  1.1-2.el8                                     @AppStream                
pulseaudio.x86_64                                  11.1-23.el8                                   @AppStream                
pulseaudio-libs.x86_64                             11.1-23.el8                                   @AppStream                
pulseaudio-libs-glib2.x86_64                       11.1-23.el8                                   @AppStream                
pulseaudio-module-bluetooth.x86_64                 11.1-23.el8                                   @AppStream                
pulseaudio-module-x11.x86_64                       11.1-23.el8                                   @AppStream                
pulseaudio-utils.x86_64                            11.1-23.el8                                   @AppStream                
webrtc-audio-processing.x86_64                     0.3-8.el8                                     @AppStream                
[joseluisbz@centos Downloads]$
lspci -vv | grep -i audio

Code: Select all

[joseluisbz@centos Downloads]$ lspci -vv | grep -i audio
00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
[joseluisbz@centos Downloads]$ 
tree /proc/asound -L 2

Code: Select all

[joseluisbz@centos Downloads]$ tree /proc/asound -L 2
/proc/asound
├── card0
│   ├── codec#0
│   ├── codec#2
│   ├── eld#2.0
│   ├── eld#2.1
│   ├── eld#2.2
│   ├── eld#2.3
│   ├── eld#2.4
│   ├── eld#2.5
│   ├── eld#2.6
│   ├── eld#2.7
│   ├── eld#2.8
│   ├── id
│   ├── pcm0c
│   ├── pcm0p
│   ├── pcm10p
│   ├── pcm3p
│   ├── pcm7p
│   ├── pcm8p
│   └── pcm9p
├── cards
├── devices
├── hwdep
├── modules
├── oss
│   ├── devices
│   └── sndstat
├── PCH -> card0
├── pcm
├── seq
│   ├── clients
│   ├── drivers
│   ├── queues
│   └── timer
├── timers
└── version

11 directories, 25 files
[joseluisbz@centos Downloads]$
sudo lshw -class multimedia

Code: Select all

[joseluisbz@centos Downloads]$ sudo lshw -class multimedia
  *-usb:1                   
       description: Video
       product: Integrated Camera
       vendor: Chicony Electronics Co.,Ltd.
       physical id: 7
       bus info: usb@1:7
       version: 4.27
       serial: 0001
       capabilities: usb-2.01
       configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
  *-multimedia
       description: Multimedia audio controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 1f.3
       bus info: pci@0000:00:1f.3
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=64
       resources: irq:146 memory:b121c000-b121ffff memory:b1000000-b10fffff
[joseluisbz@centos Downloads]$
lspci

Code: Select all

[joseluisbz@centos Downloads]$ lspci | grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
[joseluisbz@centos Downloads]$ sudo lspci -s 00:1f.3 -v
00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
	Subsystem: Lenovo Device 3816
	Flags: bus master, fast devsel, latency 64, IRQ 146
	Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
	Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] Vendor Specific Information: Len=14 <?>
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

[joseluisbz@centos Downloads]$

I was testing with http://www.music.helsinki.fi/tmt/opetus ... 01-e02.wav

Code: Select all

[joseluisbz@centos Downloads]$ aplay --device="hw:0,0" /home/joseluisbz/a2002011001-e02.wav
Playing WAVE '/home/joseluisbz/a2002011001-e02.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[joseluisbz@centos Downloads]$ 
and the music is audible.


TESTING RECORD

Code: Select all

[joseluisbz@centos Downloads]$ arecord -f S16_LE -c 2 -d 10 -r 44100 --device="hw:0,0" /home/joseluisbz/test.wav
Recording WAVE '/home/joseluisbz/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[joseluisbz@centos Downloads]$ aplay /home/joseluisbz/test.wav
Playing WAVE '/home/joseluisbz/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[joseluisbz@centos Downloads]$ 
I can't record!

janvda
Posts: 14
Joined: 2020/07/20 06:46:37

Re: HDA Intel PCH, ALC257 Analog, Microphone is not capturing sound

Post by janvda » 2020/07/20 09:45:59

FYI I have also an issue with recording from microphone which I reported under this topic:
- viewtopic.php?f=55&t=75107

From first sight my issue seems not related to yours as I am able to record some sound although too silent and noisy
and I am not using ALC257 but Realtek ALC283.


manuelrrojas
Posts: 1
Joined: 2020/10/01 03:21:56

Re: HDA Intel PCH, ALC257 Analog, Microphone is not capturing sound

Post by manuelrrojas » 2020/10/01 03:31:47

Hey there any update? i have the same problem, with an HP EliteBook 840, but it seems it is solved in fedora :cry:

joseluisbz
Posts: 16
Joined: 2020/06/25 18:24:42

Re: HDA Intel PCH, ALC257 Analog, Microphone is not capturing sound

Post by joseluisbz » 2021/06/11 22:25:05

Unfortunately, I'm still waiting.

Post Reply