Score:0

External microphone jack not work

hu flag
  • Ubuntu 22.04 (5.19.0-051900-generic)
  • Lenovo Thinkpad P14 gen3 AMD
  • SONY ECM-LV1

enter image description here

cat /proc/asound/card*/codec* | grep Codec
Codec: Realtek ALC257
Codec: ATI R6xx HDMI 

I try to retask jack with hdajackretask but not work

enter image description here

I try some configuration options in /etc/modprobe.d/alsa-base.conf but not work

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel model=thinkpad,dell-headset-multi,dual-codecs,lenovo-spk-noise

cat /etc/modprobe.d/blacklist.conf

# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

Current dmesg status

sudo dmesg | grep err

kern  :info  : [  +0,000002] ACPI: EC: interrupt blocked
kern  :info  : [  +0,000001] ACPI: Using IOAPIC for interrupt routing
kern  :warn  : [  +0,000040] ACPI: \_SB_.PCI0.GP11: Overriding _PRW sleep state (S4) by S0 from power resources
kern  :warn  : [  +0,000040] ACPI: \_SB_.PCI0.GP12: Overriding _PRW sleep state (S4) by S0 from power resources
kern  :warn  : [  +0,000041] ACPI: \_SB_.PCI0.GP19.NHI0: Overriding _PRW sleep state (S3) by S0 from power resources
kern  :warn  : [  +0,000043] ACPI: \_SB_.PCI0.GP19.NHI1: Overriding _PRW sleep state (S3) by S0 from power resources
kern  :info  : [  +0,001686] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
kern  :info  : [  +0,000050] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
kern  :info  : [  +0,000034] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
kern  :info  : [  +0,000047] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
kern  :info  : [  +0,000043] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
kern  :info  : [  +0,000032] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
kern  :info  : [  +0,000031] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
kern  :info  : [  +0,000031] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
kern  :info  : [  +0,002636] ACPI: EC: interrupt unblocked
kern  :info  : [  +0,000006] AMD-Vi: Interrupt remapping enabled
kern  :err   : [  +0,000988] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000232] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000210] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000211] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000209] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000211] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000209] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000205] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000203] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000200] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000197] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000193] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000190] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000186] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000188] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000185] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000180] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000179] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000192] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000177] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000166] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000167] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000167] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000164] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000161] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000161] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000160] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000282] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000181] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000185] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000192] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000190] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000183] blacklist: Problem blacklisting hash (-13)
kern  :err   : [  +0,000300] hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
kern  :err   : [  +0,000508] Dev loop0: unable to read RDB block 8
kern  :err   : [  +0,000126] I/O error, dev loop15, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000398] Buffer I/O error on dev loop15, logical block 0, async page read
kern  :err   : [  +0,000065] I/O error, dev loop16, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000536] Buffer I/O error on dev loop16, logical block 0, async page read
kern  :err   : [  +0,000112] I/O error, dev loop17, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000437] Buffer I/O error on dev loop17, logical block 0, async page read
kern  :err   : [  +0,000142] I/O error, dev loop18, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000428] Buffer I/O error on dev loop18, logical block 0, async page read
kern  :err   : [  +0,000067] I/O error, dev loop19, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000513] Buffer I/O error on dev loop19, logical block 0, async page read
kern  :err   : [  +0,000063] I/O error, dev loop27, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000476] Buffer I/O error on dev loop27, logical block 0, async page read
kern  :err   : [  +0,000282] I/O error, dev loop28, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
kern  :err   : [  +0,000489] Buffer I/O error on dev loop28, logical block 0, async page read
kern  :err   : [  +0,000104] Dev loop33: unable to read RDB block 8
kern  :err   : [  +0,000130] usb 9-1.4.4.4: cannot submit urb (err = -19)
kern  :err   : [  +0,000073] usb 9-1.4.4.4: cannot submit urb 0, error -19: no device
 

sudo dmesg | grep warn

kern  :warn  : [  +0,000290] TSC synchronization [CPU#0 -> CPU#1]:
kern  :warn  : [  +0,000000] Measured 2589611931 cycles TSC warp between CPUs, turning off TSC clock.
kern  :warn  : [  +0,000153]   #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15
kern  :warn  : [  +0,000000] mtrr: your CPUs had inconsistent fixed MTRR settings
kern  :warn  : [  +0,000000] mtrr: your CPUs had inconsistent variable MTRR settings
kern  :warn  : [  +0,000040] ACPI: \_SB_.PCI0.GP11: Overriding _PRW sleep state (S4) by S0 from power resources
kern  :warn  : [  +0,000040] ACPI: \_SB_.PCI0.GP12: Overriding _PRW sleep state (S4) by S0 from power resources
kern  :warn  : [  +0,000041] ACPI: \_SB_.PCI0.GP19.NHI0: Overriding _PRW sleep state (S3) by S0 from power resources
kern  :warn  : [  +0,000043] ACPI: \_SB_.PCI0.GP19.NHI1: Overriding _PRW sleep state (S3) by S0 from power resources
kern  :warn  : [  +0,000363] Expanded resource Reserved due to conflict with PCI Bus 0000:00
kern  :warn  : [  +0,000060] pci 0000:00:00.2: can't derive routing for PCI INT A
kern  :warn  : [  +0,000002] pci 0000:00:00.2: PCI INT A: not connected
kern  :warn  : [  +0,000004] ACPI: thermal: [Firmware Bug]: No valid trip found
kern  :warn  : [  +0,000067] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
kern  :warn  : [  +0,000002] platform eisa.0: EISA: Cannot allocate resource for mainboard
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 1
kern  :warn  : [  +0,000002] platform eisa.0: Cannot allocate resource for EISA slot 2
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 3
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 4
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 5
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 6
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 7
kern  :warn  : [  +0,000001] platform eisa.0: Cannot allocate resource for EISA slot 8
kern  :warn  : [  +0,000235] Unstable clock detected, switching default tracing clock to "global"
kern  :warn  : [  +0,000209] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000023] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000504] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000338] acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000303] acpi PNP0C14:05: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000242] acpi PNP0C14:06: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000291] acpi PNP0C14:07: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
kern  :warn  : [  +0,000085] r8169 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
kern  :warn  : [  +0,000002] loop0: partition table beyond EOD, truncated
kern  :warn  : [  +0,000003] loop33: partition table beyond EOD, truncated
kern  :warn  : [  +0,000809] amdgpu 0000:04:00.0: amdgpu: PSP runtime database doesn't exist
kern  :warn  : [  +0,000002] amdgpu 0000:04:00.0: amdgpu: PSP runtime database doesn't exist
kern  :warn  : [  +0,000112] amdgpu 0000:04:00.0: amdgpu: Unexpected and unhandled version: 3.1
kern  :warn  : [  +0,000549] [drm] DP Alt mode state on HPD: 1
kern  :warn  : [  +0,001069] amdgpu: SRAT table not found
kern  :warn  : [  +0,011836] Bluetooth: hci0: HCI Read Default Erroneous Data Reporting command is advertised, but not supported.
kern  :warn  : [  +0,000003] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
kern  :warn  : [  +0,034712] r8152 10-1.4.4.3:1.0 (unnamed net_device) (uninitialized): Invalid header when reading pass-thru MAC addr
kern  :warn  : [  +0,106545] kauditd_printk_skb: 61 callbacks suppressed
kern  :warn  : [  +0,153310] Bluetooth: hci0: Cannot set wakeable for RPA
kern  :warn  : [  +0,007933] vboxdrv: loading out-of-tree module taints kernel.
kern  :warn  : [  +0,005088] VBoxNetFlt: Successfully started.
kern  :warn  : [  +0,004768] VBoxNetAdp: Successfully started.
kern  :warn  : [  +0,961558] kauditd_printk_skb: 239 callbacks suppressed

alsa-info.sh

http://alsa-project.org/db/?f=ea5f3536c3061a1508f26aac823943ba4eef5d06

On windows machine microphone work.

David avatar
cn flag
Please include all that you have done, the exact commands and any results or error messages. Telling that you did this and that but not what this and that is does not help any one know what may be wrong.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.