View previous topic :: View next topic |
Author |
Message |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Sun Sep 24, 2023 1:41 pm Post subject: [SOLVED] Microphone not working |
|
|
NOTE: I uploaded this thread already on Multimedia but it's the wrong one. I got almost no replies and no real help there & realized that this is some hardware-related issue. Please mods, delete the previous post in Multimedia.
I just configured my ALSA and sound seems to be working pretty well on Gentoo, but there's something weird in my microphone which is that the recording is completely silent even though Gentoo detects my microphone (I guess?), the speaker DOES play other audios downloaded online etc...
Anyway, this is what I've been doing:
Code: | localhost ~ # arecord --list-devices
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
localhost ~ # arecord /tmp/text.wav
Warning: Some sources (like microphones) may produce inaudible results
with 8-bit sampling. Use '-f' to increase resolution
e.g. '-f S16_LE'
Recording WAVE '/tmp/text.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
^CAborted by signal Interrupt...
arecord: pcm_read:2240: read error: Interrupted system call
localhost ~ # mpv /tmp/text.wav
[ffmpeg/demuxer] wav: Estimating duration from bitrate, this may be inaccurate
(+) Audio --aid=1 (pcm_u8 1ch 8000Hz)
AO: [alsa] 96000Hz mono 1ch u8
A: 00:00:16 / 00:00:17 (90%)
[ffmpeg/demuxer] wav: Packet corrupt (stream = 0, dts = NOPTS).
A: 00:00:17 / 00:00:17 (98%)
Exiting... (End of file)
localhost ~ # |
See, recording is only 8000Hz, which I guess is pretty low
asound.state:
Code: | Code:
state.HDMI {
control.1 {
iface CARD
name 'HDMI/DP,pcm=3 Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.2 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.3 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.4 {
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.5 {
iface MIXER
name 'IEC958 Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.6 {
iface PCM
device 3
name ELD
value ''
comment {
access 'read volatile'
type BYTES
count 0
}
}
control.7 {
iface PCM
device 3
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access 'read write'
type INTEGER
count 8
range '0 - 36'
}
}
}
state.Generic {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 74
value.1 74
comment {
access 'read write'
type INTEGER
count 2
range '0 - 74'
dbmin -7400
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Speaker Playback Volume'
value.0 74
value.1 74
comment {
access 'read write'
type INTEGER
count 2
range '0 - 74'
dbmin -7400
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Speaker Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Auto-Mute Mode'
value Enabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.6 {
iface MIXER
name 'Capture Volume'
value.0 80
value.1 80
comment {
access 'read write'
type INTEGER
count 2
range '0 - 80'
dbmin -7400
dbmax 600
dbvalue.0 600
dbvalue.1 600
}
}
control.7 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.8 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.9 {
iface MIXER
name 'Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.10 {
iface MIXER
name 'Master Playback Volume'
value 54
comment {
access 'read write'
type INTEGER
count 1
range '0 - 74'
dbmin -7400
dbmax 0
dbvalue.0 -2000
}
}
control.11 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.12 {
iface CARD
name 'Internal Mic Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.13 {
iface CARD
name 'Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.14 {
iface CARD
name 'Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.15 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.16 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.17 {
iface PCM
name 'Capture Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.18 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '0000000100000008ffffec1400000014'
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.19 {
iface MIXER
name 'Digital Capture Volume'
value.0 60
value.1 60
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 120'
tlv '0000000100000008fffff44800000032'
dbmin -3000
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
}
|
Thanks in advace  _________________ Illegitimi non carborundum.
Last edited by Torpus on Mon Sep 25, 2023 1:39 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55011 Location: 56N 3W
|
Posted: Sun Sep 24, 2023 2:50 pm Post subject: |
|
|
Torpus,
Tell us what sort of microphone you have and how its connected.
If it's an internal mic, it may be on a digital input too. Yes, even though a mic is an analogue device.
/usr/src/linux/Documentation/sound/hd-audio/models.rst may be worth reading as you may need to pass model= to the kernel when snd_hda_intel is loaded. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23184
|
Posted: Sun Sep 24, 2023 3:30 pm Post subject: Re: Microphone not working |
|
|
Torpus wrote: | NOTE: I uploaded this thread already on Multimedia but it's the wrong one. I got almost no replies and no real help there & realized that this is some hardware-related issue. Please mods, delete the previous post in Multimedia. | That is not how we handle this situation. If your post is initially in the wrong forum, you should report it with a request to have it be moved to the correct forum. Reposting is generally discouraged, since that results in multiple threads trying to solve the same problem, and some users may not see both threads.
Additionally, when referencing that you have another thread open, it is helpful to provide a link to that thread so that readers can readily find it. |
|
Back to top |
|
 |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Sun Sep 24, 2023 4:41 pm Post subject: |
|
|
NeddySeagoon,
Obviously it's an internal microphone, I'm using a laptop.
From the LiveUSB:
Code: | lspci | grep -i audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller |
I don't really know which is the mic...
I read /usr/src/linux/Documentation/sound/hd-audio/models.rst but I found no AMD at all
Hu,
I'm sorry for that. Here's the link of the old post, but I think this time it's better for it to be deleted as the new one is getting more replies. _________________ Illegitimi non carborundum. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55011 Location: 56N 3W
|
Posted: Sun Sep 24, 2023 4:56 pm Post subject: |
|
|
Torpus,
It looks like you have two audio devices, maybe three.
I use an external mic with a laptop. Its actually a headset. It sounds much better then the horrible built in sound.
Rule 1 is assume nothing. I spent about 6 hours on IRC helping someone with a sound problem once. We found a kernel issue and fixed it. That was the first 30 min.
Eventually it was traced to not running the kernel we both assumed was in use. Oops.
The only silly question is the one you never ask. :)
Share so we can see all your devices.
What do you have in /proc/asound/devices?
That's a list of all the sound devices known to the kernel.
Its not a given that the internal mic is attached to the same sound card driving the speakers, so that the speakers work says nothing about the mic.
What is the make and model of your laptop?
Others may may have had this issue before.
-- edit --
models.rst talks about CODECS and jack arrangements, not about individual models of laptop.
-- edit --
The duplicate thread has been moved to our Duplicate Threads forum.
Deleting things leads to accusations of censorship and we don't want that. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Sun Sep 24, 2023 5:29 pm Post subject: |
|
|
NeddySeagoon,
>The only silly question is the one you never ask. :)
Haha XD
Here's lpsci from the LiveUSB:
Code: | 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex [1022:1576]
Subsystem: ASUSTeK Computer Inc. Family 15h (Models 60h-6fh) Processor Root Complex [1043:1931]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit [1022:1577]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit [1022:1577]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] [1002:9874] (rev ca)
Subsystem: ASUSTeK Computer Inc. Wani [Radeon R5/R6/R7 Graphics] [1043:1931]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio [1002:9840]
Subsystem: ASUSTeK Computer Inc. Kabini HDMI/DP Audio [1043:1931]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
Kernel driver in use: pcieport
00:08.0 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor [1022:1578]
Subsystem: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor [1022:1578]
00:09.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge [1022:157d]
00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller [1022:157a]
Subsystem: ASUSTeK Computer Inc. Family 15h (Models 60h-6fh) Audio Controller [1043:1931]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7914] (rev 20)
Subsystem: ASUSTeK Computer Inc. FCH USB XHCI Controller [1043:1931]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 49)
Subsystem: ASUSTeK Computer Inc. FCH SATA Controller [AHCI mode] [1043:1931]
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7908] (rev 49)
Subsystem: ASUSTeK Computer Inc. FCH USB EHCI Controller [1043:1931]
Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 4a)
Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller [1043:1931]
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 11)
Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge [1043:1931]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0 [1022:1570]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1 [1022:1571]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2 [1022:1572]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3 [1022:1573]
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4 [1022:1574]
Kernel driver in use: fam15h_power
Kernel modules: fam15h_power
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5 [1022:1575]
01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Blue SN500 / PC SN520 NVMe SSD [15b7:5003] (rev 01)
Subsystem: Sandisk Corp WD Blue SN500 / PC SN520 NVMe SSD [15b7:5003]
Kernel driver in use: nvme
Kernel modules: nvme
02:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
Subsystem: Intel Corporation Wireless 8265 / 8275 [8086:0110]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi |
/proc/asound/devices:
Code: | 1: : sequencer
2: [ 0- 3]: digital audio playback
3: [ 0- 0]: hardware dependent
4: [ 0] : control
5: [ 1- 0]: digital audio playback
6: [ 1- 0]: digital audio capture
7: [ 1- 0]: hardware dependent
8: [ 1] : control
33: : timer |
>What is the make and model of your laptop?
I think it's ASUS A510Q.
>Deleting things leads to accusations of censorship and we don't want that.
Got it. ;) _________________ Illegitimi non carborundum. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55011 Location: 56N 3W
|
Posted: Sun Sep 24, 2023 5:44 pm Post subject: |
|
|
Torpus,
Code: | 00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio [1002:9840]
Subsystem: ASUSTeK Computer Inc. Kabini HDMI/DP Audio [1043:1931]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel |
It the sound card associated with your graphics. It will be used for audio on an external display.
Code: | 00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller [1022:157a]
Subsystem: ASUSTeK Computer Inc. Family 15h (Models 60h-6fh) Audio Controller [1043:1931]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel |
That's your analogue sound card.
You only have a single capture device Code: | 6: [ 1- 0]: digital audio capture | and its on the same card as drives your speakers.
Both are on sound card 1.
So far so good.
What does Code: | grep -i codec: -R /proc/asound/ | say? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Sun Sep 24, 2023 6:32 pm Post subject: |
|
|
NeddySeagoon,
Yeah, there's just a small missing thing as the speakers are working pretty fine.
This is grep -i codec: -R /proc/asound/:
Code: | /proc/asound/HDMI/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: Conexant Generic
/proc/asound/Generic/codec#0:Codec: Conexant Generic |
_________________ Illegitimi non carborundum. |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2823
|
Posted: Sun Sep 24, 2023 6:57 pm Post subject: |
|
|
Hello Torpus,
What kernel do you use? If it is a distribution kernel, is there any chance you can boot an Ubuntu live CD and share the output of lsmod? If you're not running a distribution kernel, can you emerge one and try with it, if it works then share again the output of lsmod?
Also share your laptop model and your kernel config if you tried a custom config.
Best Regards,
Georgi |
|
Back to top |
|
 |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Sun Sep 24, 2023 8:43 pm Post subject: |
|
|
logrusx,
If you haven't seen my other threads then I'm using a kernel which I made myself.
Here's lsmod from a Linux Mint LiveUSB:
Code: | Module Size Used by
ccm 20480 9
zfs 4112384 6
zunicode 348160 1 zfs
zzstd 491520 1 zfs
zlua 163840 1 zfs
zavl 16384 1 zfs
icp 311296 1 zfs
zcommon 106496 2 zfs,icp
znvpair 98304 2 zfs,zcommon
spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl
edac_mce_amd 36864 0
kvm_amd 155648 0
ccp 106496 1 kvm_amd
kvm 1028096 1 kvm_amd
iwlmvm 569344 0
mac80211 1249280 1 iwlmvm
snd_hda_codec_generic 102400 1
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 77824 1
snd_hda_intel 53248 4
joydev 32768 0
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
libarc4 16384 1 mac80211
snd_hda_codec 163840 3 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core 110592 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
iwlwifi 450560 1 iwlmvm
snd_hwdep 16384 1 snd_hda_codec
cfg80211 974848 3 iwlmvm,iwlwifi,mac80211
snd_pcm 143360 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
asus_nb_wmi 28672 0
wmi_bmof 16384 0
input_leds 16384 0
hid_multitouch 32768 0
serio_raw 20480 0
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 49152 1 snd_seq_midi
snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 2 snd_seq,snd_pcm
snd 106496 18 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
fam15h_power 16384 0
asus_wireless 20480 0
mac_hid 16384 0
8250_dw 16384 0
soundcore 16384 1 snd
k10temp 16384 0
sch_fq_codel 20480 1
msr 16384 0
parport_pc 49152 0
ppdev 24576 0
lp 28672 0
parport 69632 3 parport_pc,lp,ppdev
ramoops 32768 0
reed_solomon 28672 1 ramoops
pstore_blk 16384 0
efi_pstore 16384 0
pstore_zone 32768 1 pstore_blk
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 49152 2
overlay 151552 1
isofs 53248 1
xfs 1769472 0
libcrc32c 16384 1 xfs
nls_iso8859_1 16384 1
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
uas 28672 0
usb_storage 77824 4 uas
amdgpu 9867264 16
iommu_v2 24576 1 amdgpu
gpu_sched 45056 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
ttm 86016 2 amdgpu,drm_ttm_helper
drm_kms_helper 311296 1 amdgpu
syscopyarea 16384 1 drm_kms_helper
sysfillrect 20480 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
cec 61440 1 drm_kms_helper
mfd_aaeon 16384 0
crct10dif_pclmul 16384 1
hid_generic 16384 0
asus_wmi 45056 2 asus_nb_wmi,mfd_aaeon
crc32_pclmul 16384 0
ahci 45056 0
rc_core 65536 1 cec
sparse_keymap 16384 1 asus_wmi
nvme 49152 0
ghash_clmulni_intel 16384 0
aesni_intel 376832 6
crypto_simd 16384 1 aesni_intel
platform_profile 16384 1 asus_wmi
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
nvme_core 135168 1 nvme
drm 622592 13 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
libahci 45056 1 ahci
i2c_hid_acpi 16384 0
i2c_piix4 32768 0
xhci_pci 24576 0
i2c_hid 36864 1 i2c_hid_acpi
xhci_pci_renesas 20480 1 xhci_pci
wmi 32768 3 asus_wmi,wmi_bmof,mfd_aaeon
video 65536 1 asus_wmi
hid 151552 3 i2c_hid,hid_multitouch,hid_generic |
On it the microphone works. Firefox detected the mic as "Built-in Audio Analog Stereo".
>If you're not running a distribution kernel, can you emerge one and try with it
I don't think I need to install a binary kernel on Gentoo, I told you that it worked on the LiveUSB.
Again, I use ASUS A510Q.
Here's .config
Hope this helps. _________________ Illegitimi non carborundum. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55011 Location: 56N 3W
|
Posted: Mon Sep 25, 2023 8:33 am Post subject: |
|
|
Torpus,
Your Internal Mic Boost Volume slider is set to the bottom. Try about 70%
Code: | control.8 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
} |
so is Code: | control.9 {
iface MIXER
name 'Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
} | They may even be swapped over.
Code: | control.13 {
iface CARD
name 'Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
} | is probably for an external analogue mic. Play with that too.
Even having this knob, Digital Capture Volume is odd. Like I say, I have known some analogue mics to be on that.
Code: | control.19 {
iface MIXER
name 'Digital Capture Volume'
value.0 60
value.1 60
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 120'
tlv '0000000100000008fffff44800000032'
dbmin -3000
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
} |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Torpus Apprentice


Joined: 20 Aug 2023 Posts: 184
|
Posted: Mon Sep 25, 2023 1:11 pm Post subject: |
|
|
NeddySeagoon,
I installed sof-firmware and marked CONFIG_SND_SOC_SOF_PCI. I checked a microphone test through a website on Gentoo hardware and it works!
BUT... despite that when I did:
Code: | arecord -f S16_LE /tmp/text.wav |
the exact same thing happens with the same messages at first.
I'm saying this because I want to later screen record videos (with ffmpeg I guess).
I think there's something wrong with some software and not the kernel now or ALSA I guess...
Edit: I think I should mark it as solved anyways because, well, it's working now despite the fact that arecord has an issue, I'll take a look at that later. _________________ Illegitimi non carborundum. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|