Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AtomMan G7 PT, Bluetooth 5.4 don't works #1751

Closed
t1gu1 opened this issue Oct 19, 2024 · 17 comments
Closed

AtomMan G7 PT, Bluetooth 5.4 don't works #1751

t1gu1 opened this issue Oct 19, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@t1gu1
Copy link

t1gu1 commented Oct 19, 2024

Describe the bug

I got a Bluetooth 5.3 on my mini PC.
I know that on windows it works fine, but on linux it doesn't even look like there is bluetooth.

When I go in System Settings then Bluetooth.
I see the "Enabled" button, but when I click it i see nothing change.

Here:
Image

I try few way, but it looks like it may be too recent or the drivers doesn't exist in linux?? (I really don't know)

What did you expect to happen?

I expected to be able to connect things with bluetooth.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:6bb8ce8809f31105691dcdbab8d3f9b1106e4544ee98ebe9f1077865b8592b5d
Version: 40.20241014 (2024-10-15T09:01:54Z)
LayeredPackages: compat-lua-devel-5.1.5 containerd.io dnf-plugins-core docker-buildx-plugin docker-ce
docker-ce-cli docker-compose-plugin neovim openrazer-meta razergenie sunshine
LocalPackages: goxlr-utility-1.1.4-1.x86_64

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:6bb8ce8809f31105691dcdbab8d3f9b1106e4544ee98ebe9f1077865b8592b5d
Version: 40.20241014 (2024-10-15T09:01:54Z)
LayeredPackages: openrazer-meta razergenie sunshine
LocalPackages: goxlr-utility-1.1.4-1.x86_64

Hardware

AtomMan G Series


To be more specific, the AtomMan G7 PT.

Extra information or context

I think the name of the Wifi 7/BT card is: MEDIATEK Corp. Device 7925
It is a Wifi 7/BT adapter, plug in a m.2 slot.

It is weird, cause it looks like it works, but it don't.
Image


I see few people having this problem on linux in general.
It's not specific to Bazzite OS, but I don't know anywhere else where I could share that and think that maybe someone could solve it.

Maybe I just need to be on a newer kernel version.
I may try it when I got some time to see if it works.

@t1gu1 t1gu1 changed the title AtomMan G7 PT, Bluetooth 5.3 don't works AtomMan G7 PT, Bluetooth don't works Oct 19, 2024
@dosubot dosubot bot added the bug Something isn't working label Oct 19, 2024
@t1gu1
Copy link
Author

t1gu1 commented Oct 19, 2024

Here is a discussion I found where they try few things without any result.
https://universal-blue.discourse.group/t/bazzite-mediatek-bluetooth-not-working/4493/6

@t1gu1 t1gu1 changed the title AtomMan G7 PT, Bluetooth don't works AtomMan G7 PT, Bluetooth 5.4 don't works Oct 19, 2024
@t1gu1
Copy link
Author

t1gu1 commented Oct 19, 2024

I just test Ubuntu 24.10 using the last kernel 6.11.

Sadly, Bluetooth didn't works.

Well maybe it is too recent and it may work with a future kernel release like 6.12 or 6.13 when it will release.

@CraigWatt
Copy link

In the exact same boat, same hardware, bazzite install..

Bluetooth does not 'power on' via command line if I recall... it states no default 'something'

Lsusb also does not reveal anything named Bluetooth

Yet on bazzite Bluetooth pairing attempts and Bluetooth toggle is possible

BUT the main system settings Bluetooth page is stuck in disabled.

I'll try and have a closer look ASAP with actual terminal commands and output.

Very frustrating...

@CraigWatt
Copy link

CraigWatt commented Oct 22, 2024

sudo dmesg | grep -i bluetooth [ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 0.020964] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 4.628108] Bluetooth: Core ver 2.22 [ 4.628131] NET: Registered PF_BLUETOOTH protocol family [ 4.628133] Bluetooth: HCI device and connection manager initialized [ 4.628138] Bluetooth: HCI socket layer initialized [ 4.628141] Bluetooth: L2CAP socket layer initialized [ 4.628146] Bluetooth: SCO socket layer initialized [ 4.656736] Bluetooth: hci0: Opcode 0x0c03 failed: -16 [ 6.123303] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.123307] Bluetooth: BNEP filters: protocol multicast [ 6.123317] Bluetooth: BNEP socket layer initialized [ 15.619177] bluetooth snd_pcm cfg80211 kvm snd_pci_acp5x snd_timer apple_mfi_fastcharge snd_rn_pci_acp3x snd_acp_config snd snd_soc_acpi igc soundcore rfkill k10temp pcspkr snd_pci_acp3x i2c_piix4 rapl tcp_bbr sch_fq vhba(OE) ryzen_smu(OE) hid_playstation led_class_multicolor ff_memless loop nfnetlink lz4 lz4_compress zram ccp amdgpu amdxcp drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_buddy crc32c_intel i2c_algo_bit polyval_clmulni drm_suballoc_helper polyval_generic drm_display_helper nvme ghash_clmulni_intel cec nvme_core sha512_ssse3 drm_ttm_helper sha256_ssse3 ttm sha1_ssse3 sp5100_tco nvme_auth video wmi hid_apple v4l2loopback(OE) videodev mc scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables kvmfr(OE) gcadapter_oc(OE) fuse i2c_dev dm_multipath

perhaps Bluetooth: hci0: Opcode 0x0c03 failed: -16 is the main hint?

The Wi-Fi and Bluetooth card in question is the AW-EB600NF, which uses the MediaTek MT7925B22M chipset. This is an M.2 2230 combo card that supports both Wi-Fi and Bluetooth functionalities

bazzite@192:/etc/bluetooth$ cat /etc/os-release NAME="Bazzite" VERSION="40.20241020.0 (Kinoite)" ID=bazzite ID_LIKE="fedora" VERSION_ID=40 VERSION_CODENAME="Holographic" PLATFORM_ID="platform:f40" PRETTY_NAME="Bazzite 40 (FROM Fedora Kinoite)" ANSI_COLOR="0;38;2;138;43;226" LOGO=bazzite-logo-icon CPE_NAME="cpe:/o:universal-blue:bazzite:40" DEFAULT_HOSTNAME="bazzite" HOME_URL="https://bazzite.gg" DOCUMENTATION_URL="https://docs.bazzite.gg" SUPPORT_URL="https://discord.bazzite.gg" BUG_REPORT_URL="https://github.com/ublue-os/bazzite/issues/" SUPPORT_END=2025-05-13 VARIANT="Kinoite" VARIANT_ID=bazzite-deck OSTREE_VERSION='40.20241020.0' BUILD_ID="Stable (F40.20241020)" BOOTLOADER_NAME="Bazzite Stable (F40.20241020)" BUILD_ID="Stable (F40.20241020)" BOOTLOADER_NAME="Bazzite Stable (F40.20241020)" bazzite@192:/etc/bluetooth$ uname -r 6.9.12-210.fsync.fc40.x86_64 bazzite@192:/etc/bluetooth$ uname -a Linux [IP address link removed for safety reasons] 6.9.12-210.fsync.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 9 01:28:27 UTC 2024 x86_64 GNU/Linux bazzite@192:/etc/bluetooth$

@CraigWatt
Copy link

bazzite@192:/etc$ sudo dmesg | grep -i firmware [sudo] password for bazzite: [ 0.236412] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.245393] acpi PNP0A08:00: [Firmware Info]: ECAM [mem 0xf0000000-0xf7ffffff] for domain 0000 [bus 00-7f] only partially covers this bridge [ 2.580334] [drm] Loading DMUB firmware via PSP: version=0x07002A00 [ 2.580476] [drm] Found VCN firmware Version ENC: 1.22 DEC: 9 VEP: 0 Revision: 3 [ 2.580483] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware [ 5.209825] mt7925e 0000:05:00.0: WM Firmware Version: ____000000, Build Time: 20240816133044 bazzite@192:/etc$ cd /lib/firmware/mediatek/ bazzite@192:/lib/firmware/mediatek$ cd mt7925/ bazzite@192:/lib/firmware/mediatek/mt7925$ ls BT_RAM_CODE_MT7925_1_1_hdr.bin WIFI_MT7925_PATCH_MCU_1_1_hdr.bin WIFI_RAM_CODE_MT7925_1_1.bin bazzite@192:/lib/firmware/mediatek/mt7925$ sudo modprobe -r btusb bazzite@192:/lib/firmware/mediatek/mt7925$ sudo modprobe btusb bazzite@192:/lib/firmware/mediatek/mt7925$ sudo systemctl restart bluetooth bazzite@192:/lib/firmware/mediatek/mt7925$ sudo dmesg | grep -i bluetooth [ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 0.020964] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 4.628108] Bluetooth: Core ver 2.22 [ 4.628131] NET: Registered PF_BLUETOOTH protocol family [ 4.628133] Bluetooth: HCI device and connection manager initialized [ 4.628138] Bluetooth: HCI socket layer initialized [ 4.628141] Bluetooth: L2CAP socket layer initialized [ 4.628146] Bluetooth: SCO socket layer initialized [ 4.656736] Bluetooth: hci0: Opcode 0x0c03 failed: -16 [ 6.123303] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.123307] Bluetooth: BNEP filters: protocol multicast [ 6.123317] Bluetooth: BNEP socket layer initialized [ 15.619177] bluetooth snd_pcm cfg80211 kvm snd_pci_acp5x snd_timer apple_mfi_fastcharge snd_rn_pci_acp3x snd_acp_config snd snd_soc_acpi igc soundcore rfkill k10temp pcspkr snd_pci_acp3x i2c_piix4 rapl tcp_bbr sch_fq vhba(OE) ryzen_smu(OE) hid_playstation led_class_multicolor ff_memless loop nfnetlink lz4 lz4_compress zram ccp amdgpu amdxcp drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_buddy crc32c_intel i2c_algo_bit polyval_clmulni drm_suballoc_helper polyval_generic drm_display_helper nvme ghash_clmulni_intel cec nvme_core sha512_ssse3 drm_ttm_helper sha256_ssse3 ttm sha1_ssse3 sp5100_tco nvme_auth video wmi hid_apple v4l2loopback(OE) videodev mc scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables kvmfr(OE) gcadapter_oc(OE) fuse i2c_dev dm_multipath [ 1837.399044] Bluetooth: hci0: Opcode 0x0c03 failed: -16 bazzite@192:/lib/firmware/mediatek/mt7925$ sudo echo 'module bluetooth +p' | sudo tee /sys/kernel/debug/dynamic_debug/control module bluetooth +p bazzite@192:/lib/firmware/mediatek/mt7925$ sudo echo 'module btusb +p' | sudo tee /sys/kernel/debug/dynamic_debug/control module btusb +p bazzite@192:/lib/firmware/mediatek/mt7925$ sudo dmesg | grep -i bluetooth [ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 0.020964] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 4.628108] Bluetooth: Core ver 2.22 [ 4.628131] NET: Registered PF_BLUETOOTH protocol family [ 4.628133] Bluetooth: HCI device and connection manager initialized [ 4.628138] Bluetooth: HCI socket layer initialized [ 4.628141] Bluetooth: L2CAP socket layer initialized [ 4.628146] Bluetooth: SCO socket layer initialized [ 4.656736] Bluetooth: hci0: Opcode 0x0c03 failed: -16 [ 6.123303] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.123307] Bluetooth: BNEP filters: protocol multicast [ 6.123317] Bluetooth: BNEP socket layer initialized [ 15.619177] bluetooth snd_pcm cfg80211 kvm snd_pci_acp5x snd_timer apple_mfi_fastcharge snd_rn_pci_acp3x snd_acp_config snd snd_soc_acpi igc soundcore rfkill k10temp pcspkr snd_pci_acp3x i2c_piix4 rapl tcp_bbr sch_fq vhba(OE) ryzen_smu(OE) hid_playstation led_class_multicolor ff_memless loop nfnetlink lz4 lz4_compress zram ccp amdgpu amdxcp drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_buddy crc32c_intel i2c_algo_bit polyval_clmulni drm_suballoc_helper polyval_generic drm_display_helper nvme ghash_clmulni_intel cec nvme_core sha512_ssse3 drm_ttm_helper sha256_ssse3 ttm sha1_ssse3 sp5100_tco nvme_auth video wmi hid_apple v4l2loopback(OE) videodev mc scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables kvmfr(OE) gcadapter_oc(OE) fuse i2c_dev dm_multipath [ 1837.399044] Bluetooth: hci0: Opcode 0x0c03 failed: -16 bazzite@192:/lib/firmware/mediatek/mt7925$ echo 'options btusb enable_autosuspend=n' | sudo tee /etc/modprobe.d/btusb.conf options btusb enable_autosuspend=n bazzite@192:/lib/firmware/mediatek/mt7925$ sudo modprobe -r btusb bazzite@192:/lib/firmware/mediatek/mt7925$ sudo modprobe btusb bazzite@192:/lib/firmware/mediatek/mt7925$ echo "13d3 3604" | sudo tee /sys/bus/usb/drivers/btusb/new_id 13d3 3604 bazzite@192:/lib/firmware/mediatek/mt7925$ sudo dmesg | grep -i bluetooth [ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 0.020964] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/vmlinuz-6.9.12-210.fsync.fc40.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/8bf6a54c51fea892271e61d3912cf996c0fd82bfb2de6a25de44002734232432/0 bluetooth.disable_ertm=1 preempt=full [ 4.628108] Bluetooth: Core ver 2.22 [ 4.628131] NET: Registered PF_BLUETOOTH protocol family [ 4.628133] Bluetooth: HCI device and connection manager initialized [ 4.628138] Bluetooth: HCI socket layer initialized [ 4.628141] Bluetooth: L2CAP socket layer initialized [ 4.628146] Bluetooth: SCO socket layer initialized [ 4.656736] Bluetooth: hci0: Opcode 0x0c03 failed: -16 [ 6.123303] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.123307] Bluetooth: BNEP filters: protocol multicast [ 6.123317] Bluetooth: BNEP socket layer initialized [ 15.619177] bluetooth snd_pcm cfg80211 kvm snd_pci_acp5x snd_timer apple_mfi_fastcharge snd_rn_pci_acp3x snd_acp_config snd snd_soc_acpi igc soundcore rfkill k10temp pcspkr snd_pci_acp3x i2c_piix4 rapl tcp_bbr sch_fq vhba(OE) ryzen_smu(OE) hid_playstation led_class_multicolor ff_memless loop nfnetlink lz4 lz4_compress zram ccp amdgpu amdxcp drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_buddy crc32c_intel i2c_algo_bit polyval_clmulni drm_suballoc_helper polyval_generic drm_display_helper nvme ghash_clmulni_intel cec nvme_core sha512_ssse3 drm_ttm_helper sha256_ssse3 ttm sha1_ssse3 sp5100_tco nvme_auth video wmi hid_apple v4l2loopback(OE) videodev mc scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables kvmfr(OE) gcadapter_oc(OE) fuse i2c_dev dm_multipath [ 1837.399044] Bluetooth: hci0: Opcode 0x0c03 failed: -16 [ 1913.814412] Bluetooth: hci0: Opcode 0x0c03 failed: -16 bazzite@192:/lib/firmware/mediatek/mt7925$

further attempts... note the failed: -16 persists...

@CraigWatt
Copy link

CraigWatt commented Oct 22, 2024

switching to

sudo rpm-ostree rebase fedora:fedora/rawhide/x86_64/silverblue

and rebooting, does fix the issue, but obv then you are on the experimental repo/distro and lose all of the bazzite boot and purpose for being on bazzite

bazzite@192:~$ bluetoothctl
Agent registered
[DualSense Wireless Controller]# AdvertisementMonitor path registered
list
Controller 28:D0:43:64:1A:2B fedora [default]
[DualSense Wireless Controller]# [DEL] Device FF:4E:FF:AE:01:E1 FF-4E-FF-AE-01-E1
[DualSense Wireless Controller]# [NEW] Device 70:5F:36:0F:3E:4D 70-5F-36-0F-3E-4D
[DualSense Wireless Controller]# [CHG] Device 44:FB:CE:14:83:10 RSSI: 0xffffffc1 (-63)
[DualSense Wireless Controller]# [DEL] Device C8:27:58:02:A9:E6 C8-27-58-02-A9-E6
[DualSense Wireless Controller]# [DEL] Device 4E:12:40:23:59:3F SHIELD
[DualSense Wireless Controller]# [CHG] Device 70:5F:36:0F:3E:4D RSSI: 0xffffffa4 (-92)
[DualSense Wireless Controller]# [NEW] Device 4E:12:40:23:59:3F SHIELD
[DualSense Wireless Controller]# [CHG] Device 00:04:4B:AF:BF:AB RSSI: 0xffffffa5 (-91)
[DualSense Wireless Controller]# [DEL] Device 44:FB:CE:14:83:10 44-FB-CE-14-83-10
[DualSense Wireless Controller]# [CHG] Device 70:5F:36:0F:3E:4D RSSI: 0xffffffad (-83)
[DualSense Wireless Controller]# [NEW] Device 44:FB:CE:14:83:10 44-FB-CE-14-83-10
[DualSense Wireless Controller]# [NEW] Device 79:0A:BE:9C:8E:3F 79-0A-BE-9C-8E-3F
[DualSense Wireless Controller]# [CHG] Device 44:FB:CE:14:83:10 RSSI: 0xffffffc3 (-61)
[DualSense Wireless Controller]# [CHG] Device 4E:12:40:23:59:3F RSSI: 0xffffffaf (-81)
[DualSense Wireless Controller]# [CHG] Device 00:04:4B:AF:BF:AB RSSI: 0xffffffae (-82)
[DualSense Wireless Controller]#

if anyone else happens to try this, you can easily rollback with

sudo rpm-ostree rollback

@CraigWatt
Copy link

CraigWatt commented Oct 22, 2024

bazzite@192:~$ rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:60f6adbb2243bc30cdfdbad16d4abec69a46231630e01ac099580f830114cc02
Version: 40.20241020 (2024-10-21T05:06:16Z)
LayeredPackages: bluez-tools

fedora:fedora/rawhide/x86_64/silverblue
Version: Rawhide.20241022.n.0 (2024-10-22T06:15:22Z)
BaseCommit: 17fbcdfa32a63e063b67ed2aca158517c31d591b3c2732ccbf994583bc606bd5
GPGSignature: Valid signature by B0F4950458F69E1150C6C5EDC8AC4916105EF944
LayeredPackages: bluez-tools
bazzite@192:$ uname -r
6.9.12-210.fsync.fc40.x86_64
bazzite@192:
$ rpm -qa | grep -i bluetooth
NetworkManager-bluetooth-1.46.2-1.fc40.x86_64
bazzite@192:~$

above is how things look when on 40.20241020

Below is how things look on rawhide:

bazzite@192:~$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/rawhide/x86_64/silverblue
Version: Rawhide.20241022.n.0 (2024-10-22T06:15:22Z)
BaseCommit: 17fbcdfa32a63e063b67ed2aca158517c31d591b3c2732ccbf994583bc606bd5
GPGSignature: Valid signature by B0F4950458F69E1150C6C5EDC8AC4916105EF944
LayeredPackages: bluez-tools

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:60f6adbb2243bc30cdfdbad16d4abec69a46231630e01ac099580f830114cc02
Version: 40.20241020 (2024-10-21T05:06:16Z)
LayeredPackages: bluez-tools
bazzite@192:$ uname -r
6.12.0-0.rc4.39.fc42.x86_64
bazzite@192:
$ rpm -qa | grep -i bluetooth
gnome-bluetooth-libs-47.1-1.fc42.x86_64
gnome-bluetooth-47.1-1.fc42.x86_64
NetworkManager-bluetooth-1.51.2-1.fc42.x86_64
bazzite@192:~$

@CraigWatt
Copy link

CraigWatt commented Oct 22, 2024

  1. Kernel Version

    Bazzite (40.20241020): Running kernel 6.9.12-210.fsync.fc40.x86_64
    Rawhide (20241022): Running kernel 6.12.0-0.rc4.39.fc42.x86_64
    Key Difference: The newer kernel version in Fedora Rawhide (6.12) likely includes updates and fixes for the Bluetooth stack and the MediaTek MT7925 chipset that are missing in the older 6.9.12 kernel. These changes could improve hardware support and resolve issues like the Opcode 0x0c03 failure.

  2. Bluetooth-Related Packages

    Bazzite:
    NetworkManager-bluetooth-1.46.2-1.fc40
    Rawhide:
    NetworkManager-bluetooth-1.51.2-1.fc42
    gnome-bluetooth-47.1-1.fc42
    gnome-bluetooth-libs-47.1-1.fc42
    Key Difference: The Rawhide environment has newer versions of Bluetooth-related packages (NetworkManager-bluetooth version 1.51.2 vs. 1.46.2 on Bazzite), and also includes additional packages (gnome-bluetooth and gnome-bluetooth-libs), which may provide better Bluetooth integration and support for GNOME desktops.

@CraigWatt
Copy link

CraigWatt commented Oct 22, 2024

"Here’s a detailed comparison of Bazzite 40.2 (based on Fedora 40) and Fedora Rawhide (as of October 22, 2024), focusing on kernel and Bluetooth-related packages:
Kernel Version

Bazzite 40.2 (40.20241020): Running kernel 6.9.12-210.fsync.fc40.x86_64
Fedora Rawhide (20241022): Running kernel 6.12.0-0.rc4.39.fc42.x86_64

Key Difference:

The newer kernel in Fedora Rawhide (6.12) brings updates and bug fixes to the Bluetooth stack, including potentially enhanced support for the MediaTek MT7925 chipset. These improvements are not present in the older 6.9.12 kernel on Bazzite, which could affect hardware support and Bluetooth functionality, potentially resolving issues like the Opcode 0x0c03 failure.

Bluetooth-Related Packages
NetworkManager-bluetooth

Bazzite: 1.46.2-1.fc40
Rawhide: 1.51.2-1.fc42

Key Difference: The Rawhide version (1.51.2) offers more recent enhancements and bug fixes for managing Bluetooth connections. These improvements can help provide better compatibility with newer Bluetooth devices and smoother integration within the GNOME environment.
gnome-bluetooth

Bazzite: 46.1-1.fc40
Rawhide: 47.1-1.fc42

gnome-bluetooth-libs

Bazzite: 46.1-1.fc40
Rawhide: 47.1-1.fc42

Key Difference: Fedora Rawhide features the latest GNOME Bluetooth versions (47.1), which include updates aligned with GNOME 47, offering better integration, support for newer devices, and potential UI enhancements over GNOME Bluetooth 46.1 found in Bazzite.
Summary

Kernel Version: Fedora Rawhide's kernel (6.12) may provide better Bluetooth support, especially for newer hardware like the MediaTek MT7925 chipset, compared to Bazzite’s older 6.9.12 kernel.

Bluetooth-Related Packages: Rawhide has newer versions of Bluetooth-related packages, including NetworkManager-bluetooth and GNOME Bluetooth components. These updates potentially offer improved Bluetooth management, GNOME integration, and support for the latest Bluetooth devices.

The combination of a more recent kernel and updated Bluetooth packages in Fedora Rawhide makes it better equipped to handle modern Bluetooth hardware and address potential issues found in older software versions like those on Bazzite 40.2."

ANYWAY

I'm not sure if the gnome-bluetooth libraries will end up being relevant but installed anyway just to see if they had any affect, but no.

next step could maybe be manually downloading and installing the later NetworkManager-bluetooth package using

rpm-ostree install .rpm

but really not sure how far we want to stray from

https://docs.bazzite.gg/Installing_and_Managing_Software/rpm-ostree/

and

sudo rpm-ostree upgrade

(note, i did try the above with something like:

sudo rpm-ostree override replace ./NetworkManager-1.51.2-1.fc42.x86_64.rpm ./NetworkManager-wwan-1.51.2-1.fc42.x86_64.rpm ./NetworkManager-bluetooth-1.51.2-1.fc42.x86_64.rpm

downloaded from: https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/n/

but there are so many dependencies that it doesn't install in this granular way...)

If that ISN'T the fix, then i guess it's the kernel... which is another can of worms that would pull as away even further form bazzite currently.

Would be nice to here an opinion from a more experienced bazzite developer/maintainer at this point.

@CraigWatt
Copy link

here's how things look switching to unstable tag from

https://github.com/ublue-os/bazzite/pkgs/container/bazzite-deck

bazzite@192:~$ rpm-ostree status
State: idle
Deployments:
● ostree-unverified-registry:ghcr.io/ublue-os/bazzite-deck:unstable
Digest: sha256:1b6de571626896c13b5c3a3e5573e0b271386d60162057855958dc607c7461b0
Version: unstable-41.20241022 (2024-10-22T14:33:38Z)
LayeredPackages: bluez-tools gnome-bluetooth gnome-bluetooth-libs

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
Digest: sha256:60f6adbb2243bc30cdfdbad16d4abec69a46231630e01ac099580f830114cc02
Version: 40.20241020 (2024-10-21T05:06:16Z)
LayeredPackages: bluez-tools gnome-bluetooth gnome-bluetooth-libs
bazzite@192:$ uname -r
6.11.4-305.bazzite.fc41.x86_64
bazzite@192:
$ rpm -qa | grep -i bluetooth
NetworkManager-bluetooth-1.50.0-1.fc41.x86_64
gnome-bluetooth-libs-47rc-1.fc41.x86_64
gnome-bluetooth-47
rc-1.fc41.x86_64
bazzite@192:$ bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# power on
No default controller available
[bluetooth]# exit
bazzite@192:
$ sudo dmesg | grep -i bluetooth
[sudo] password for bazzite:
[ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-39e43ca7e3137aef3767a05639a9ffa63b5b73be5b85e366b0eb3a2a6e30fc48/vmlinuz-6.11.4-305.bazzite.fc41.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/39e43ca7e3137aef3767a05639a9ffa63b5b73be5b85e366b0eb3a2a6e30fc48/0 bluetooth.disable_ertm=1 preempt=full
[ 0.020710] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-39e43ca7e3137aef3767a05639a9ffa63b5b73be5b85e366b0eb3a2a6e30fc48/vmlinuz-6.11.4-305.bazzite.fc41.x86_64 rhgb quiet root=UUID=fc3495d1-5186-4c3d-9019-7e7633b5f9d7 rootflags=subvol=root rw ostree=/ostree/boot.1/default/39e43ca7e3137aef3767a05639a9ffa63b5b73be5b85e366b0eb3a2a6e30fc48/0 bluetooth.disable_ertm=1 preempt=full
[ 5.037552] Bluetooth: Core ver 2.22
[ 5.037582] NET: Registered PF_BLUETOOTH protocol family
[ 5.037583] Bluetooth: HCI device and connection manager initialized
[ 5.037590] Bluetooth: HCI socket layer initialized
[ 5.037593] Bluetooth: L2CAP socket layer initialized
[ 5.037598] Bluetooth: SCO socket layer initialized
[ 5.062322] Bluetooth: hci0: Opcode 0x0c03 failed: -16
[ 6.978121] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.978126] Bluetooth: BNEP filters: protocol multicast
[ 6.978131] Bluetooth: BNEP socket layer initialized
[ 19.851345] spd5118 bluetooth apple_mfi_fastcharge snd_pcm kvm cfg80211 snd_pci_acp5x snd_timer snd_rn_pci_acp3x snd_acp_config snd igc rfkill snd_soc_acpi i2c_piix4 snd_pci_acp3x k10temp soundcore rapl i2c_smbus pcspkr tcp_bbr sch_fq ryzen_smu(OE) hid_playstation led_class_multicolor ff_memless loop nfnetlink lz4 lz4_compress zram amdgpu amdxcp drm_exec gpu_sched crct10dif_pclmul crc32_pclmul drm_buddy i2c_algo_bit crc32c_intel polyval_clmulni drm_suballoc_helper polyval_generic drm_display_helper nvme ghash_clmulni_intel cec sha512_ssse3 nvme_core sha256_ssse3 drm_ttm_helper sha1_ssse3 ttm sp5100_tco nvme_auth video wmi hid_apple v4l2loopback(OE) videodev mc scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables kvmfr(OE) gcadapter_oc(OE) fuse i2c_dev dm_multipath
bazzite@192:~$

given the latest bazzite unstable tag still doesn't work, can contributors advise? it is at least a good sign that things work on rawhide

@t1gu1
Copy link
Author

t1gu1 commented Oct 23, 2024

Thank for your time and research!

What a relief to know that it will be added/fix in the kernel 6.12.0

Sadly the 6.12 is in release candidate from what I see.

BUT it seems that it will release near the same time of Fedora 41?

The final release of the kernel 6.12 may occur on either November 17 or November 24.

So I cross fingers that Fedora 41 will be shipped with the kernel 6.12.

But sadly I'm pretty sure that it will be ship with the 6.11 kernel as the future bazzite update that will come after that.. :/

P.S
A lot of hope and speculation here.

@t1gu1
Copy link
Author

t1gu1 commented Oct 25, 2024

I did go on the bazzite Discord to know if there was a way to install a different Kernel in the current version.

The end of the discussion ended on the fact that the fix will be present in a future fix version of the 6.11.

Also, just in case, someone create an merge request with a cherry pick of the fix here: https://github.com/hhd-dev/kernel-bazzite/releases/tag/6.11.5-302

So, we just have to wait the fedora 41 release and few weeks i guess, the time they create the Bazzite release base on that. :D

@t1gu1
Copy link
Author

t1gu1 commented Oct 27, 2024

It works now in the testing branch of bazzite that you can use with that command: bazzite-rollback-helper rebase testing

I think it will be coming out this Tuesday in stable! :D

P.S. Check the message in the terminal to be sure to not have any error. If you got some, you will have to run sudo rpm-ostree reset then try the first command again.

@t1gu1
Copy link
Author

t1gu1 commented Oct 28, 2024

I'll close the issue since it will be available this tuesday in stable and it is already available on the testing channel of bazzite OS.
Also, i confirm that it is working.

Thx @CraigWatt for the research and testing on your side and the Bazzite team on the Discord. <3

@t1gu1 t1gu1 closed this as completed Oct 28, 2024
@CraigWatt
Copy link

Awesome, I'll also test as well just to be sure on my side, thanks all!

@CraigWatt
Copy link

image

SUCCESS!! Even on bazzite-deck gaming mode or whatever it's called 😄

This is on 'unstable'

So I'll switch to stable tomorrow or Wednesday and test once more then 👍

@CraigWatt
Copy link

Can confirm, stable build Bluetooth works !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants