
Originally Posted by
AstroNaut2021
this helps to fix bluetooth to me for 5.10.9.x and 5.10.12.x basically I need to build module with a bit another command(previous one build all kernel not just one bluetooth module)
Code:
$ make modules M=drivers/bluetooth
$ make modules_install M=drivers/bluetooth
but today with new updated kernel 5.10.16-1 I was trying to patch kernel 5.10.16 and faced with trouble
I found 2 patches:
#1 known as Bradley Jarvis' fix
https://bugzilla.kernel.org/attachment.cgi?id=294865
and
#2 known as Hui Wang fix
https://bugzilla.kernel.org/attachment.cgi?id=295107
This post is about that. But next post by karamba & igorog says it not working on 5.10.16 and some guys report even @5.11.1
Some reported that 5.11.2 has fix this issue
But
Code:
> uname -r
5.10.16-1-default
> cat /etc/os-release | grep PRETTY
PRETTY_NAME="openSUSE Tumbleweed"
# dmesg | grep hci0
[ 37.834056] Bluetooth: hci0: don't support firmware rome 0x1020200
[ 9136.881700] Bluetooth: hci0: don't support firmware rome 0x1020200
[10590.615083] Bluetooth: hci0: don't support firmware rome 0x1020200
# hwinfo --bluetooth
01: USB 00.0: 11500 Bluetooth Device
[Created at usb.122]
Unique ID: Bgjr.4UrQ7tQoO79
Parent ID: FKGF.4Nx_qoDfSd7
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
SysFS BusID: 2-1.5:1.0
Hardware Class: bluetooth
Model: "Qualcomm Atheros Bluetooth USB Host Controller"
Hotplug: USB
Vendor: usb 0x0cf3 "Qualcomm Atheros Communications"
Device: usb 0x311d "Bluetooth USB Host Controller"
Revision: "0.02"
Serial ID: "Alaska Day 2006"
Driver: "btusb"
Driver Modules: "btusb"
Speed: 12 Mbps
Module Alias: "usb:v0CF3p311Dd0002dcE0dsc01dp01icE0isc01ip01in00"
Driver Info #0:
Driver Status: ath3k is active
Driver Activation Cmd: "modprobe ath3k"
Driver Info #1:
Driver Status: btusb is active
Driver Activation Cmd: "modprobe btusb"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #3 (Hub)
# lsusb
Bus 002 Device 003: ID 0cf3:311d Qualcomm Atheros Communications Bluetooth
<skipped>
# rfkill
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked unblocked
3 bluetooth hci0 unblocked unblocked
I have patch kernel source (another directory not /usr/src/linux) with patch #1
Code:
> patch -R -p1 < path2patch/commit-b560a208cd.contropatch
but when I was try to build module I got error
Code:
make clean && make oldconfig && make prepare
with no errors
Code:
> make modules M=drivers/bluetooth
CC [M] drivers/bluetooth/hci_vhci.o
<skipped>
CC [M] drivers/bluetooth/btrsi.o
WARNING: Symbol version dump "Module.symvers" is missing.
Modules may not have dependencies or modversions.
MODPOST drivers/bluetooth/Module.symvers
WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
CC [M] drivers/bluetooth/ath3k.mod.o
make[2]: *** No rule to make target 'scripts/module.lds', needed by 'drivers/bluetooth/ath3k.ko'. Stop.
make[1]: *** [scripts/Makefile.modpost:122: __modpost] Error 2
make: *** [Makefile:1719: modules] Error 2
I am stuck here
So I have clean the files from drivers/bluetooth and copy from /usr/src
try to patch #2
Code:
> patch -R -p1 < path2patch/0001-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch
patching file drivers/bluetooth/btusb.c
Unreversed patch detected! Ignore -R? [n] y
Hunk #1 succeeded at 3693 (offset -430 lines).
And stuck here now.
Maybe I got an advise here
Thanks
Bookmarks