View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
Joined: 22 Feb 2005 Posts: 637
|
Posted: Mon Sep 20, 2021 7:47 am Post subject: [solved] Internal speakers not working (device not listed) |
|
|
I almost always use a bluetooth headset or a bluetooth speaker with my Lenovo T14 AMD (Gen 1). I recently wanted to use the internal speaker. However, I did not find the audio device for it and could not play any audio.
When looking with what Alsa sees with `aplay -L`, I get
Code: | null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
usbstream:CARD=acp
acp
USB Stream Output
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
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC257 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC257 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic_1
HD-Audio Generic
USB Stream Output |
When looking at what PulseAudio sees with `pacmd list-sources`, I get
Code: | 4 source(s) available.
* index: 0
name: <alsa_input.pci-0000_07_00.5-platform-acp_pdm_mach.0.multichannel-input>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
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: s32le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 0,00 ms; range is 0,50 .. 85,33 ms
card: 1 <alsa_card.pci-0000_07_00.5-platform-acp_pdm_mach.0>
module: 7
properties:
alsa.resolution_bits = "32"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = ""
alsa.id = "DMIC capture dmic-hifi-0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "acp"
alsa.long_card_name = "acp"
alsa.driver_name = "snd_acp3x_rn"
device.bus_path = "pci-0000:07:00.5-platform-acp_pdm_mach.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.5/acp_pdm_mach.0/sound/card0"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e2"
device.product.name = "Raven/Raven2/FireFlight/Renoir Audio Processor"
device.string = "hw:0"
device.buffering.buffer_size = "32768"
device.buffering.fragment_size = "8192"
device.access_mode = "mmap+timer"
device.profile.name = "multichannel-input"
device.profile.description = "Multichannel"
device.description = "Raven/Raven2/FireFlight/Renoir Audio Processor Multichannel"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
properties:
active port: <multichannel-input>
index: 1
name: <alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_8__sink.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: 2 KiB
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 1837,33 ms; range is 0,50 .. 1837,33 ms
monitor_of: 0
card: 2 <alsa_card.pci-0000_07_00.6>
module: 8
properties:
device.description = "Monitor of Family 17h (Models 10h-1fh) HD Audio Controller HDMI3 Output"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c0000 irq 110"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
index: 2
name: <alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_7__sink.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
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: 0,00 ms; range is 0,50 .. 1999,82 ms
monitor_of: 1
card: 2 <alsa_card.pci-0000_07_00.6>
module: 8
properties:
device.description = "Monitor of Family 17h (Models 10h-1fh) HD Audio Controller HDMI2 Output"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c0000 irq 110"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
index: 3
name: <alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_3__sink.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
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: 0,00 ms; range is 0,50 .. 1999,82 ms
monitor_of: 2
card: 2 <alsa_card.pci-0000_07_00.6>
module: 8
properties:
device.description = "Monitor of Family 17h (Models 10h-1fh) HD Audio Controller HDMI1 Output"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c0000 irq 110"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.6/sound/card2"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci" |
So it seems PulseAudio does not see “ALC257 Analog” for some reason. I have a custom kernel, so I may be missing a module, but the fact that Alsa sees more than PulseAudio gives me the impression the issue lies at that interface. Anyone have a clue?
Last edited by equaeghe on Tue Oct 26, 2021 9:11 pm; edited 1 time in total |
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 250
|
Posted: Mon Sep 20, 2021 10:57 am Post subject: |
|
|
In pulseaudio you need a 'sink' to play to, please check 'pactl list sinks' instead. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 637
|
Posted: Mon Sep 20, 2021 11:12 am Post subject: |
|
|
garrison wrote: | In pulseaudio you need a 'sink' to play to, please check 'pactl list sinks' instead. |
Ah, of course! (Note that the list of sources may also be of interest, as it shows that there is a source with no corresponding sink, although I do not know how the internal microphones are wired exactly.)
Code: | Sink #1
State: SUSPENDED
Name: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_8__sink
Description: Family 17h (Models 10h-1fh) HD Audio Controller HDMI3 Output
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 10
Mute: no
Volume: front-left: 45875 / 70% / -9,29 dB, front-right: 45875 / 70% / -9,29 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_8__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 2"
alsa.id = "HDMI 2"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "8"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 109"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.string = "hw:Generic,8"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:Generic,8: sink"
device.profile.description = "HDMI3 Output"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller HDMI3 Output"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Poorten:
[Out] HDMI3: HDMI3 Output (priority: 1300)
Actieve poort: [Out] HDMI3
Formats:
pcm
Sink #2
State: SUSPENDED
Name: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_7__sink
Description: Family 17h (Models 10h-1fh) HD Audio Controller HDMI2 Output
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 10
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 Source: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_7__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 1"
alsa.id = "HDMI 1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "7"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 109"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.string = "hw:Generic,7"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:Generic,7: sink"
device.profile.description = "HDMI2 Output"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller HDMI2 Output"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Poorten:
[Out] HDMI2: HDMI2 Output (priority: 1200)
Actieve poort: [Out] HDMI2
Formats:
pcm
Sink #3
State: SUSPENDED
Name: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_3__sink
Description: Family 17h (Models 10h-1fh) HD Audio Controller HDMI1 Output
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 10
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 Source: alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_3__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 109"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1637"
device.string = "hw:Generic,3"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:Generic,3: sink"
device.profile.description = "HDMI1 Output"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller HDMI1 Output"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Poorten:
[Out] HDMI1: HDMI1 Output (priority: 1100)
Actieve poort: [Out] HDMI1
Formats:
pcm |
|
|
Back to top |
|
|
garrison Apprentice
Joined: 18 Mar 2003 Posts: 250
|
Posted: Mon Sep 20, 2021 11:27 am Post subject: |
|
|
Here is recent Gentoo bug investigation around similar issue on amd lenovo t14 laptop https://bugs.gentoo.org/797658
It worked in the end after required alsa options were enabled in kernel configuration, and all alsa drivers were built as modules (i.e. CONFIG_SND=m and below)
Looking at 'pa-info' output may help you finding any issues, pay attention to cards recognized by alsa and to dmesg. If you need help, share pa-info output. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 637
|
Posted: Tue Oct 26, 2021 9:10 pm Post subject: |
|
|
Upgrading to Pulseaudio 15 fixes things. See Bug 820146. |
|
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
|
|