You are not logged in.

#1 2024-03-01 13:56:17

ngochai
Member
From: Singapore
Registered: 2011-04-06
Posts: 11
Website

Pipewire no sound from speakers but headphones

I have a Dell Latitude 9440 using with built-in sound card and speakers, and the problem is there is no sound from the built-in speakers but the headphones is working fine.
I have installed sof-firmware, as you can see from lspci, the sound card is "00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)"
For some reasons pactl shows analog-output-speaker port is ALWAYS "not available" and "analog-output-headphones" is ALWAYS available even when there's nothing connected to it.
Any help would be much appreciated.

lspci

[ngochai@latitude9440 ~]$ lspci
00:00.0 Host bridge: Intel Corporation Raptor Lake-P 6p+8e cores Host Bridge/DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant
00:05.0 Multimedia controller: Intel Corporation Device a75d
00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port
00:07.0 PCI bridge: Intel Corporation Raptor Lake-P Thunderbolt 4 PCI Express Root Port #0
00:07.1 PCI bridge: Intel Corporation Device a73f
00:07.2 PCI bridge: Intel Corporation Raptor Lake-P Thunderbolt 4 PCI Express Root Port #2
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module
00:0a.0 Signal processing controller: Intel Corporation Raptor Lake Crashlog and Telemetry (rev 01)
00:0d.0 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 USB Controller
00:0d.2 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #0
00:0d.3 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #1
00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated Sensor Hub (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:16.3 Serial controller: Intel Corporation Alder Lake AMT SOL Redirection (rev 01)
00:19.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51bc (rev 01)
00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01)
00:1e.3 Serial bus controller: Intel Corporation Alder Lake SPI Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. FORESEE XP2000, Lexar NM760 NVME SSD (DRAM-less) (rev 03)
80:00.0 SNIA Smart Data Accelerator Interface (SDXI) controller: Intel Corporation Device 6240

aplay -lL

[ngochai@latitude9440 ~]$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=sofsoundwire
    sof-soundwire,
    Default Audio Device
usbstream:CARD=sofsoundwire
    sof-soundwire
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 0: Jack Out (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pactl list sinks

[ngochai@latitude9440 ~]$ pactl list sinks
Sink #47
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3-platform-sof_sdw.stereo-fallback
        Description: Raptor Lake-P/U/H cAVS Stereo
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 32800 /  50% / -18.04 dB,   front-right: 32800 /  50% / -18.04 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_1f.3-platform-sof_sdw.stereo-fallback.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
        Properties:
                alsa.card = "0"
                alsa.card_name = "sof-soundwire"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_soc_sof_sdw"
                alsa.id = "Jack Out (*)"
                alsa.long_card_name = "Intel Soundwire SOF"
                alsa.name = ""
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "Intel Soundwire SOF"
                api.alsa.card.name = "sof-soundwire"
                api.alsa.path = "hw:0"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "7"
                device.api = "alsa"
                device.class = "sound"
                device.id = "42"
                device.profile.description = "Stereo"
                device.profile.name = "stereo-fallback"
                device.routes = "2"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Raptor Lake-P/U/H cAVS"
                node.name = "alsa_output.pci-0000_00_1f.3-platform-sof_sdw.stereo-fallback"
                node.nick = "Stereo"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:0:hw:0:playback"
                priority.driver = "1000"
                priority.session = "1000"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "35"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "47"
                object.serial = "47"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3-platform-sof_sdw"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3-platform-sof_sdw"
                device.nick = "sof-soundwire"
                device.plugged.usec = "5848350"
                device.product.id = "0x51ca"
                device.product.name = "Raptor Lake-P/U/H cAVS"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.string = "0"
        Ports:
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, not available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 1, available)
        Active Port: analog-output-headphones
        Formats:
                pcm

lsmod

[ngochai@latitude9440 ~]$ lsmod
Module                  Size  Used by
rfcomm                102400  4
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
typec_displayport      20480  1
ccm                    20480  6
algif_aead             12288  0
crypto_null            16384  1 algif_aead
des3_ede_x86_64        45056  0
cbc                    12288  0
des_generic            12288  0
libdes                 20480  2 des_generic,des3_ede_x86_64
algif_skcipher         12288  1
cmac                   12288  3
md4                    12288  0
bnep                   36864  2
algif_hash             12288  1
af_alg                 36864  7 algif_hash,algif_skcipher,algif_aead
hid_sensor_custom_intel_hinge    12288  0
hid_sensor_incl_3d     16384  0
hid_sensor_als         16384  0
hid_sensor_accel_3d    16384  0
hid_sensor_magn_3d     20480  0
hid_sensor_rotation    16384  0
hid_sensor_gyro_3d     16384  0
hid_sensor_trigger     20480  15 hid_sensor_gyro_3d,hid_sensor_custom_intel_hinge,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
industrialio_triggered_buffer    12288  1 hid_sensor_trigger
kfifo_buf              12288  1 industrialio_triggered_buffer
hid_sensor_iio_common    20480  8 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_custom_intel_hinge,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
industrialio          135168  10 industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_custom_intel_hinge,hid_sensor_incl_3d,kfifo_buf,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
hid_sensor_custom      28672  0
joydev                 24576  0
snd_ctl_led            24576  0
snd_soc_sof_sdw       102400  1
snd_soc_intel_hda_dsp_common    16384  1 snd_soc_sof_sdw
snd_sof_probes         24576  0
snd_soc_intel_sof_maxim_common    20480  1 snd_soc_sof_sdw
hid_sensor_hub         32768  10 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_custom_intel_hinge,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation,hid_sensor_custom
snd_soc_rt711_sdca     57344  1
snd_soc_rt715_sdca     49152  1
snd_soc_rt1318_sdw     28672  2
regmap_sdw_mbq         12288  2 snd_soc_rt715_sdca,snd_soc_rt711_sdca
snd_hda_codec_hdmi     94208  1
regmap_sdw             12288  3 snd_soc_rt715_sdca,snd_soc_rt711_sdca,snd_soc_rt1318_sdw
snd_soc_dmic           12288  0
intel_ishtp_hid        28672  0
intel_uncore_frequency    12288  0
snd_sof_pci_intel_tgl    12288  0
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
mousedev               24576  0
snd_sof_intel_hda_common   249856  1 snd_sof_pci_intel_tgl
soundwire_intel        81920  5 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink    36864  2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof               434176  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
snd_sof_utils          16384  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
x86_pkg_temp_thermal    16384  0
snd_soc_acpi_intel_match    98304  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
intel_powerclamp       20480  0
soundwire_generic_allocation    12288  1 soundwire_intel
coretemp               16384  0
soundwire_bus         139264  9 snd_soc_sof_sdw,snd_soc_rt715_sdca,regmap_sdw,regmap_sdw_mbq,soundwire_intel,snd_soc_rt711_sdca,soundwire_generic_allocation,snd_soc_rt1318_sdw,soundwire_cadence
iwlmvm                708608  0
snd_soc_core          462848  11 snd_soc_sof_sdw,snd_soc_rt715_sdca,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_rt711_sdca,snd_soc_rt1318_sdw,snd_soc_intel_sof_maxim_common,snd_sof_probes,snd_soc_dmic
kvm_intel             425984  0
snd_compress           28672  2 snd_soc_core,snd_sof_probes
dell_rbtn              20480  0
kvm                  1376256  1 kvm_intel
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
mac80211             1568768  1 iwlmvm
snd_hda_intel          65536  0
irqbypass              12288  1 kvm
snd_intel_dspcfg       40960  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
crct10dif_pclmul       12288  1
crc32_pclmul           12288  0
snd_intel_sdw_acpi     16384  2 snd_sof_intel_hda_common,snd_intel_dspcfg
libarc4                12288  1 mac80211
dell_laptop            36864  0
polyval_clmulni        12288  0
wacom                 151552  0
ptp                    45056  1 iwlmvm
snd_hda_codec         225280  5 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda
polyval_generic        12288  1 polyval_clmulni
usbhid                 77824  1 wacom
pps_core               32768  1 ptp
hid_multitouch         32768  0
gf128mul               16384  1 polyval_generic
spi_pxa2xx_platform    36864  0
snd_hda_core          151552  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
processor_thermal_device_pci    16384  0
iTCO_wdt               16384  0
ghash_clmulni_intel    16384  0
intel_rapl_msr         20480  0
8250_dw                24576  0
hid_generic            12288  0
dw_dmac                12288  0
processor_thermal_device    20480  1 processor_thermal_device_pci
sha512_ssse3           53248  0
snd_hwdep              20480  1 snd_hda_codec
pmt_telemetry          12288  0
btusb                  86016  0
intel_pmc_bxt          16384  1 iTCO_wdt
mei_hdcp               28672  0
dell_wmi               28672  1 dell_laptop
processor_thermal_wt_hint    16384  2 processor_thermal_device_pci,processor_thermal_device
mei_pxp                20480  0
sha256_ssse3           32768  0
mei_wdt                16384  0
iTCO_vendor_support    12288  1 iTCO_wdt
btrtl                  32768  1 btusb
pmt_class              16384  1 pmt_telemetry
r8153_ecm              12288  0
snd_pcm               204800  15 snd_soc_rt715_sdca,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_rt711_sdca,snd_soc_core,snd_sof_utils,snd_soc_rt1318_sdw,snd_soc_intel_sof_maxim_common,snd_hda_core,snd_pcm_dmaengine
processor_thermal_rfim    28672  1 processor_thermal_device
sha1_ssse3             32768  0
iwlwifi               573440  1 iwlmvm
btintel                57344  1 btusb
dell_smbios            32768  2 dell_wmi,dell_laptop
cdc_ether              24576  1 r8153_ecm
processor_thermal_rapl    16384  1 processor_thermal_device
aesni_intel           360448  8
btbcm                  24576  1 btusb
spi_nor               163840  0
vfat                   20480  1
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
dcdbas                 20480  1 dell_smbios
intel_rapl_common      40960  2 intel_rapl_msr,processor_thermal_rapl
usbnet                 65536  2 r8153_ecm,cdc_ether
crypto_simd            16384  1 aesni_intel
btmtk                  12288  1 btusb
ucsi_acpi              12288  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
rapl                   20480  0
intel_cstate           20480  0
fat                   106496  1 vfat
r8152                 167936  1 r8153_ecm
dell_wmi_sysman        61440  0
bluetooth            1114112  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
psmouse               233472  0
intel_uncore          258048  0
pcspkr                 12288  0
dell_wmi_ddv           28672  0
ledtrig_audio          12288  3 snd_ctl_led,dell_wmi,dell_laptop
typec_ucsi             65536  1 ucsi_acpi
firmware_attributes_class    12288  1 dell_wmi_sysman
i2c_i801               40960  0
intel_lpss_pci         24576  2
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
wmi_bmof               12288  0
i2c_ljca               16384  0
mii                    16384  2 usbnet,r8152
snd                   159744  17 snd_ctl_led,snd_soc_sof_sdw,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
mei_me                 57344  3
gpio_ljca              16384  1
processor_thermal_wt_req    12288  1 processor_thermal_device
mtd                   110592  3 spi_nor
ecdh_generic           16384  2 bluetooth
cfg80211             1343488  3 iwlmvm,iwlwifi,mac80211
i2c_smbus              20480  1 i2c_i801
intel_lpss             16384  1 intel_lpss_pci
typec                 114688  2 typec_displayport,typec_ucsi
soundcore              16384  2 snd_ctl_led,snd
processor_thermal_power_floor    12288  2 processor_thermal_device_pci,processor_thermal_device
thunderbolt           532480  0
mei                   200704  7 mei_wdt,mei_hdcp,mei_pxp,mei_me
intel_skl_int3472_tps68470    20480  0
idma64                 20480  0
intel_vsec             20480  0
roles                  16384  1 typec_ucsi
processor_thermal_mbox    12288  4 processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
intel_ish_ipc          36864  0
tps68470_regulator     12288  0
clk_tps68470           12288  0
i2c_hid_acpi           12288  0
rfkill                 40960  8 iwlmvm,bluetooth,dell_laptop,dell_rbtn,cfg80211
int3400_thermal        20480  0
intel_hid              28672  0
i2c_hid                40960  1 i2c_hid_acpi
int3403_thermal        16384  0
intel_pmc_core         81920  0
acpi_thermal_rel       20480  1 int3400_thermal
pinctrl_tigerlake      28672  1
soc_button_array       20480  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
sparse_keymap          12288  2 intel_hid,dell_wmi
intel_skl_int3472_discrete    28672  0
acpi_pad               24576  0
acpi_tad               20480  0
mac_hid                12288  0
pkcs8_key_parser       12288  0
intel_ishtp            77824  2 intel_ishtp_hid,intel_ish_ipc
i2c_dev                28672  0
fuse                  212992  5
crypto_user            20480  0
loop                   40960  0
dm_mod                225280  0
nfnetlink              20480  2
ip_tables              36864  0
x_tables               69632  1 ip_tables
ext4                 1171456  1
crc32c_generic         12288  0
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  221184  1 ext4
spi_ljca               12288  0
usb_ljca               28672  3 gpio_ljca,i2c_ljca,spi_ljca
i915                 4169728  23
serio_raw              16384  0
i2c_algo_bit           20480  1 i915
atkbd                  40960  0
drm_buddy              20480  1 i915
libps2                 20480  2 atkbd,psmouse
ttm                   110592  1 i915
vivaldi_fmap           12288  1 atkbd
nvme                   65536  2
intel_gtt              28672  1 i915
crc32c_intel           16384  2
spi_intel_pci          12288  0
xhci_pci               28672  0
video                  77824  3 dell_wmi,dell_laptop,i915
drm_display_helper    229376  1 i915
nvme_core             245760  3 nvme
xhci_pci_renesas       24576  1 xhci_pci
spi_intel              36864  1 spi_intel_pci
i8042                  53248  1 dell_laptop
cec                    86016  2 drm_display_helper,i915
nvme_auth              28672  1 nvme_core
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
wmi                    45056  7 dell_wmi_sysman,video,dell_wmi_ddv,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor

Offline

Board footer

Powered by FluxBB