bluetooth-5.15's People
bluetooth-5.15's Issues
Bad return status for module build on kernel: 6.5.0-28-generic (x86_64)
I tried installing your bluetooth driver because after updating the kernel to the latest version blueman stopped running, I'm new to Linux, please help.
I did everything strictly according to the guide, disabled SecureBoot and got the following output in the terminal:
make.log file from /var/lib/dkms/btusb/4.1/build/make.log
:
uname -a
print:
Linux impossibles5-Redmi-Book-Pro-15-2023 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
UPD:
I found the guide here: Linux Mint Forums
Make fails while building drivers for TP-Link UB500
Hey I executed make
in this repo. It gives this error:
me@orangepi5:/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15$ make
make -C /lib/modules/5.10.110-rockchip-rk3588/build M=/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15 modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
CC [M] /mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.o
In file included from /mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:25:
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c: In function 'btusb_recv_bulk_intel':
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:177:34: error: implicit declaration of function 'hci_get_priv'; did you mean 'hci_get_irk'? [-Werror=implicit-function-declaration]
177 | (((struct btintel_data *)hci_get_priv(hdev))->flags)
| ^~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:179:56: note: in expansion of macro 'btintel_get_flag'
179 | #define btintel_test_flag(hdev, nr) test_bit((nr), btintel_get_flag(hdev))
| ^~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:2054:13: note: in expansion of macro 'btintel_test_flag'
2054 | if (btintel_test_flag(hdev, INTEL_BOOTLOADER))
| ^~~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:177:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
error, forbidden warning:btintel.h:177
177 | (((struct btintel_data *)hci_get_priv(hdev))->flags)
| ^
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:179:56: note: in expansion of macro 'btintel_get_flag'
179 | #define btintel_test_flag(hdev, nr) test_bit((nr), btintel_get_flag(hdev))
| ^~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:2054:13: note: in expansion of macro 'btintel_test_flag'
2054 | if (btintel_test_flag(hdev, INTEL_BOOTLOADER))
| ^~~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c: In function 'btusb_recv_event_intel':
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:177:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
error, forbidden warning:btintel.h:177
177 | (((struct btintel_data *)hci_get_priv(hdev))->flags)
| ^
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:179:56: note: in expansion of macro 'btintel_get_flag'
179 | #define btintel_test_flag(hdev, nr) test_bit((nr), btintel_get_flag(hdev))
| ^~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:2062:13: note: in expansion of macro 'btintel_test_flag'
2062 | if (btintel_test_flag(hdev, INTEL_BOOTLOADER)) {
| ^~~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c: In function 'btusb_send_frame_intel':
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:177:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
error, forbidden warning:btintel.h:177
177 | (((struct btintel_data *)hci_get_priv(hdev))->flags)
| ^
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:179:56: note: in expansion of macro 'btintel_get_flag'
179 | #define btintel_test_flag(hdev, nr) test_bit((nr), btintel_get_flag(hdev))
| ^~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:2101:21: note: in expansion of macro 'btintel_test_flag'
2101 | if (btintel_test_flag(hdev, INTEL_BOOTLOADER)) {
| ^~~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c: In function 'btusb_mtk_setup':
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:2903:17: error: implicit declaration of function 'hci_set_aosp_capable'; did you mean 'lmp_transp_capable'? [-Werror=implicit-function-declaration]
2903 | hci_set_aosp_capable(hdev);
| ^~~~~~~~~~~~~~~~~~~~
| lmp_transp_capable
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c: In function 'btusb_probe':
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:3863:16: error: implicit declaration of function 'hci_alloc_dev_priv'; did you mean 'hci_alloc_dev'? [-Werror=implicit-function-declaration]
3863 | hdev = hci_alloc_dev_priv(priv_size);
| ^~~~~~~~~~~~~~~~~~
| hci_alloc_dev
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:3863:14: warning: assignment to 'struct hci_dev *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
error, forbidden warning:btusb.c:3863
3863 | hdev = hci_alloc_dev_priv(priv_size);
| ^
In file included from /mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:25:
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:160:46: warning: initialization of 'struct btintel_data *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
error, forbidden warning:btintel.h:160
160 | struct btintel_data *intel = hci_get_priv((hdev)); \
| ^~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:3948:25: note: in expansion of macro 'btintel_set_flag'
3948 | btintel_set_flag(hdev, INTEL_BROKEN_INITIAL_NCMD);
| ^~~~~~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btintel.h:160:46: warning: initialization of 'struct btintel_data *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
error, forbidden warning:btintel.h:160
160 | struct btintel_data *intel = hci_get_priv((hdev)); \
| ^~~~~~~~~~~~
/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.c:3951:25: note: in expansion of macro 'btintel_set_flag'
3951 | btintel_set_flag(hdev, INTEL_BROKEN_SHUTDOWN_LED);
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:273: /mnt/nvme/Backups/linux-rockchip/bluetooth-5.15/btusb.o] Error 1
make[1]: *** [Makefile:1920: /mnt/nvme/Backups/linux-rockchip/bluetooth-5.15] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
make: *** [Makefile:6: all] Error 2
me@orangepi5:/mnt/nvme/Backups/linux-rockchip/bluetooth-5.15$
I'm guessing the issue is with:
Line 160 in aaf9060
Can you help me here?
Device: OrangePi 5
OS: Armbian Jammy
Kernel: 5.10.110-rockchip-rk3588
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.