Audio device output issues, bluetooth issues after updating to Fedora 40

Hello,
After upgrading to Fedora 40 (Lenovo Thinkpad T480 with NVIDIA MX150) I encountered some issues that weren’t there before.

  1. When I wake up my laptop from suspend, Bluetooth is often turned off, which is quite annoying as I usually work with an external Bluetooth mouse and keyboard. UI still doesn’t allow you to turn the Bluetooth on, but I found out that when I see it woke up with the Bluetooth turned off, I have to put it to sleep again and wake it up once more.

  2. I often change the audio output device to Bluetooth headphones, Bluetooth speakers or speakers of an external monitor. However, when I unplug my laptop from the external screen often everything is muted and what I think happens is the system still thinks it’s connected to external speakers while it cannot access it. You cannot change the output device on your own at this point. The workaround for this issue is to connect the laptop again to some external audio device, then change the audio output to internal speakers, then unplug the laptop from the external screen, and it should be fine, it will have access to internal speakers once more.

I don’t know if there are some commands I could use to help you diagnose what’s the issue about. I would appreciate help in solving this.

What kernel version are you on? Please post the output of :

rpm -qa | grep kernel-core

also please provide the output of :

inxi -Fzxx

There are some Bluetooth related commands, if you can reliably reproduce the issue try to capture this immediately after you wake from suspend :

dmesg | grep bluetooth

Also :

journalctl | grep bluetooth

rpm -qa | grep kernel-core output:

kernel-core-6.8.7-300.fc40.x86_64
kernel-core-6.8.8-300.fc40.x86_64
kernel-core-6.8.9-300.fc40.x86_64

inxi -Fzxx output:

System:
  Kernel: 6.8.9-300.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-34.fc40
  Desktop: GNOME v: 46.1 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 20L50005PB v: ThinkPad T480
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20L50005PB v: SDK0J40697 WIN
    serial: <superuser required>
    part-nu: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480 UEFI: LENOVO
    v: N24ET76W (1.51 ) date: 02/27/2024
Battery:
  ID-1: BAT0 charge: 5.1 Wh (96.2%) condition: 5.3/23.9 Wh (22.0%) volts: 12.5
    min: 11.4 model: LGC 01AV489 serial: <filter> status: not charging
  ID-2: BAT1 charge: 20.3 Wh (97.6%) condition: 20.8/71.1 Wh (29.3%)
    volts: 12.3 min: 11.2 model: LGC 01AV492 serial: <filter>
    status: not charging
  Device-1: hidpp_battery_2 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: quad core model: Intel Core i7-8550U bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 750 high: 1800 min/max: 400/4000 cores: 1: 1800 2: 400
    3: 400 4: 400 5: 1800 6: 400 7: 400 8: 400 bogomips: 31999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo ThinkPad T480 driver: i915
    v: kernel arch: Gen-9.5 ports: active: HDMI-A-2,eDP-1
    empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Lenovo ThinkPad T480
    driver: nvidia v: 550.78 arch: Maxwell pcie: speed: 8 GT/s lanes: 4
    bus-ID: 01:00.0 chip-ID: 10de:1d10
  Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:4 chip-ID: 13d3:56a6
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.6
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 96
  Monitor-1: HDMI-A-2 mapped: HDMI-1-2 pos: primary,right
    model: BenQ PD2700U res: 3840x2160 dpi: 163 diag: 685mm (27")
  Monitor-2: eDP-1 mapped: eDP-1-1 pos: left model: LG Display 0x0521
    res: 1920x1080 dpi: 158 diag: 355mm (14")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 550.78 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce MX150/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo ThinkPad T480
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
  API: ALSA v: k6.8.9-300.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo ThinkPad T480 driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d8
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2725
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-7:3 chip-ID: 8087:0032
  Report: btmgmt ID: hci0 rfk-id: 7 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 bus-ID: 00:17.0 chip-ID: 8086:282a
Drives:
  Local Storage: total: 238.47 GiB used: 227.39 GiB (95.4%)
  ID-1: /dev/sda vendor: Samsung model: MZNLN256HCHP-000L7 size: 238.47 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 236.89 GiB used: 226.95 GiB (95.8%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 428.9 MiB (44.1%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19.1 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 236.89 GiB used: 226.95 GiB (95.8%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 376 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A gpu: nvidia temp: 66 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.38 GiB used: 6.14 GiB (39.9%)
  Processes: 443 Power: uptime: 11h 42m wakeups: 5 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: 253 pm: flatpak pkgs: 234 pm: snap pkgs: 19 Compilers:
    gcc: 14.1.1 Shell: Bash v: 5.2.26 running-in: warp inxi: 3.3.34

with sudo the output of dmesg | grep bluetooth is:

sudo dmesg | grep bluetooth
[    9.207559] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[21964.012916] bluetoothd[1065]: segfault at 2b ip 00007f6fc2212d75 sp 00007ffdc5e69cb0 error 4 in libc.so.6[7f6fc2194000+169000] likely on CPU 2 (core 2, socket 0)
1 Like

For journalctl | grep bluetooth the output is very long and it doesn’t allow me to post it here.
Should I provide something specific found there, maybe around some keywords?

1 Like

Can you please boot into kernel 6.8.8 and test your issues?

If you do not know how to set a different kernel for boot you can :thinking:

My apologies, You can modofy the command to view events many different ways. From the time of boot, or other time intervals. Let’s just try kernel first, then if possible try to recreate then run a more focused command.

strange. bootctl list gives me output of:

No boot loader entries found.

On the other hand I remember that sometimes when computer gets stuck during reboot forced by update and I force it to turn off and turn it back on I see the screen of choosing the kernel.

So I did hold the power while seeing lenovo boot screen and then it showed me the screen with kernel to choose, I did open 6.8.8 but it was still buggy with all the same issues.

Every second waking up from suspend would be with a bluetooth turned off without ability to turn it on. Even through Setting app. The toggle doesn’t react. Then when you suspend the laptop and wake it up again bluetooth works. :man_shrugging:

The instructions there are for both systemd-boot and grub. The tandard way to do this is with grub as that is the standard installation of Fedora.

what does this return sudo grubby --info=ALL | grep -i 'index\|title' You should have 3 available ?

index=0
title="Fedora Linux (6.8.9-300.fc40.x86_64) 40 (Workstation Edition)"
index=1
title="Fedora Linux (6.8.8-300.fc40.x86_64) 40 (Workstation Edition)"
index=2
title="Fedora Linux (6.8.7-300.fc40.x86_64) 40 (Workstation Edition)"
index=3
title="Fedora Linux (0-rescue-6577fdc0ddaa417aa112cf5af48e3de8) 38 (Workstation Edition)"

how should the full command look in this case?

sudo grubby --set-default /boot/vmlinuz-<Fedora Linux (6.8.8-300.fc40.x86_64) 40 (Workstation Edition)>

?

Nevertheless the grubby command, when I booted and checked, I was on 6.8.8 the issue persisted as I described it. After another reboot I see I’m back to 6.8.9.

The issue still seems to be related to the recent update to Fedora 40, but the change between 6.8.8 and 6.8.9 is not it.

It came to my mind that maybe these were some lenovo drivers that got update in recent weeks?

title="Fedora Linux (6.8.9-300.fc40.x86_64) 40 (Workstation Edition)"
index=1
title="Fedora Linux (6.8.8-300.fc40.x86_64) 40 (Workstation Edition)"
index=2
title="Fedora Linux (6.8.7-300.fc40.x86_64) 40 (Workstation Edition)"
index=3
title="Fedora Linux (0-rescue-6577fdc0ddaa417aa112cf5af48e3de8) 38 (Workstation Edition)"

So you should :

sudo grub2-reboot 3

Since this is your oldest kernel.

I also have a lenovo laptop but I am not experiencing these issues.
If you think it’s a firmware update, have you done a dnf update recently?

When it comes to dnf update, well, I install all available updates on the daily basis.

sudo grub2-reboot 3 put me into emergency mode

That’s my bad, the paste I had, had the top index cut off. I was trying to get you to boot into kernel 6.8.7 which is the oldest. Restarting should get you back since that is a one-shot reboot.

Ok, I’m on Linux 6.8.7-300.fc40.x86_64

  1. It didn’t allow me to log into X11, after inputting password it didn’t go through and the password prompt field showed up again and again. Only after switching to Wayland it allowed me to go further.

  2. Still the same issue. Every second wake up is with the Bluetooth turned off and blocked from turning it on again. Putting the laptop to sleep and waking it up again, resolves the issue. Another suspend, another blocked Bluetooth

If you want to check fwupdmgr update to see if you have any firmware update available. They do come in through dnf.

fwupdmgr update
Devices with no available firmware updates:
 • MZNLN256HCHP-000L7
 • TPM
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
Devices with the latest available firmware version:
 • Embedded Controller
 • Intel Management Engine
 • System Firmware
 • UEFI dbx

I guess through testing, you can check the logs and look for bluetooth errors or power issues in regards to bluetooth. Give me a second to get some commands.

systemctl status bluetooth - you can start / stop from this command too

sudo journalctl -xe | grep -i blue - will bring up anything related to bluetooth

bluetoothctl - this is to go into the bluetooth interface with various commands.

Also would be good to know what power mode you are on ? Performance, Balanced, Power Saver,

I would consider filing a bug as well maybe even reference this thread if you want :

https://bugzilla.redhat.com/index.cgi

Thanks, I will go through these tomorrow and consider filing a bug.
That would be my first on that domain. I hope it’s not too difficult.

1 Like