Re: Thinkpad x13 AMD Ryzen microphone not working in Debian Bookworm

2023-12-11 Thread Jiri Kanicky
I found out that when I plugin a headset the microphone works. So it 
seems that this is related only to the internal microphone.


*-multimedia:2
   description: Audio device
   product: Family 17h/19h HD Audio Controller
   vendor: Advanced Micro Devices, Inc. [AMD]
   physical id: 0.6
   bus info: pci@:c3:00.6
   logical name: card1
   logical name: /dev/snd/controlC1
   logical name: /dev/snd/hwC1D0
   logical name: /dev/snd/pcmC1D0c
   logical name: /dev/snd/pcmC1D0p
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: bus_master cap_list
   configuration: driver=snd_hda_intel latency=0
   resources: irq:107 memory:905c-905c7fff
 *-input:0
  product: HDA Digital PCBeep
  physical id: 0
  logical name: input15
  logical name: /dev/input/event13
  capabilities: pci
 *-input:1
  product: HD-AudioGeneric Mic
  physical id: 1
  logical name: input19
  logical name: /dev/input/event14
 *-input:2
  product: HD-AudioGeneric Headphone
  physical id: 2
  logical name: input20
  logical name: /dev/input/event15

Jiri
--

On 10/12/23 20:30, Jiri Kanicky wrote:


I have installed Debian Bookworm on X13 with AMD Ryzen 7840U and 
microphone is not working. It shows inactive.


I use KDE and installed pipewire. The mic did not work since base install.

Any advise?

$ inxi -A Audio: Device-1: AMD Rembrandt Radeon High Definition Audio 
driver: snd_hda_intel Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor 
driver: N/A Device-3: AMD Family 17h/19h HD Audio driver: 
snd_hda_intel API: ALSA v: k6.5.0-0.deb12.1-amd64 status: kernel-api 
Server-1: PipeWire v: 0.3.65 status: active $ inxi CPU: 8-core AMD 
Ryzen 7 PRO 7840U w/ Radeon 780M Graphics (-MT MCP-) speed/min/max: 
1337/400/5132:6076:5605:5289:5447:5760:5918 MHz Kernel: 
6.5.0-0.deb12.1-amd64 x86_64 Up: 6m Mem: 4206.1/30781.0 MiB (13.7%) 
Storage: 476.94 GiB (3.3% used) Procs: 370 Shell: Bash inxi: 3.3.26

$ pactl list cards
Card #44
     Name: alsa_card.pci-_c3_00.1
     Driver: alsa
     Owner Module: n/a
     Properties:
     api.acp.auto-port = "false"
     api.acp.auto-profile = "false"
     api.alsa.card = "0"
     api.alsa.card.longname = "HD-Audio Generic at 0x905c8000 irq 
106"
     api.alsa.card.name = "HD-Audio Generic"
     api.alsa.path = "hw:0"
     api.alsa.use-acp = "true"
     api.dbus.ReserveDevice1 = "Audio0"
     device.api = "alsa"
     device.bus = "pci"
     device.bus_path = "pci-:c3:00.1"
     device.description = "Rembrandt Radeon High Definition Audio 
Controller"
     device.enum.api = "udev"
     device.icon_name = "audio-card-analog-pci"
     device.name = "alsa_card.pci-_c3_00.1"
     device.nick = "HD-Audio Generic"
     device.plugged.usec = "5163628"
     device.product.id = "0x1640"
     device.product.name = "Rembrandt Radeon High Definition Audio 
Controller"
     device.subsystem = "sound"
     sysfs.path = 
"/devices/pci:00/:00:08.1/:c3:00.1/sound/card0"
     device.vendor.id = "0x1002"
     device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
     media.class = "Audio/Device"
     factory.id = "14"
     client.id = "34"
     object.id = "44"
     object.serial = "44"
     object.path = "alsa:pcm:0"
     alsa.card = "0"
     alsa.card_name = "HD-Audio Generic"
     alsa.long_card_name = "HD-Audio Generic at 0x905c8000 irq 106"
     alsa.driver_name = "snd_hda_intel"
     device.string = "0"
     Profiles:
     off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
     output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, 
sources: 0, priority: 5900, available: no)
     output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
     output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
     output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
     output:hdmi-surround: Digital Surround 5.1 (HDMI) Output 
(sinks: 1, sources: 0, priority: 800, available: no)
     

Thinkpad x13 AMD Ryzen microphone not working in Debian Bookworm

2023-12-10 Thread Jiri Kanicky
I have installed Debian Bookworm on X13 with AMD Ryzen 7840U and 
microphone is not working. It shows inactive.


I use KDE and installed pipewire. The mic did not work since base install.

Any advise?

$ inxi -A Audio: Device-1: AMD Rembrandt Radeon High Definition Audio 
driver: snd_hda_intel Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor 
driver: N/A Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel 
API: ALSA v: k6.5.0-0.deb12.1-amd64 status: kernel-api Server-1: 
PipeWire v: 0.3.65 status: active $ inxi CPU: 8-core AMD Ryzen 7 PRO 
7840U w/ Radeon 780M Graphics (-MT MCP-) speed/min/max: 
1337/400/5132:6076:5605:5289:5447:5760:5918 MHz Kernel: 
6.5.0-0.deb12.1-amd64 x86_64 Up: 6m Mem: 4206.1/30781.0 MiB (13.7%) 
Storage: 476.94 GiB (3.3% used) Procs: 370 Shell: Bash inxi: 3.3.26


$ pactl list cards
Card #44
    Name: alsa_card.pci-_c3_00.1
    Driver: alsa
    Owner Module: n/a
    Properties:
    api.acp.auto-port = "false"
    api.acp.auto-profile = "false"
    api.alsa.card = "0"
    api.alsa.card.longname = "HD-Audio Generic at 0x905c8000 irq 
106"
    api.alsa.card.name = "HD-Audio Generic"
    api.alsa.path = "hw:0"
    api.alsa.use-acp = "true"
    api.dbus.ReserveDevice1 = "Audio0"
    device.api = "alsa"
    device.bus = "pci"
    device.bus_path = "pci-:c3:00.1"
    device.description = "Rembrandt Radeon High Definition Audio 
Controller"
    device.enum.api = "udev"
    device.icon_name = "audio-card-analog-pci"
    device.name = "alsa_card.pci-_c3_00.1"
    device.nick = "HD-Audio Generic"
    device.plugged.usec = "5163628"
    device.product.id = "0x1640"
    device.product.name = "Rembrandt Radeon High Definition Audio 
Controller"
    device.subsystem = "sound"
    sysfs.path = 
"/devices/pci:00/:00:08.1/:c3:00.1/sound/card0"
    device.vendor.id = "0x1002"
    device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
    media.class = "Audio/Device"
    factory.id = "14"
    client.id = "34"
    object.id = "44"
    object.serial = "44"
    object.path = "alsa:pcm:0"
    alsa.card = "0"
    alsa.card_name = "HD-Audio Generic"
    alsa.long_card_name = "HD-Audio Generic at 0x905c8000 irq 106"
    alsa.driver_name = "snd_hda_intel"
    device.string = "0"
    Profiles:
    off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, 
sources: 0, priority: 5900, available: no)
    output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
    output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
    output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output 
(sinks: 1, sources: 0, priority: 5700, available: no)
    output:hdmi-surround: Digital Surround 5.1 (HDMI) Output 
(sinks: 1, sources: 0, priority: 800, available: no)
    output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output 
(sinks: 1, sources: 0, priority: 800, available: no)
    output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) 
Output (sinks: 1, sources: 0, priority: 600, available: no)
    pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, 
available: yes)
    Active Profile: off
    Ports:
    hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, 
latency offset: 0 usec, availability group: Legacy 1, not available)
    Properties:
    port.type = "hdmi"
    port.availability-group = "Legacy 1"
    device.icon_name = "video-display"
    card.profile.port = "0"
    Part of profile(s): output:hdmi-stereo,