You are not logged in.
Hello, please excuse the title but I couldn't fit the problem in the character limit
I've recently decided to ditch ubuntu in favor of Arch, but I cannot get sound recording working neither from the integrated microphone nor from the out/in combo audio jack. On ubuntu it used to work fine, but actually it stopped working a couple of days ago but I didn't bother much because I already wanted to format the linux partition. Under Windows everything is ok, so I know the hardware is working fine.
Under Linux/Arch the microphone just won't record any sound, rather it only records white noise. I've gone through all of the listed possible solutions on the Arch wiki, but nothing seems to work. I even changed the sample rate in /etc/pulse/default.pa but nothing. Pavucontrol reports the microphone being active and I can set the volume, but the meter just slightly moves, I guess according to the white noise it captures. Boosting the volume to 300000 like suggested in the wiki only affects the noise level.
FYI I'm on an HP Omen 15 Ax000nl (the skylake model) laptop. I'm sorry if this sounds like a banal question but really I could not find ANYTHING about this exact microphone issue. I hope someone can help.
Here's my pacmd list-sources
2 source(s) available.
index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
monitor_of: 0
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 6
properties:
device.description = "Monitor of Built-in Audio Analog Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa4428000 irq 132"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
* index: 1
name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 300000 / 458% / 39.64 dB, front-right: 300000 / 458% / 39.64 dB
balance 0.00
base volume: 6554 / 10% / -60.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC295 Analog"
alsa.id = "ALC295 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa4428000 irq 132"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC295"
alsa.components = "HDA:10ec0295,103c8257,00100002 HDA:80862809,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
active port: <analog-input-mic>
Last edited by Vincintosh (2017-10-13 14:13:23)
Offline
Post output in [ code ] tags, not [ quote ] tags.
What are you using to record? Start recording something, then post, while still recording
sudo fuser -v /dev/snd/*
aplay -lL
amixer -c0
dmesg | grep -iE 'snd|hda'
pacmd list-source-outputs
Online
Hello and thank you for your interest
I'm using arecord (the same command on the arch wiki, just changing the "-d" for the duration) just to test, but I also was using audacity under linux and my girlfriend's feedback over Facebook Messenger lol (i mainly use the built-in microphone for video chat)
I did what you said
fuser
UTENTE PID ACCESSO COMANDO
/dev/snd/controlC0: vincintosh 832 F.... pulseaudio
/dev/snd/pcmC0D0c: vincintosh 832 F...m pulseaudio
aplay
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, ALC295 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 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
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 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
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 61 [70%] [-19.50dB] [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 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
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: 1 [33%] [10.00dB]
Front Right: 1 [33%] [10.00dB]
Simple mixer control 'Mute-LED Mode',0
Capabilities: enum
Items: 'On' 'Off' 'Follow Master'
Item0: 'Follow Master'
dmesg
[ 7.522029] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 9.185568] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC295: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 9.185575] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 9.185580] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 9.185583] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 9.185586] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 9.185591] snd_hda_codec_realtek hdaudioC0D0: Mic=0x19
[ 9.185595] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 9.365116] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[ 9.365151] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[ 9.365179] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[ 9.365215] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 9.365242] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[ 9.365272] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[ 9.365300] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
pacmd
1 source output(s) available.
index: 7
driver: <protocol-native.c>
flags:
state: RUNNING
source: 1 <alsa_input.pci-0000_00_1f.3.analog-stereo>
volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
muted: no
current latency: 0,00 ms
requested latency: 124,99 ms
sample spec: s16le ch 2 44100 Hz
channel map: front-left,front-right
Stereo
resample method: (null)
owner module: 11
client: 15 <ALSA plug-in [aplay]>
properties:
media.name = "ALSA Capture"
application.name = "ALSA plug-in [aplay]"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
application.process.id = "1727"
application.process.user = "vincintosh"
application.process.host = "vincintosh-AX000NL"
application.process.binary = "aplay"
application.language = "it_IT.UTF-8"
window.x11.display = ":0.0"
application.process.machine_id = "2becb06fd3184fb7b7cbfaae9b238462"
application.process.session_id = "c2"
module-stream-restore.id = "source-output-by-application-name:ALSA plug-in [aplay]"
Last edited by Vincintosh (2017-10-13 14:31:21)
Offline
Out of curiosity I also tried on manjaro, but I have the same exact issue! how can this be?
Offline
All possible sorts of causes really, try to rule out a kernel regression by running e.g. linux-lts . Do you remember with which kernel it used to work on Ubuntu.
Online
I don't know why, but after installing audacity on the newly installed system it just started working again for no reason. I guess audacity installed some library... thank you for your suggestion, however: if something brakes, I will definitely try the lts kernel
Offline
Hello, I'm updating this post because I find out what happens: the microphone did not just work randomly the other day but I discovered that if I plug headphones in, the internal mic works, if I unplug headphones, I can't get it to work and it only records white noise. And I mean standard headphones, not those combo headphones with microphone: if I plug one of those, it still only records white noise. Hope this is an useful information, as this issue is driving me crazy.
Also, in pavucontrol, under the input tap when headphones are not plugged in I have this input options: "Internal Microphone (unplugged)" and "Microphone (plugged in)". Instead, when I plug headphones in, I have: "Internal Microphone (unplugged)" and then just "Microphone" which is the channel it can record from. It's like pulseaudio recognized the opposite state of the microphone or something. This is all I can say by my knowledge and I hope this helps someone more experienced than me figure out what can be wrong.
Last edited by Vincintosh (2017-10-17 14:10:51)
Offline