| Summary: | Mediatek Bluetooth ignores some devices (Xbox controller) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Ezequiel Partida <ezequiel_partida> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
$ lsmod | grep Bluetooth Shows nothing. But, $ dmesg | grep Bluetooth [sudo] password for ezequiel: [ 8.731848] Bluetooth: Core ver 2.22 [ 8.731862] Bluetooth: HCI device and connection manager initialized [ 8.731864] Bluetooth: HCI socket layer initialized [ 8.731866] Bluetooth: L2CAP socket layer initialized [ 8.731868] Bluetooth: SCO socket layer initialized [ 8.745334] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 8.887723] Bluetooth: hci0: Device setup in 147549 usecs [ 8.887727] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 9.157833] Bluetooth: hci0: AOSP extensions version v0.96 [ 9.157836] Bluetooth: hci0: AOSP quality report is not supported [ 13.448374] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.448377] Bluetooth: BNEP filters: protocol multicast [ 13.448382] Bluetooth: BNEP socket layer initialized [ 13.449131] Bluetooth: MGMT ver 1.22 [ 13.467098] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 13.627744] Bluetooth: hci0: Device setup in 165708 usecs [ 13.627747] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 13.910328] Bluetooth: hci0: AOSP extensions version v0.96 [ 13.910332] Bluetooth: hci0: AOSP quality report is not supported [ 32.623641] Bluetooth: RFCOMM TTY layer initialized [ 32.623645] Bluetooth: RFCOMM socket layer initialized [ 32.623648] Bluetooth: RFCOMM ver 1.11 [ 102.436613] Bluetooth: hci1: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [ 102.441604] Bluetooth: hci1: RTL: rom_version status=0 version=1 [ 102.441607] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_fw.bin [ 102.448047] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_config.bin [ 102.448120] Bluetooth: hci1: RTL: cfg_sz 10, total sz 34926 [ 104.008687] Bluetooth: hci1: RTL: fw version 0x75b8f098 [ 104.248814] Bluetooth: MGMT ver 1.22 [ 180.132534] Bluetooth: hci1: unexpected cc 0x0c7c length: 1 < 3 [ 218.300293] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 218.452999] Bluetooth: hci0: Device setup in 157621 usecs [ 218.453005] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 218.732390] Bluetooth: hci0: AOSP extensions version v0.96 [ 218.732395] Bluetooth: hci0: AOSP quality report is not supported [ 270.885271] Bluetooth: hci1: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [ 270.891272] Bluetooth: hci1: RTL: rom_version status=0 version=1 [ 270.891275] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_fw.bin [ 270.891324] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_config.bin [ 270.891342] Bluetooth: hci1: RTL: cfg_sz 10, total sz 34926 [ 272.468289] Bluetooth: hci1: RTL: fw version 0x75b8f098 [ 272.708525] Bluetooth: MGMT ver 1.22 [ 273.065295] Bluetooth: hci1: Bad flag given (0x1) vs supported (0x0) [ 273.371264] Bluetooth: hci1: unexpected cc 0x0c7c length: 1 < 3 Thank you for the report, and the supporting evidence. It would be interesting to know whether the problematic Mediatek Bluetooth device functions with any other Bluetooth peripheral then just the Xbox - say keyboard or mouse, if you have either. "it works great with my other laptops both on mageia and windows, I even tried another bluetooth USB key and it also works" So definitely a Mediatek Bluetooth device-specific problem. Assigning to kernel/drivers. Assignee:
bugsquad =>
kernel |
This is strange, I got a new xbox controller and I was able to pair it on mageia, except that if I rebooted I had to remove it and repair it again since it did not autopair, on the other hand my ps4 controller pairs in 3 seconds after I turn it on, my PC has a Mediatek Bluetooth chip. I connected the controller to windows 10 and upgraded it's firmware hoping it would fix the pairing problem mageia, since then I cannot even see the xbox controller on the devices list when scanning, it works great with my other laptops both on mageia and windows, I even tried another bluetooth USB key and it also works except on Mediatek's, this problem is only on mageia, in window works without any problems. I guess the linux driver has a problem with the new firmware. I got this output usin: $ lsusb; lspci -nnk | grep -iA3 net; hciconfig -a; dmesg | egrep -i 'blue|firm' Bus 012 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 011 Device 005: ID 152d:2339 JMicron Technology Corp. / JMicron USA Technology Corp. JM20339 SATA Bridge Bus 011 Device 004: ID 0b05:197b ASUSTek Computer, Inc. ROG GLADIUS III Bus 011 Device 003: ID 03f0:0b8f HP, Inc HyperX Alloy MKW100 Bus 011 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 007: ID 03f0:0620 HP, Inc USB3.1 Hub Bus 006 Device 006: ID 03f0:0620 HP, Inc USB3.1 Hub Bus 006 Device 003: ID 03f0:0620 HP, Inc USB3.1 Hub Bus 006 Device 002: ID 03f0:0620 HP, Inc USB3.1 Hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 007: ID 2516:0051 Cooler Master Co., Ltd. AMD SR4 lamplight Control Bus 005 Device 005: ID 0e8d:0616 MediaTek Inc. Wireless_Device Bus 005 Device 003: ID 048d:5702 Integrated Technology Express, Inc. RGB LED Controller Bus 005 Device 018: ID 03f0:2247 HP, Inc E273m Bus 005 Device 017: ID 04f2:b5f3 Chicony Electronics Co., Ltd HP Display Camera Bus 005 Device 016: ID 03f0:1847 HP, Inc USB2.1 Hub Bus 005 Device 015: ID 03f0:1847 HP, Inc USB2.1 Hub Bus 005 Device 008: ID 03f0:2247 HP, Inc E273m Bus 005 Device 006: ID 04f2:b5f3 Chicony Electronics Co., Ltd HP Display Camera Bus 005 Device 004: ID 03f0:1847 HP, Inc USB2.1 Hub Bus 005 Device 002: ID 03f0:1847 HP, Inc USB2.1 Hub Bus 005 Device 009: ID 0cf2:a200 ENE Technology, Inc. LianLi-Strimer Plus-1.5 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 0e:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05) Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000] Kernel driver in use: r8169 Kernel modules: r8169 0f:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] Kernel driver in use: mt7921e Kernel modules: mt7921e 11:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01) hci0: Type: Primary Bus: USB BD Address: F0:A6:54:13:DA:FA ACL MTU: 1021:6 SCO MTU: 240:8 UP RUNNING PSCAN RX bytes:3532 acl:0 sco:0 events:368 errors:0 TX bytes:8103 acl:0 sco:0 commands:341 errors:0 Features: 0xbf 0x3e 0x8d 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: PERIPHERAL ACCEPT Name: 'GamerRyzen7' Class: 0x7c0104 Service Classes: Rendering, Capturing, Object Transfer, Audio, Telephony Device Class: Computer, Desktop workstation HCI Version: 5.2 (0xb) Revision: 0x2320 LMP Version: 5.2 (0xb) Subversion: 0x2203 Manufacturer: MediaTek, Inc. (70) [ 5.502071] systemd[1]: systemd-pcrmachine.service was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f). [ 5.881388] mt7921e 0000:0f:00.0: WM Firmware Version: ____000000, Build Time: 20230627143946 [ 6.731583] [drm] Loading DMUB firmware via PSP: version=0x05000F00 [ 6.732271] [drm] Found VCN firmware Version ENC: 1.27 DEC: 2 VEP: 0 Revision: 0 [ 6.732276] amdgpu 0000:16:00.0: amdgpu: Will use PSP to load VCN firmware [ 8.731848] Bluetooth: Core ver 2.22 [ 8.731861] NET: Registered PF_BLUETOOTH protocol family [ 8.731862] Bluetooth: HCI device and connection manager initialized [ 8.731864] Bluetooth: HCI socket layer initialized [ 8.731866] Bluetooth: L2CAP socket layer initialized [ 8.731868] Bluetooth: SCO socket layer initialized [ 8.745334] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 8.887723] Bluetooth: hci0: Device setup in 147549 usecs [ 8.887727] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 9.157833] Bluetooth: hci0: AOSP extensions version v0.96 [ 9.157836] Bluetooth: hci0: AOSP quality report is not supported [ 13.448374] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.448377] Bluetooth: BNEP filters: protocol multicast [ 13.448382] Bluetooth: BNEP socket layer initialized [ 13.449131] Bluetooth: MGMT ver 1.22 [ 13.467098] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 13.627744] Bluetooth: hci0: Device setup in 165708 usecs [ 13.627747] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 13.910328] Bluetooth: hci0: AOSP extensions version v0.96 [ 13.910332] Bluetooth: hci0: AOSP quality report is not supported [ 32.623641] Bluetooth: RFCOMM TTY layer initialized [ 32.623645] Bluetooth: RFCOMM socket layer initialized [ 32.623648] Bluetooth: RFCOMM ver 1.11 [ 102.436613] Bluetooth: hci1: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [ 102.441604] Bluetooth: hci1: RTL: rom_version status=0 version=1 [ 102.441607] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_fw.bin [ 102.448047] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_config.bin [ 102.448120] Bluetooth: hci1: RTL: cfg_sz 10, total sz 34926 [ 102.492471] rtw_8821cu 3-5:1.2: Firmware version 24.11.0, H2C version 12 [ 104.008687] Bluetooth: hci1: RTL: fw version 0x75b8f098 [ 104.248814] Bluetooth: MGMT ver 1.22 [ 180.132534] Bluetooth: hci1: unexpected cc 0x0c7c length: 1 < 3 [ 182.885878] hid-generic 0005:045E:0B20.0012: input,hidraw15: BLUETOOTH HID v5.20 Gamepad [Xbox Wireless Controller] on 90:de:80:9c:78:5c [ 182.931539] microsoft 0005:045E:0B20.0012: input,hidraw15: BLUETOOTH HID v5.20 Gamepad [Xbox Wireless Controller] on 90:de:80:9c:78:5c [ 218.300293] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20230627144220 [ 218.452999] Bluetooth: hci0: Device setup in 157621 usecs [ 218.453005] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 218.732390] Bluetooth: hci0: AOSP extensions version v0.96 [ 218.732395] Bluetooth: hci0: AOSP quality report is not supported [ 270.882898] rtw_8821cu 3-5:1.2: Firmware version 24.11.0, H2C version 12 [ 270.885271] Bluetooth: hci1: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [ 270.891272] Bluetooth: hci1: RTL: rom_version status=0 version=1 [ 270.891275] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_fw.bin [ 270.891324] Bluetooth: hci1: RTL: loading rtl_bt/rtl8821c_config.bin [ 270.891342] Bluetooth: hci1: RTL: cfg_sz 10, total sz 34926 [ 272.468289] Bluetooth: hci1: RTL: fw version 0x75b8f098 [ 272.708525] Bluetooth: MGMT ver 1.22 [ 273.065295] Bluetooth: hci1: Bad flag given (0x1) vs supported (0x0) [ 273.371264] Bluetooth: hci1: unexpected cc 0x0c7c length: 1 < 3 [ 274.483302] microsoft 0005:045E:0B20.0013: input,hidraw15: BLUETOOTH HID v5.20 Gamepad [Xbox Wireless Controller] on 90:de:80:9c:78:5c Regards ZekeMX