You are not logged in.

#1 2022-05-13 11:40:48

Perkel
Member
Registered: 2022-05-13
Posts: 5

Laptop speakers not working with PulseAudio nor PipeWire

Hey guys,
so after browsing every article on DuckDuckGo, all my hopes disappeared. So, I'm posting here.
I've recently moved from Manjaro to Arch on my Acer Aspire 5 laptop, and the only issue I'm facing right now, is not working laptop speakers/headphones jack (other audio inputs/outputs are working, even the integrated laptop mic). When I tried speaker-test before installing PulseAudio/PipeWire, sound was working. Unfortunatelly, now it does not work. Attaching:

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pacmd list-cards

1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "TGL-AspireA515_56-V1.26-Iris_TL"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.string = "0"
                device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                HiFi: Play HiFi quality Music (priority 40768, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <HiFi>
        sinks:
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
        sources:
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
                alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
                alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
                alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
        ports:
                [Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
                        properties:

                [Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
                        properties:

                [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
                        properties:

                [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
                        properties:

                [In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
                        properties:

                [In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
                        properties:

pacmd list-sinks

4 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: APPLICATION|IDLE
        priority: 9037
        volume: front-left: 15907 /  24% / -36.89 dB,   front-right: 15907 /  24% / -36.89 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI3 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "5"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "TGL-AspireA515_56-V1.26-Iris_TL"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.string = "_ucm0001.hw:sofhdadsp,5"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "16384"
                device.access_mode = "mmap+timer"
                device.profile.name = "HiFi: hw:sofhdadsp,5: sink"
                device.profile.description = "HDMI / DisplayPort 3 Output"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                [Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
                        properties:

        active port: <[Out] HDMI3>
    index: 1
        name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: APPLICATION|IDLE
        priority: 9036
        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 request: 0 KiB
        max rewind: 0 KiB
        monitor source: 1
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI2 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "4"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "TGL-AspireA515_56-V1.26-Iris_TL"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.string = "_ucm0001.hw:sofhdadsp,4"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "16384"
                device.access_mode = "mmap+timer"
                device.profile.name = "HiFi: hw:sofhdadsp,4: sink"
                device.profile.description = "HDMI / DisplayPort 2 Output"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                [Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
                        properties:

        active port: <[Out] HDMI2>
    index: 2
        name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: APPLICATION|IDLE
        priority: 9035
        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 request: 0 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDMI1 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "TGL-AspireA515_56-V1.26-Iris_TL"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.string = "_ucm0001.hw:sofhdadsp,3"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "16384"
                device.access_mode = "mmap+timer"
                device.profile.name = "HiFi: hw:sofhdadsp,3: sink"
                device.profile.description = "HDMI / DisplayPort 1 Output"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                [Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
                        properties:

        active port: <[Out] HDMI1>
  * index: 3
        name: <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: APPLICATION|IDLE
        priority: 9032
        volume: front-left: 6554 /  10% / -60.00 dB,   front-right: 6554 /  10% / -60.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 3
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
        card: 0 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "HDA Analog (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "sof-hda-dsp"
                alsa.long_card_name = "TGL-AspireA515_56-V1.26-Iris_TL"
                alsa.driver_name = "snd_soc_skl_hda_dsp"
                device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.string = "_ucm0001.hw:sofhdadsp"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "16384"
                device.access_mode = "mmap+timer"
                device.profile.name = "HiFi: hw:sofhdadsp: sink"
                device.profile.description = "Speaker + Headphones"
                alsa.mixer_device = "_ucm0001.hw:sofhdadsp"
                device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
                        properties:

                [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
                        properties:

        active port: <[Out] Speaker>

Thanks for any advice.

Last edited by Perkel (2022-05-13 13:36:08)

Offline

#2 2022-05-13 11:53:28

dogknowsnx
Member
Registered: 2021-04-12
Posts: 367

Re: Laptop speakers not working with PulseAudio nor PipeWire

Does post #2 help?
EDIT: Also...

Last edited by dogknowsnx (2022-05-13 13:05:50)


Wayland.

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#3 2022-05-13 13:35:09

Perkel
Member
Registered: 2022-05-13
Posts: 5

Re: Laptop speakers not working with PulseAudio nor PipeWire

Unfortunatelly it didn't. I should have mentioned two things:
- other audio devices works just fine (e.g. my bluetooth headset)
- as you can see from aplay, for some reason there are 3 HDMI outputs - my laptop has only one HDMI port

I believe that this issue is a mix of wrong drivers & configuration.

Offline

#4 2022-05-13 14:02:26

progandy
Member
Registered: 2012-05-17
Posts: 5,023

Re: Laptop speakers not working with PulseAudio nor PipeWire

It is a sof device, so have you made sure to install sof-firmware? I can't think of a reason why that would cause a difference between pipewire and alsa, but check it anyways.

Last edited by progandy (2022-05-13 14:03:35)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2022-05-13 14:18:59

Perkel
Member
Registered: 2022-05-13
Posts: 5

Re: Laptop speakers not working with PulseAudio nor PipeWire

progandy wrote:

It is a sof device, so have you made sure to install sof-firmware? I can't think of a reason why that would cause a difference between pipewire and alsa, but check it anyways.

Yes, I've installed it when I was installing Arch itself.

Offline

#6 2022-05-21 07:40:34

Perkel
Member
Registered: 2022-05-13
Posts: 5

Re: Laptop speakers not working with PulseAudio nor PipeWire

So after a bit of a hassle, I was able to sorta fix the audio, by putting this line in /etc/modprobe.d/audiofix.conf (which apparently enables some sort of legacy mode):

options snd-hda-intel dmic_detect=0

Now the speakers do work, but I have for some reason 15 sound outputs, all labeled "Built-in Audio Pro XX" (where XX is some number). I've read that the snd-hda-intel option "model" could fix that, but I wasn't able to find any kind of model list anywhere on the internet. Does anyone know where I could find one? I have an Acer Aspire A515-56.

Last edited by Perkel (2022-05-21 08:12:27)

Offline

#7 2022-05-23 14:11:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,159

Re: Laptop speakers not working with PulseAudio nor PipeWire

You "should" be able to just switch away from the Pro Profile, unless none of the others are marked as available? What's your

pactl list cards

now?

Offline

#8 2022-05-27 08:44:29

Perkel
Member
Registered: 2022-05-13
Posts: 5

Re: Laptop speakers not working with PulseAudio nor PipeWire

V1del wrote:

You "should" be able to just switch away from the Pro Profile, unless none of the others are marked as available? What's your

pactl list cards

now?

I've switched to PipeWire & WirePlumber. Below is the output of pw-cli list-objects Device:

        id 40, type PipeWire:Interface:Device/3
                object.serial = "40"
                factory.id = "14"
                client.id = "32"
                device.api = "v4l2"
                device.description = "HD User Facing"
                device.name = "v4l2_device.pci-0000_00_14.0-usb-0_8_1.0"
                media.class = "Video/Device"
        id 41, type PipeWire:Interface:Device/3
                object.serial = "41"
                factory.id = "14"
                client.id = "32"
                device.api = "v4l2"
                device.description = "HD User Facing"
                device.name = "v4l2_device.pci-0000_00_14.0-usb-0_8_1.0.2"
                media.class = "Video/Device"
        id 42, type PipeWire:Interface:Device/3
                object.serial = "42"
                factory.id = "14"
                client.id = "32"
                device.api = "alsa"
                device.description = "Built-in Audio"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.nick = "HDA Intel PCH"
                media.class = "Audio/Device"

Also, I'm using KDE Plasma, and the integrated audio manager isn't showing me other profile than "Pro Audio" and "None".

Last edited by Perkel (2022-05-27 08:45:36)

Offline

Board footer

Powered by FluxBB