-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Thanks for making this available @marcin-sielski.
I managed to install the wifi but stuck with the bluetooth installation. Here is the output I obtained:
`sudo apt update
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://packages.microsoft.com/repos/code stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
sudo apt upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt install raspberrypi-kernel-headers bc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
bc is already the newest version (1.07.1-2).
raspberrypi-kernel-headers is already the newest version (1.20210303-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
MODEL=EW-7611ULB && SRC_NAME=Bluetooth_driver && SRC_EXT=zip &&
rm -rf ${MODEL}${SRC_NAME}.${SRC_EXT} &&
wget http://www.edimax.us/download/drivers/${MODEL}/${MODEL}_${SRC_NAME}.${SRC_EXT} &&
rm -rf ${MODEL}${SRC_NAME} && unzip ${MODEL}${SRC_NAME}.${SRC_EXT} &&
rm -rf ${MODEL}${SRC_NAME}.${SRC_EXT} && patch -p1 < 0001_kernel_4v5_support.patch &&
cd ${MODEL}${SRC_NAME}/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax && sudo make install &&
cd ../.. && rm -rf ${MODEL}${SRC_NAME}
--2021-03-09 09:15:51-- http://www.edimax.us/download/drivers/EW-7611ULB/EW-7611ULB_Bluetooth_driver.zip
Resolving www.edimax.us (www.edimax.us)... 192.254.182.29
Connecting to www.edimax.us (www.edimax.us)|192.254.182.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69100 (67K) [application/zip]
Saving to: ‘EW-7611ULB_Bluetooth_driver.zip’
EW-7611ULB_Bluetoot 100%[===================>] 67.48K --.-KB/s in 0.001s
2021-03-09 09:15:54 (44.9 MB/s) - ‘EW-7611ULB_Bluetooth_driver.zip’ saved [69100/69100]
Archive: EW-7611ULB_Bluetooth_driver.zip
creating: EW-7611ULB_Bluetooth_driver/
creating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/
creating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/8723BU/
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/8723BU/Makefile
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/8723BU/rtl8723bu_config
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/8723BU/rtl8723b_fw
creating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/Makefile
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_bt.c
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_bt.h
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.h
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/Makefile
inflating: EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/Readme.txt
patching file EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_bt.h
patching file EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c
patching file EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/Makefile
make -C 8723BU -s
Copy RTL8723BU fw/config to /lib/firmware
rmmod btusb
rmmod: ERROR: Module btusb is not currently loaded
make: [Makefile:9: install] Error 1 (ignored)
mv /lib/modules/5.10.17-v7l+/kernel/drivers/bluetooth/btusb.ko /lib/modules/5.10.17-v7l+/kernel/drivers/bluetooth/btusb_bak
mv: cannot stat '/lib/modules/5.10.17-v7l+/kernel/drivers/bluetooth/btusb.ko': No such file or directory
make: [Makefile:10: install] Error 1 (ignored)
rmmod rtk_btusb
rmmod: ERROR: Module rtk_btusb is not currently loaded
make: [Makefile:11: install] Error 1 (ignored)
make -C ./bluetooth_usb_driver -s
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_check_setup_timer’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:539:3: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration]
setup_timer(&(btrtl_coex.a2dp_count_timer),
^~~~~~~~~~~
sk_stop_timer
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_extension_version_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1093:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_btpatch_version_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1110:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_afhmap_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1131:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_btcoex_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1158:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_btoperation_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1183:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_info_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1212:2: warning: ISO C90 forbids variable length array ‘buf’ [-Wvla]
char buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c: In function ‘rtk_notify_regester_to_wifi’:
/home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.c:1249:2: warning: ISO C90 forbids variable length array ‘p_buf’ [-Wvla]
char p_buf[para_length + HCI_CMD_PREAMBLE_SIZE];
^~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:279: /home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver/rtk_coex.o] Error 1
make[2]: *** [Makefile:1804: /home/pi/Downloads/RaspberryPi-EW-7611ULB-master/EW-7611ULB_Bluetooth_driver/Linux_BT_USB_v3.1_20150526_8723BU_BTCOEX_20150119-5844_Edimax/bluetooth_usb_driver] Error 2
make[1]: *** [Makefile:10: all] Error 2
make: *** [Makefile:12: install] Error 2
make: *** [Makefile:28: install_bluetooth] Error 2
`