You are not logged in.
Pages: 1
I have successfully managed to install arch on my Lenovo Yoga 7 Gen 7 https://www.lenovo.com/gb/en/laptops/yo … e.com%252F. I have got most things working except the audio. By the way It runs ryzen 6000 cpu if that makes a difference. Firstly I only get audio out of my front speakers and not both. Secondly, the microphone doesn't work in pavucontrol it just says it's unavailable. If I run
inxi -a
this is what I get
Audio:
Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp6x
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.18.11 running: yes
Sound Server-2: PipeWire v: 0.3.55 running: yes
I run KDE if that helps at all. if you need more info let me know and if anyone can help that would be great.
Last edited by rodude123 (2022-07-14 21:20:41)
Offline
aplay -lL
arecord -l
pactl list cards
pactl list sinks
pactl list sources
would be good for starters
Offline
aplay -lL arecord -l pactl list cards pactl list sinks pactl list sources
would be good for starters
Sorry for the late reply, have been busy, here's the output you wanted.
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
hdmi:CARD=Generic,DEV=1
HD-Audio Generic, HDMI 1
HDMI Audio Output
hdmi:CARD=Generic,DEV=2
HD-Audio Generic, HDMI 2
HDMI Audio Output
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC287 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC287 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC287 Analog [ALC287 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC287 Analog [ALC287 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
pacctl list cards
Card #46
Name: alsa_card.pci-0000_33_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 0x987c8000 irq 128"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:33: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-0000_33_00.1"
device.nick = "HD-Audio Generic"
device.plugged.usec = "2754520"
device.product.id = "0x1640"
device.product.name = "Rembrandt Radeon High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:33: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 = "45"
object.serial = "46"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0x987c8000 irq 128"
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-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)
pro-audio: Pro Audio (sinks: 3, 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, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 2"
device.icon_name = "video-display"
card.profile.port = "1"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 3"
device.icon_name = "video-display"
card.profile.port = "2"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
Card #47
Name: alsa_card.pci-0000_33_00.6
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.card.longname = "HD-Audio Generic at 0x987c0000 irq 129"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "hw:1"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:33:00.6"
device.description = "Family 17h/19h HD Audio Controller"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_33_00.6"
device.nick = "HD-Audio Generic"
device.plugged.usec = "2858237"
device.product.id = "0x15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:33:00.6/sound/card1"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "46"
object.serial = "47"
object.path = "alsa:pcm:1"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0x987c0000 irq 129"
alsa.driver_name = "snd_hda_intel"
device.string = "1"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
Active Profile: output:analog-surround-40
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
Properties:
port.type = "speaker"
port.availability-group = "Legacy 2"
device.icon_name = "audio-speakers"
card.profile.port = "1"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 3"
device.icon_name = "audio-headphones"
card.profile.port = "2"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
pactl list sinks
Sink #56
State: SUSPENDED
Name: alsa_output.pci-0000_33_00.6.analog-surround-40
Description: Family 17h/19h HD Audio Controller Analog Surround 4.0
Driver: PipeWire
Sample Specification: s32le 4ch 48000Hz
Channel Map: front-left,front-right,rear-left,rear-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 52429 / 80% / -5.81 dB, front-right: 52429 / 80% / -5.81 dB, rear-left: 52429 / 80% / -5.81 dB, rear-right: 52429 / 80% / -5.81 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_33_00.6.analog-surround-40.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC287 Analog"
alsa.long_card_name = "HD-Audio Generic at 0x987c0000 irq 129"
alsa.name = "ALC287 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HD-Audio Generic at 0x987c0000 irq 129"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "surround40:1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "4"
audio.position = "FL,FR,RL,RR"
card.profile.device = "5"
device.api = "alsa"
device.class = "sound"
device.id = "46"
device.profile.description = "Analog Surround 4.0"
device.profile.name = "analog-surround-40"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Family 17h/19h HD Audio Controller"
node.name = "alsa_output.pci-0000_33_00.6.analog-surround-40"
node.nick = "ALC287 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:surround40:1:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "34"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "55"
object.serial = "56"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:33:00.6"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_33_00.6"
device.nick = "HD-Audio Generic"
device.plugged.usec = "2858237"
device.product.id = "0x15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:33:00.6/sound/card1"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.string = "1"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
Active Port: analog-output-speaker
Formats:
pcm
pactl list sources
Source #56
State: SUSPENDED
Name: alsa_output.pci-0000_33_00.6.analog-surround-40.monitor
Description: Monitor of Family 17h/19h HD Audio Controller Analog Surround 4.0
Driver: PipeWire
Sample Specification: s32le 4ch 48000Hz
Channel Map: front-left,front-right,rear-left,rear-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB, rear-left: 65536 / 100% / 0.00 dB, rear-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: alsa_output.pci-0000_33_00.6.analog-surround-40
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC287 Analog"
alsa.long_card_name = "HD-Audio Generic at 0x987c0000 irq 129"
alsa.name = "ALC287 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HD-Audio Generic at 0x987c0000 irq 129"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "surround40:1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "4"
audio.position = "FL,FR,RL,RR"
card.profile.device = "5"
device.api = "alsa"
device.class = "monitor"
device.id = "46"
device.profile.description = "Analog Surround 4.0"
device.profile.name = "analog-surround-40"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Family 17h/19h HD Audio Controller"
node.name = "alsa_output.pci-0000_33_00.6.analog-surround-40"
node.nick = "ALC287 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:surround40:1:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "34"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "55"
object.serial = "56"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:33:00.6"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_33_00.6"
device.nick = "HD-Audio Generic"
device.plugged.usec = "2858237"
device.product.id = "0x15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:33:00.6/sound/card1"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.string = "1"
Formats:
pcm
Offline
I am from the Thinkbook 14+ keyboard thread. My internal microphone also doesn't work, I have no other audio problems.
Offline
I am from the Thinkbook 14+ keyboard thread. My internal microphone also doesn't work, I have no other audio problems.
What did you do to fix the main audio issue? Does your laptop have 4 speakers like mine?
Offline
I also tried to use
hdaretask
but I'm not sure what I'm doing there and nothing works still
Also noticed that when I run alsamixer I see this for the front and rear speakers is that normal?
https://i.imgur.com/g0aTbNW.png
Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code
Last edited by Slithery (2022-08-29 13:31:15)
Offline
After some more investigative debugging, I discovered that the audio codec is actually ALC3306 according to https://psref.lenovo.com/Product/Yoga_7_14ARB7?tab=spec. Now how do I change the codec? I looked at this page in the wiki https://wiki.archlinux.org/title/Advanc … ing_codecs and tried adding an
alsa_base.conf
which then didn't work. Please tell me what I'm doing wrong. I really want to get my audio driver working properly. Thank you!
Offline
What did you do to fix the main audio issue? Does your laptop have 4 speakers like mine?
My speakers just worked with no extra configuration
Offline
rodude123 wrote:What did you do to fix the main audio issue? Does your laptop have 4 speakers like mine?
My speakers just worked with no extra configuration
oh well looks like I need to do some more fiddling around. If you can do you mind telling me what codec you're using
Offline
It says ALC257 from arecord. Lenovo lists ALC3287. Is ALC257 the audio jack microphone instead of the internal one?
https://psref.lenovo.com/Product/ThinkB … A?tab=spec
arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Offline
ALC257 is for both the internal and external, either Lenovo is mislabeling them or there is something else wrong with the codec
Offline
I have slim 7 pro x (ryzen) and my speakers work fine but the mic indeed is not showing up in gnome settings as a selectable option:
arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Offline
The input sources from a PA perspective are not available, but you can technically force that with e.g.
pactl set-card-profile alsa_card.pci-0000_33_00.6 output:analog-surround-40+input:analog-stereo
that should give you a mic in gnomes software center does that work? Does the mic in general work
arecord -Dhw:1 -r44100 test.wav
and try to play that back work?
Offline
arecord -Dhw:1 -r44100 test.wav
Warning: Some sources (like microphones) may produce inaudible results
with 8-bit sampling. Use '-f' argument to increase resolution
e.g. '-f S16_LE'.
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 44100 Hz, Mono
arecord: set_params:1390: Sample format non available
Available formats:
- S16_LE
- S32_LE
arecord -Dhw:1 test.wav
Warning: Some sources (like microphones) may produce inaudible results
with 8-bit sampling. Use '-f' argument to increase resolution
e.g. '-f S16_LE'.
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:1390: Sample format non available
Available formats:
- S16_LE
- S32_LE
pactl set-card-profile alsa_card.pci-0000_33_00.6 output:analog-surround-40+input:analog-stereo
Failure: No such entity
here's the sources..
pactl list sources
Source #51
State: IDLE
Name: alsa_output.pci-0000_03_00.6.analog-stereo.monitor
Description: Monitor of Family 17h/19h HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor of Sink: alsa_output.pci-0000_03_00.6.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC257 Analog"
alsa.long_card_name = "HD-Audio Generic at 0x808c0000 irq 107"
alsa.name = "ALC257 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HD-Audio Generic at 0x808c0000 irq 107"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "front:1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "3"
device.api = "alsa"
device.class = "monitor"
device.id = "40"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Family 17h/19h HD Audio Controller"
node.name = "alsa_output.pci-0000_03_00.6.analog-stereo"
node.nick = "ALC257 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:front:1:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "50"
object.serial = "51"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:03:00.6"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_03_00.6"
device.nick = "HD-Audio Generic"
device.plugged.usec = "3464344"
device.product.id = "0x15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.string = "1"
Formats:
pcm
sinks
pactl list sinks
Sink #51
State: SUSPENDED
Name: alsa_output.pci-0000_03_00.6.analog-stereo
Description: Family 17h/19h HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 18355 / 28% / -33.16 dB, front-right: 18355 / 28% / -33.16 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_03_00.6.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC257 Analog"
alsa.long_card_name = "HD-Audio Generic at 0x808c0000 irq 107"
alsa.name = "ALC257 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HD-Audio Generic at 0x808c0000 irq 107"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.path = "front:1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "3"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Family 17h/19h HD Audio Controller"
node.name = "alsa_output.pci-0000_03_00.6.analog-stereo"
node.nick = "ALC257 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:front:1:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "32"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "50"
object.serial = "51"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:03:00.6"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_03_00.6"
device.nick = "HD-Audio Generic"
device.plugged.usec = "3464344"
device.product.id = "0x15e3"
device.product.name = "Family 17h/19h HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
device.vendor.id = "0x1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.string = "1"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 3, not available)
Active Port: analog-output-speaker
Formats:
pcm
Offline
Well try following the arecord warning, or alternatively
parec -d alsa_output.pci-0000_03_00.6.analog-stereo --file-format=wav test.wav
Offline
I did follow the warnings and it didn't help. parec is silence as well.
Offline
https://bbs.archlinux.org/viewtopic.php?pid=2056452 posted by someone else appears to be the same issue
Offline
A solution using the acp6x driver has just been posted here
Offline
Note that the solution also requires you to add your device to a quirks table and recompile your kernel, as outlined in my later post, and disable ALSA UCM for now. If your device is different from the Slim 7 Pro X, you should also report it upstream so that this gets included in future kernel versions.
Offline
After updating to Linux 6.1, the internal mic just started working.
Offline
I am having the exact same issue I think.
$ sudo lshw -class multimedia
*-multimedia
description: Audio device
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
logical name: card0
logical name: /dev/snd/controlC0
logical name: /dev/snd/hwC0D0
logical name: /dev/snd/pcmC0D3p
logical name: /dev/snd/pcmC0D7p
logical name: /dev/snd/pcmC0D8p
logical name: /dev/snd/pcmC0D9p
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:80 memory:fc080000-fc083fff
*-multimedia:0
description: Audio device
product: Renoir Radeon High Definition Audio Controller
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0.1
bus info: pci@0000:04:00.1
logical name: card1
logical name: /dev/snd/controlC1
logical name: /dev/snd/hwC1D0
logical name: /dev/snd/pcmC1D3p
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:83 memory:fc5c8000-fc5cbfff
*-multimedia:1 UNCLAIMED
description: Multimedia controller
product: ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 0.5
bus info: pci@0000:04:00.5
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi cap_list
configuration: latency=0
resources: memory:fc580000-fc5bffff
*-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@0000:04:00.6
logical name: card2
logical name: /dev/snd/controlC2
logical name: /dev/snd/hwC2D0
logical name: /dev/snd/pcmC2D0c
logical name: /dev/snd/pcmC2D0p
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:84 memory:fc5c0000-fc5c7fff
I also tried to see the if there were any message in dmesg for this device with
$ sudo dmesg | grep '\(acp6x\|DMIC\)'
but the there was no output of this command. All this while i was thinking that this ALC285 is my laptop's internal microphone but someone else here https://bbs.archlinux.org/viewtopic.php?id=278886 pointed it out that this may be speakers or jack or hdmi so i was may be barking up the wrong tree this whole time and my internal microphone may not have even loaded up by the kernel I am still not 100% sure that this is the reason for my problem. I created a post for this issue here https://bbs.archlinux.org/viewtopic.php?id=298290. PS my laptop is ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401IHR_GA401IHR
$ uname -a
Linux dusty 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux
i am even on kernel 6.10 but i think there is no patch for my laptop
Offline
Pages: 1