Closed simgar closed 2 years ago
Warnings are very distinct from errors. In general, the code will work correctly with most warnings.
The warning appears because do_div() returns a 32-bit quantity, but the routine in question is u64. The compiler will do the sign extension with no problems. When I get time I will fix and test the change, but I do not have time now.
Saw an error when putting your driver on my Raspberry Pi. I'm a total newbie when it comes to Linux kernel driver installations so please forgive any nonsense from me.
I'm running this on a basic installation with no GUI. When I saw the error I wasn't sure how to capture it. I wasn't sure if it was logged anywhere, so I took a photo of it. The text below is from OCR, tidied up by me. I think it's correct.
The driver did install and appears to be working but the Pi's not been doing anything testing so far.
I was following the instructions from here but I used a deeper folder structure: https://raspmer.blogspot.com/2018/07/mantistek-wa150-wifibluetooth-rtl8723bu.html
$ sudo apt-get install raspberrypi-kernel-headers git build-essential
Create directory for build source and download source code
Install RTL8723BU WIFI Driver
Disable Concurrent Mode
$ sed -i "s/^EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/g" Makefile
Build and Install
Disable power save
$ echo "options 8723bu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8723bu.conf
Version: Raspbian GNU/Linux 11 (bullseye)