Bug#1028116: linux-image-6.0.0-4-amd64: Bluetooth no longer working with Mediatek MT7921K chipset

2023-01-26 Thread Matthew McAllister

Hi again,

I found the time to tinker on my computer the past week. I installed 6.1.4-1 
and 5.19.11-1 and neither kernel them worked; eventually I came to the 
conclusion my hardware is faulty. There's a thread in debian-user about it.

Thank you for your help; you should close this report as I no longer have 
reason to believe this is a software issue.

Matthew



Bug#1028116: linux-image-6.0.0-4-amd64: Bluetooth no longer working with Mediatek MT7921K chipset

2023-01-07 Thread Matthew McAllister
Sorry for my mistake. I upgraded to 6.0.12-1 and still no bluetooth. I 
additionally downgraded to 5.10.149-2, and that version had no bluetooth 
and no wifi support either. I wasn't able to even install 5.19.11-1; I 
suspect 5.19 may have been the last version I had installed where 
bluetooth actually worked.


I don't know how to install experimental kernel versions on testing, but 
I'm willing to try it out or compile it myself.


Matthew

On 1/7/23 1:40 AM, Salvatore Bonaccorso wrote:

Control: tags -1 + moreinfo

Hi Matthew,

On Fri, Jan 06, 2023 at 09:24:11PM -0800, Matthew McAllister wrote:

Package: src:linux
Version: 6.0.8-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: matthew.mcalliste...@gmail.com

Dear Maintainer,

Bluetooth is no longer usable with this chipset on this kernel version.
/sys/class/bluetooth is not present after booting or rebooting. There are no
lines relating to bluetooth in dmesg. Here is the relevant part of lsmod:
mt7921e32768  0
mt7921_common  94208  1 mt7921e
mt76_connac_lib73728  2 mt7921e,mt7921_common
mt76  106496  3 mt7921e,mt7921_common,mt76_connac_lib
mac80211 1159168  3 mt76,mt7921_common,mt76_connac_lib
cfg80211 1118208  4 mt76,mac80211,mt7921_common,mt76_connac_lib

WiFi *does* continue to work with this chipset. Only bluetooth seems to be
affected.

As 6.0.8-1 is not the most recent kernel in testing, can you test with
6.0.12-1 as well, or ideally even better with 6.1.2-1~exp1? Does the
problem persist there?

If yes, would you be able to bisect against an older known working
kernel version to identify where the problem arise and got introduced?

Regards,
Salvatore




Bug#1028116: linux-image-6.0.0-4-amd64: Bluetooth no longer working with Mediatek MT7921K chipset

2023-01-06 Thread Matthew McAllister
Package: src:linux
Version: 6.0.8-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: matthew.mcalliste...@gmail.com

Dear Maintainer,

Bluetooth is no longer usable with this chipset on this kernel version.
/sys/class/bluetooth is not present after booting or rebooting. There are no
lines relating to bluetooth in dmesg. Here is the relevant part of lsmod:
mt7921e32768  0
mt7921_common  94208  1 mt7921e
mt76_connac_lib73728  2 mt7921e,mt7921_common
mt76  106496  3 mt7921e,mt7921_common,mt76_connac_lib
mac80211 1159168  3 mt76,mt7921_common,mt76_connac_lib
cfg80211 1118208  4 mt76,mac80211,mt7921_common,mt76_connac_lib

WiFi *does* continue to work with this chipset. Only bluetooth seems to be
affected.

Matthew


-- Package-specific info:
** Version:
Linux version 6.0.0-4-amd64 (debian-ker...@lists.debian.org) (gcc-12 (Debian 
12.2.0-9) 12.2.0, GNU ld (GNU Binutils for Debian) 2.39) #1 SMP PREEMPT_DYNAMIC 
Debian 6.0.8-1 (2022-11-11)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.0.0-4-amd64 
root=UUID=07b1d3ad-a765-4cd2-a24d-044a7e997478 ro quiet

** Tainted: POE (12289)
 * proprietary module was loaded
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[   71.178040] input: HDA NVidia HDMI/DP,pcm=8 as 
/devices/pci:00/:00:03.1/:07:00.1/sound/card0/input15
[   71.178071] input: HDA NVidia HDMI/DP,pcm=9 as 
/devices/pci:00/:00:03.1/:07:00.1/sound/card0/input16
[   71.178096] input: HDA NVidia HDMI/DP,pcm=10 as 
/devices/pci:00/:00:03.1/:07:00.1/sound/card0/input17
[   71.178121] input: HDA NVidia HDMI/DP,pcm=11 as 
/devices/pci:00/:00:03.1/:07:00.1/sound/card0/input18
[   71.178145] input: HDA NVidia HDMI/DP,pcm=12 as 
/devices/pci:00/:00:03.1/:07:00.1/sound/card0/input19
[   71.183320] input: HDA Digital PCBeep as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input12
[   71.183344] input: HD-Audio Generic Front Mic as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input20
[   71.183367] input: HD-Audio Generic Rear Mic as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input21
[   71.183390] input: HD-Audio Generic Line as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input22
[   71.183418] input: HD-Audio Generic Line Out Front as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input23
[   71.183439] input: HD-Audio Generic Line Out Surround as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input24
[   71.183460] input: HD-Audio Generic Line Out CLFE as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input25
[   71.183484] input: HD-Audio Generic Front Headphone as 
/devices/pci:00/:00:08.1/:09:00.4/sound/card1/input26
[   71.195072] mt7921e :06:00.0: enabling device ( -> 0002)
[   71.211276] mt7921e :06:00.0: ASIC revision: 79610010
[   71.276498] nvidia: loading out-of-tree module taints kernel.
[   71.276506] nvidia: module license 'NVIDIA' taints kernel.
[   71.276507] Disabling lock debugging due to kernel taint
[   71.283456] nvidia: module verification failed: signature and/or required 
key missing - tainting kernel
[   71.294358] input: UVC Camera (046d:081b) as 
/devices/pci:00/:00:01.2/:02:00.0/usb1/1-3/1-3.1/1-3.1:1.0/input/input27
[   71.294365] mt7921e :06:00.0: firmware: direct-loading firmware 
mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[   71.294368] mt7921e :06:00.0: HW/SW Version: 0x8a108a10, Build Time: 
20221109110918a

[   71.294406] usbcore: registered new interface driver uvcvideo
[   71.304542] mt7921e :06:00.0: firmware: direct-loading firmware 
mediatek/WIFI_RAM_CODE_MT7961_1.bin
[   71.304545] mt7921e :06:00.0: WM Firmware Version: 01, Build 
Time: 20221109111005
[   71.325478] nvidia-nvlink: Nvlink Core is being initialized, major device 
number 243

[   71.326050] nvidia :07:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=io+mem
[   71.335981] RAPL PMU: API unit is 2^-32 Joules, 1 fixed counters, 163840 ms 
ovfl timer
[   71.335983] RAPL PMU: hw unit of domain package 2^-16 Joules
[   71.337740] cryptd: max_cpu_qlen set to 1000
[   71.344041] AVX2 version of gcm_enc/dec engaged.
[   71.344075] AES CTR mode by8 optimization enabled
[   71.376111] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.108.03  Thu 
Oct 20 05:10:45 UTC 2022
[   71.433031] kvm: support for 'kvm_amd' disabled by bios
[   71.704379] MCE: In-kernel MCE decoding enabled.
[   71.705994] kvm: support for 'kvm_amd' disabled by bios
[   71.713539] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for 
UNIX platforms  510.108.03  Thu Oct 20 05:00:22 UTC 2022
[   71.886819] kvm: support for 'kvm_amd' disabled by bios
[   71.894642] intel_rapl_common: Found RAPL domain package
[   71.894644] intel_rapl_common: Found RAPL domain core
[   71.990590] kvm: support