You are not logged in.
Pages: 1
Hi,
Sometime in the recent 10 days my microphone stopped working. Tried my backup mic too and all the hardware ports. All I get is static.
Ideas?
Last edited by Tharbad (2018-09-25 12:37:41)
Offline
Please post some more details. Which application do you use for recording, are your volumes set up correctly, which audio adaptor? What are your outputs for
arecord -lL
dmesg | grep -E 'snd|hda'
#if you use pulse, during a recording attempt
pacmd list-sources
pacmd list-source-outputsOffline
Tried deepin sound recorder and arecord.
arecord:
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, VT2020 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, VT2020 Analog
Front speakers
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0syslog:
kernel: snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
kernel: snd_hda_codec_via hdaudioC0D2: autoconfig for VT2020: line_outs=4 (0x24/0x25/0x26/0x27/0x0) type:line
kernel: snd_hda_codec_via hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_via hdaudioC0D2: hp_outs=1 (0x28/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_via hdaudioC0D2: mono: mono_out=0x0
kernel: snd_hda_codec_via hdaudioC0D2: dig-out=0x2d/0x2e
kernel: snd_hda_codec_via hdaudioC0D2: inputs:
kernel: snd_hda_codec_via hdaudioC0D2: Front Mic=0x29
kernel: snd_hda_codec_via hdaudioC0D2: Rear Mic=0x2b
kernel: snd_hda_codec_via hdaudioC0D2: Line=0x2aThe first pacmd:
2 source(s) available.
* index: 2
name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9039
volume: front-left: 47186 / 72% / -8.56 dB, front-right: 47186 / 72% / -8.56 dB
balance 0.00
base volume: 6368 / 10% / -60.75 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: 1
linked by: 1
configured latency: 10.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "VT2020 Analog"
alsa.id = "VT2020 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 0xf7410000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
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 = "VIA VT2020"
alsa.components = "HDA:11060441,1458a014,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
active port: <analog-input-rear-mic>
index: 42
name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
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 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 2.00 .. 2000.00 ms
monitor_of: 40
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
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 0xf7410000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"The second:
1 source output(s) available.
index: 52
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
source: 2 <alsa_input.pci-0000_00_1b.0.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: 10.00 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
owner module: 10
client: 124 <Deepin Voice Recorder>
properties:
media.name = "Record Stream"
application.name = "Deepin Voice Recorder"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
application.process.id = "20511"
application.process.user = "shay"
application.process.host = "Shay-Main"
application.process.binary = "deepin-voice-recorder"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7d2aad8852f14338b948d338349ad189"
application.process.session_id = "2"
application.icon_name = "deepin-voice-recorder"
module-stream-restore.id = "source-output-by-application-name:Deepin Voice Recorder"Offline
Something strange: Instead of recording the microphone, it's recording the headphone output. There is still static in background .
Offline
Some unrealistic 0ms latency and a relatively high index number. if you run pacmd list-source-outputs a few times during the same recording, does the index number increase? FWIW can you also post, during a recording
amixer -c0
sudo fuser -v /dev/snd/*If this only happened 10 days ago, it might also be a kernel regression, so you might want to either try a kernel from that time, or test with e.g. the LTS kernel.
Offline
Some unrealistic 0ms latency and a relatively high index number. if you run pacmd list-source-outputs a few times during the same recording, does the index number increase? FWIW can you also post, during a recording
amixer -c0 sudo fuser -v /dev/snd/*If this only happened 10 days ago, it might also be a kernel regression, so you might want to either try a kernel from that time, or test with e.g. the LTS kernel.
Index and ms doesn't change. I thought it maybe a gstreamer related
amixer:
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 0 [0%] [-63.00dB] [off]
Front Right: Playback 0 [0%] [-63.00dB] [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',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 42 [100%] [0.00dB] [on]
Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
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: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 42 [100%] [0.00dB] [on]
Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 42
Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 42
Mono:
Front Left: Playback 42 [100%] [0.00dB] [on]
Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 18
Mono: Playback 10 [56%] [0.00dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 31 [100%] [30.00dB] [on]
Front Right: Capture 31 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [off]
Front Right: Capture 0 [0%] [-16.50dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
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 'Dynamic Power-Control',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Independent HP',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line' 'Stereo Mix'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line' 'Stereo Mix'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
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: 2 [67%] [20.50dB]
Front Right: 2 [67%] [20.50dB] USER PID ACCESS COMMAND
/dev/snd/controlC0: <my_user_name> 1132 F.... pulseaudio
/dev/snd/controlC1: <my_user_name> 1132 F.... pulseaudio
/dev/snd/pcmC0D0c: <my_user_name> 1132 F...m pulseaudio
/dev/snd/pcmC0D0p: <my_user_name> 1132 F...m pulseaudioOffline
Hmm one weird thing here is that the Rear Mic Boost is running on full throttle while the actual volume seems to be low/off. Try to lower that and increase the actual control instead (do the same for front mic if that's where you're connected to), it's a bit weird if that turns out to be the issue, as pulseaudio should control these (at least the volume meter, interfering boosts often have to be regulated manually). You should find these in alsamixer -Dhw:0 or use amixer with
amixer -c0 set 'Rear Mic Boost',0 0
amixer -c0 set 'Rear Mic',0 20and so forth.
Offline
Nothing changed. I can only be a kernel issue? Not gstreamer?
Offline
Very unlikely, and you mentioned that arecord had the same behaviour, which will definitely not use gstreamer. FWIW how did you test arecord? if you simply tried arecord, try bypassing pulse and going for direct hardware access
arecord -Dhw:0if that results in the same static, you are pretty much at the lowest feasible level, in which case it is very likely to be a kernel regression.
(Notwithstanding some form of a hardware issue, are you sure you are in the correct jack and that it is properly plugged in? Loose connections are often the cause for weird issues like that)
Last edited by V1del (2018-09-20 16:27:20)
Offline
Just updated the kernel. Nothing changed. could be hardware issue. It's not an high quality mic and this PC is old (5 years).
Offline
An upgrade within a stable branch will usually not have relevantly far reaching effects. Did you use 4.18 already before it stopped working? If you were on 4.17 I'd test with that, or with the LTS kernel. Another potential cause for similar weirdness could be strange UEFI behaviour after e.g. having booted Windows. If that is the case, try running a
alsactl initthat should hopefully reinitialize the card to a default state.
Offline
Didn't work. I'll try the LTS later and report back
Offline
Tried the LTS. Doesn't work. It's probably time to buy new microphone...
@V1del: Thanks for the help!
Offline
Pages: 1