Announcement

Collapse
No announcement yet.

Fresh installation, suddenly no (internal) output/input audio device found

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fresh installation, suddenly no (internal) output/input audio device found

    Hi all,

    I've installed a fresh 24.04 about two weeks ago on a Thinkpad T14 G1 (Intel) without any issues. However, suddenly my audio input/output doesn't work anymore for the internal laptop speakers & headphone jack. USB headsets & Bluetooth headsets are still working. I didn't find helpful advice online.
    Any ideas, how to fix this issue?

    General information about my system:
    Operating System: Ubuntu 24.04
    KDE Plasma Version: 5.27.11
    KDE Frameworks Version: 5.115.0
    Qt Version: 5.15.13
    Kernel Version: 6.8.0-45-generic (64-bit)
    Graphics Platform: X11
    Processors: Intel i5-10310U CPU @ 1.70GHz
    Memory: 15,3 GiB of RAM
    Graphics Processor: Mesa Intel® UHD Graphics
    $ inxi -MAa
    Machine:
    Type: Laptop System: LENOVO product: 20S1S2FC00 v: ThinkPad T14 Gen 1
    Chassis:type: 10
    Mobo: LENOVO model: 20S1S2FC00part-nu: LENOVO_MT_20S1_BU_Think_FM_ThinkPad
    T14 Gen 1
    uUEFI: LENOVO v: N2XET42W (1.32 )
    date: 06/12/2024
    Audio:
    Device-1: Intel Comet Lake PCH-LP cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-cnl
    alternate: snd_hda_intel,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0403
    API: ALSA v: k6.8.0-45-generic status: kernel-api
    tools: alsactl,alsamixer,amixer
    Server-1: PipeWire v: 1.0.5 status: active with:1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
    General information about my pipewire status (with no USB/Bluetooth headsets connected):
    $ systemctl --user status pipewire-pulse
    pipewire-pulse.service - PipeWire PulseAudio
    Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service;
    enabled; preset: enabled)
    Active:
    active (running) since Sun 2024-10-06 10:25:34 CEST; 9min ago
    TriggeredBy:
    pipewire-pulse.socket
    Main PID: 1588 (pipewire-pulse)
    Tasks: 3 (limit: 18651)
    Memory: 2.2M (peak: 2.4M)
    CPU: 39ms
    CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
    └─
    1588 /usr/bin/pipewire-pulse

    Okt 06 10:25:34 host systemd[1574]: Started pipewire-pulse.service - PipeWire PulseAudio.

    $systemctl --user list-units | egrep "pulse|wire"
    pipe
    wire-pulse.service
    loaded active running PipeWire PulseAudio
    pipe
    wire.service
    loaded active running PipeWire Multimedia Service

    wireplumber.service
    loaded active running Multimedia Service Session Manager
    pipe
    wire-pulse.socket
    loaded active running PipeWire PulseAudio
    pipe
    wire.socket
    loaded active running PipeWire Multimedia System Sockets

    If there there is no USB and/or Bluetooth Headset connected, the system doens't find any way to play/record sound:
    $ aplay -l
    aplay: device_list:277: no soundcards found…

    $ pactl list cards | egrep -i "profile|output" → does not show any output or error/warning

    $ wpctl status
    PipeWire 'pipewire-0' [1.0.5, user@host, cookie:258117239]
    └─ Clients:
    32. pipewire [1.0.5, user@host, pid:1588]
    34. WirePlumber [1.0.5, user@host, pid:1586]
    35. WirePlumber [export] [1.0.5, user@host, pid:1586]
    46. xdg-desktop-portal [1.0.5, user@host, pid:1728]
    47. Plasma PA [1.0.5, user@host, pid:1858]
    48. wpctl [1.0.5, user@host, pid:3348]

    Audio
    ├─ Devices:

    ├─ Sinks:
    │ * 33. Dummy Output [vol: 1.00]

    ├─ Sink endpoints:

    ├─ Sources:

    ├─ Source endpoints:

    └─ Streams:

    Video
    [...]

    ​​
    If there is an USB/Bluetooth headset connected, it works like a charm, e.g.:
    $aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 1: Seri [Plantronics Blackwire 3220 Seri], device 0: USB Audio [USB Audio]
    Subdevices: 0/1
    Subdevice #0: subdevice #0

    $
    pactl list cards | egrep -i "profile|output"
    bluez5.profile = "off"
    Profiles:
    Active Profile: a2dp-sink
    headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
    Part of profile(s): a2dp-sink, a2dp-sink-sbc_xq
    Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc
    headset-hf-output: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
    Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc

    Things, I already tried without any success (with a gazillion reboots in between):
    • deleted ~/.local/state/wireplumber
      systemctl --user restart wireplumber*.service
    • sudo alsa force-reload​​
    • sudo apt reinstall pipewire pipewire-bin pipewire-pulse
    • systemctl --user --now enable pipewire pipewire-pulse
    • sudo apt purge pulseaudio




    #2
    Originally posted by Joyba465 View Post

    driver: sof-audio-pci-intel-cnl
    alternate: snd_hda_intel,snd_sof_pci_intel_cnl bus-ID: 00:1f.3

    ​​[/LIST]
    The kernel is loading sof-audio-pci-intel-cnl drive but the inxi -MAa​ is suggesting two other alternate drives. Try to modprobe the most common between them, the snd_hda_intel​ and see if this drive fix the problem.

    Comment


      #3
      Thanks for the suggestion. Unfortunately,
      Code:
      sudo modprobe snd_hda_intel
      (or snd-hda-intel) has no effect.

      Comment


        #4
        Update: as tests I have tried Kubuntu and also Debian as a live demo via USB. The same audio problem there too. Afterwards: Windows 11 installed (bad, I know), here the sound from the loudspeaker and headphone jack works without any problems. So it's not a hardware problem. I'm a bit at the end of my tether.

        Comment


          #5
          Originally posted by Joyba465 View Post
          I've installed a fresh 24.04 about two weeks ago on a Thinkpad T14 G1 (Intel) without any issues. However, suddenly my audio input/output doesn't work anymore for the internal laptop speakers & headphone jack.
          Assuming you are using your laptop daily, when; what date; did you first notice this issue? It will have been the result of package management, and knowing the date you noticed it, you can review the history.log files in /var/log/apt.
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Originally posted by Snowhog View Post
            Assuming you are using your laptop daily, when; what date; did you first notice this issue? It will have been the result of package management, and knowing the date you noticed it, you can review the history.log files in /var/log/apt.
            Thanks for the reply and suggestion. Unfortunately, the fresh install of Windows 11 destroyed the history.log files. With Windows, the sound works just fine. Now, I did a complete fresh install of Kubuntu 24.04 aaaand the sound still doesn't work

            Comment


              #7
              Ran into the "same" issue on Neon, after recent plasma-pa upgrade pulled in pipewire-pulse (audio devices were not recognized) after reboot...not necessarily the same issue as in your kubuntu, though, but you can try what I did to fix it:

              1. I removed pulseaudio (and some related packages) and installed some pipewire packages, and the audio devices came back after a reboot (probably not all of it is necessary, but didn't troubleshoot any further since I got it working), an excerpt from my apt history showing installed/purged packages:
              Code:
              Install: libpipewire-0.3-common:amd64 (1.0.5-1ubuntu1), pipewire-module-xrdp:amd64 (0.2-2), vlc-plugin-pipewire:amd64 (3-3build2), libspa-0.2-bluetooth:amd64 (1.0.5-1ubuntu1, automatic), pipewire-jack:amd64 (1.0.5-1ubuntu1), gstreamer1.0-pipewire:amd64 (1.0.5-1ubuntu1), libpipewire-0.3-modules-x11:amd64 (1.0.5-1ubuntu1), pipewire-audio:amd64 (1.0.5-1ubuntu1), libpipewire-0.3-modules-xrdp:amd64 (0.2-2, automatic), wireplumber:amd64 (0.4.17-1ubuntu4), libldacbt-abr2:amd64 (2.0.2.3+git20200429+ed310a0-4ubuntu2, automatic), pipewire-alsa:amd64 (1.0.5-1ubuntu1, automatic), libwireplumber-0.4-0:amd64 (0.4.17-1ubuntu4, automatic)
              Purge: pulseaudio-module-gsettings:amd64 (1:16.1+dfsg1-2ubuntu10), pulseaudio:amd64 (1:16.1+dfsg1-2ubuntu10), pulseaudio-module-bluetooth:amd64 (1:16.1+dfsg1-2ubuntu10)
              End-Date: 2024-10-22  14:19:09​

              Comment


                #8
                I have a laptop Infinix X3 Slim Intel Core i3 12th Gen 1215U. I made it dual boot in which Windows 11 is installed and I set up Linux Kubuntu 24.04 latest version.
                When we start Windows everything works fine and when we start Linux everything works fine but there is no sound in inbuild speaker headphone working fine.
                I searched a lot but did not find any solution.
                Please tell me what should I do.​

                Comment

                Working...
                X