rtw89-BT
rtw89-BT copied to clipboard
make error on rtl b852
I can use the driver before, but after pull, it turns out make error.
➜ rtw89-BT git:(main) sudo make [sudo] password for arthur: make -C /lib/modules/5.15.0-97-generic/build M=/home/arthur/rtw89-BT modules make[1]: Entering directory '/usr/src/linux-headers-5.15.0-97-generic' CC [M] /home/arthur/rtw89-BT/btusb.o /home/arthur/rtw89-BT/btusb.c: In function ‘btusb_setup_csr’: /home/arthur/rtw89-BT/btusb.c:2342:7: error: implicit declaration of function ‘skb_pull_data’; did you mean ‘skb_put_data’? [-Werror=implicit-function-declaration] 2342 | rp = skb_pull_data(skb, sizeof(*rp)); | ^~~~~~~~~~~~~ | skb_put_data /home/arthur/rtw89-BT/btusb.c:2342:5: warning: assignment to ‘struct hci_rp_read_local_version *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2342 | rp = skb_pull_data(skb, sizeof(*rp)); | ^ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:297: /home/arthur/rtw89-BT/btusb.o] Error 1 make[1]: *** [Makefile:1911: /home/arthur/rtw89-BT] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-97-generic' make: *** [Makefile:34: all] Error 2 ➜ rtw89-BT git:(main)
I have the same problem when buid mod for rtl8852be,did you find ways to use rtl8852be bluetooth?
the commit on Dec, 2023 probably ruins some data for the rtl8852be, you can use the version before that. That works fine for me
The commit on Dec 2023 probably ruins some files for rtl8852be, just pull the version before that. The older one is workable for me.