понедельник

[Bug 2095367] [NEW] unable to enable bluetooth, but you have firmware installed

Public bug reported:

Whenever I boot, the following error message always appears in dmesg,
suggesting an issue with Bluetooth, likely with initializing the
bluetooth adapter:

[ 54.902144] Bluetooth: hci0: Opcode 0x0c03 failed: -16

When I try to enable bluetooth in System Settings, nothing happens. The
enable button continues to show, even after clicking it multiple times.
The Bluetooth widget in the system tray allows me to 'add devices', but
the dialogue shows no devices, even though I have bluetooth devices
active and ready to pair.

##

$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04

# source package?
$ uname -a
Linux pm-cpp 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ bluetoothctl --version
bluetoothctl: 5.72

$ dpkg -l | grep bluez
ii bluez 5.72-0ubuntu5 amd64 Bluetooth tools and daemons
ii bluez-cups 5.72-0ubuntu5 amd64 Bluetooth printer driver for CUPS
ii bluez-obexd 5.72-0ubuntu5 amd64 bluez obex daemon
ii libkf5bluezqt-data 5.115.0-0ubuntu6 all data files for bluez-qt
ii libkf5bluezqt6:amd64 5.115.0-0ubuntu6 amd64 Qt wrapper for bluez
ii qml-module-org-kde-bluezqt:amd64 5.115.0-0ubuntu6 amd64 QML wrapper for bluez


From lsusb:

Bus 003 Device 006: ID 13d3:3602 IMC Networks Wireless_Device

From usb-devices:

usb-devices:
Bus=03 Lev=01 Prnt=08 Port=13 Cnt=01 Dev#= 6 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=13d3 ProdID=3602 Rev=01.00
S: Manufacturer=MediaTek Inc.
S: Product=Wireless_Device
S: SerialNumber=000000000

$ inxi -Eaz
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-14:6
chip-ID: 13d3:3602 class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address:
Info: acl-mtu: 0:0 sco-mtu: 0:0 link-mode: peripheral accept

$ bluetoothctl info
Missing device address argument
No default controller available

systemctl status bluetooth.service shows that bluetooth service is
enabled and running.

rfkill list shows no blocks.

When I internet search for chip ID 13d3:3602, I find a couple pages that
refer to it as the Mediatek MT7925 card. E.g.:
https://github.com/bluez/bluez/issues/995

Conclusion: The manufacturer is MediaTek; the vendor is IMC Networks;
the product name is Wireless_Device and the card goes by the name
Mediatek MT7925.

I've looked online for linux drivers for MT7925 and thought about
putting those drivers on my system in the directory
/lib/firmware/mediatek/mt7925 . However, the drivers already are in
that directory. So the system already has the firmware for this device.
The problem is that either linux itself or some related software such as
bluez is not initializing the device. This strikes me as an unintended
bug.

I have seen discussion online that the MT7925 card works starting with
kernel 6.11.5, on another Debian OS (nix). Kubuntu 24.04, however, is
on kernel 6.8.0. I like the stability of 24.04 and have put a lot of
time into setting up hibernation and software. I hope a fix can be made
available for my bluetooth.

What I expected to happen: Bluetooth can be enabled, can see devices,
can pair with devices, and can deliver audio.

What happened instead: Bluetooth cannot be enabled, so it cannot see
devices, pair with them, or deliver audio.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-51-generic 6.8.0-51.52
ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12
Uname: Linux 6.8.0-51-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: pm 4850 F.... pipewire
/dev/snd/controlC0: pm 4852 F.... wireplumber
/dev/snd/controlC1: pm 4852 F.... wireplumber
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Jan 20 11:15:48 2025
HibernationDevice: RESUME=UUID=f2799cf1-38b5-43b9-80b1-9f330e95c354
InstallationDate: Installed on 2024-12-22 (29 days ago)
InstallationMedia: Kubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827)
MachineType: CyberPowerPC GamingPC
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-51-generic root=UUID=d7e17bac-b56c-4498-b5e0-e249bd682b7d ro quiet cryptdevice=UUID=c8b193ba-0124-495f-a549-091eb877b76a:luks-c8b193ba-0124-495f-a549-091eb877b76a root=/dev/mapper/luks-c8b193ba-0124-495f-a549-091eb877b76a splash resume=UUID=f2799cf1-38b5-43b9-80b1-9f330e95c354 "acpi_osi=Windows 2022" vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-6.8.0-51-generic N/A
linux-backports-modules-6.8.0-51-generic N/A
linux-firmware 20240318.git3b128b60-0ubuntu2.6
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/25/2024
dmi.bios.release: 10.5
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1005
dmi.board.asset.tag: Default string
dmi.board.name: Z890 MAX GAMING WIFI7
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1005:bd11/25/2024:br10.5:svnCyberPowerPC:pnGamingPC:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ890MAXGAMINGWIFI7:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuCPPC-SYSTEM-US:
dmi.product.family: C Series
dmi.product.name: GamingPC
dmi.product.sku: CPPC-SYSTEM-US
dmi.product.version: System Version
dmi.sys.vendor: CyberPowerPC

** Affects: linux (Ubuntu)
Importance: Undecided
Status: New


** Tags: amd64 apport-bug noble

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2095367

Title:
unable to enable bluetooth, but you have firmware installed

Status in linux package in Ubuntu:
New

Bug description:
Whenever I boot, the following error message always appears in dmesg,
suggesting an issue with Bluetooth, likely with initializing the
bluetooth adapter:

[ 54.902144] Bluetooth: hci0: Opcode 0x0c03 failed: -16

When I try to enable bluetooth in System Settings, nothing happens.
The enable button continues to show, even after clicking it multiple
times. The Bluetooth widget in the system tray allows me to 'add
devices', but the dialogue shows no devices, even though I have
bluetooth devices active and ready to pair.

##

$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04

# source package?
$ uname -a
Linux pm-cpp 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ bluetoothctl --version
bluetoothctl: 5.72

$ dpkg -l | grep bluez
ii bluez 5.72-0ubuntu5 amd64 Bluetooth tools and daemons
ii bluez-cups 5.72-0ubuntu5 amd64 Bluetooth printer driver for CUPS
ii bluez-obexd 5.72-0ubuntu5 amd64 bluez obex daemon
ii libkf5bluezqt-data 5.115.0-0ubuntu6 all data files for bluez-qt
ii libkf5bluezqt6:amd64 5.115.0-0ubuntu6 amd64 Qt wrapper for bluez
ii qml-module-org-kde-bluezqt:amd64 5.115.0-0ubuntu6 amd64 QML wrapper for bluez


From lsusb:

Bus 003 Device 006: ID 13d3:3602 IMC Networks Wireless_Device

From usb-devices:

usb-devices:
Bus=03 Lev=01 Prnt=08 Port=13 Cnt=01 Dev#= 6 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=13d3 ProdID=3602 Rev=01.00
S: Manufacturer=MediaTek Inc.
S: Product=Wireless_Device
S: SerialNumber=000000000

$ inxi -Eaz
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-14:6
chip-ID: 13d3:3602 class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address:
Info: acl-mtu: 0:0 sco-mtu: 0:0 link-mode: peripheral accept

$ bluetoothctl info
Missing device address argument
No default controller available

systemctl status bluetooth.service shows that bluetooth service is
enabled and running.

rfkill list shows no blocks.

When I internet search for chip ID 13d3:3602, I find a couple pages
that refer to it as the Mediatek MT7925 card. E.g.:
https://github.com/bluez/bluez/issues/995

Conclusion: The manufacturer is MediaTek; the vendor is IMC Networks;
the product name is Wireless_Device and the card goes by the name
Mediatek MT7925.

I've looked online for linux drivers for MT7925 and thought about
putting those drivers on my system in the directory
/lib/firmware/mediatek/mt7925 . However, the drivers already are in
that directory. So the system already has the firmware for this
device. The problem is that either linux itself or some related
software such as bluez is not initializing the device. This strikes
me as an unintended bug.

I have seen discussion online that the MT7925 card works starting with
kernel 6.11.5, on another Debian OS (nix). Kubuntu 24.04, however, is
on kernel 6.8.0. I like the stability of 24.04 and have put a lot of
time into setting up hibernation and software. I hope a fix can be
made available for my bluetooth.

What I expected to happen: Bluetooth can be enabled, can see devices,
can pair with devices, and can deliver audio.

What happened instead: Bluetooth cannot be enabled, so it cannot see
devices, pair with them, or deliver audio.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-51-generic 6.8.0-51.52
ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12
Uname: Linux 6.8.0-51-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: pm 4850 F.... pipewire
/dev/snd/controlC0: pm 4852 F.... wireplumber
/dev/snd/controlC1: pm 4852 F.... wireplumber
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Mon Jan 20 11:15:48 2025
HibernationDevice: RESUME=UUID=f2799cf1-38b5-43b9-80b1-9f330e95c354
InstallationDate: Installed on 2024-12-22 (29 days ago)
InstallationMedia: Kubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827)
MachineType: CyberPowerPC GamingPC
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-51-generic root=UUID=d7e17bac-b56c-4498-b5e0-e249bd682b7d ro quiet cryptdevice=UUID=c8b193ba-0124-495f-a549-091eb877b76a:luks-c8b193ba-0124-495f-a549-091eb877b76a root=/dev/mapper/luks-c8b193ba-0124-495f-a549-091eb877b76a splash resume=UUID=f2799cf1-38b5-43b9-80b1-9f330e95c354 "acpi_osi=Windows 2022" vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-6.8.0-51-generic N/A
linux-backports-modules-6.8.0-51-generic N/A
linux-firmware 20240318.git3b128b60-0ubuntu2.6
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/25/2024
dmi.bios.release: 10.5
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1005
dmi.board.asset.tag: Default string
dmi.board.name: Z890 MAX GAMING WIFI7
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1005:bd11/25/2024:br10.5:svnCyberPowerPC:pnGamingPC:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ890MAXGAMINGWIFI7:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuCPPC-SYSTEM-US:
dmi.product.family: C Series
dmi.product.name: GamingPC
dmi.product.sku: CPPC-SYSTEM-US
dmi.product.version: System Version
dmi.sys.vendor: CyberPowerPC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2095367/+subscriptions

Комментариев нет:

Отправить комментарий