forked from brandon-bailey/rtl8822bu
-
Notifications
You must be signed in to change notification settings - Fork 61
Raspberry additional information #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
marcelolavor
wants to merge
2
commits into
jeremyb31:master
Choose a base branch
from
marcelolavor:Raspberry-additional-information
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| <u>**8822BU for Raspbian**</u> | ||
|
|
||
| # Driver for 802.11ac USB Adapter with | ||
| ## RTL8822BU chipset | ||
| ## Only STA/Monitor Mode is supported, no AP. | ||
|
|
||
| > NOTE: The build was tested with Raspbian GNU/Linux 9 (stretch) and kernel 4.19.66-v7+. | ||
| > In case it also works with additional releases, it would be nice ask to add your release as also compatible. | ||
|
|
||
| **To install Raspbian headers** | ||
| `sudo apt-get install raspberrypi-kernel-headers` | ||
|
|
||
| **To install prerequisites** | ||
| `apt-get install build-essential` | ||
|
|
||
| **To install build dependencies** | ||
| `sudo apt install git bc bison flex libssl-dev make` | ||
|
|
||
| **Build the driver** | ||
| `sudo make all` | ||
|
|
||
| <u>In case that you face build error due to wrong or missing headers you can identify your Kernel release and manually define it in the Makefile. Consider the following example to enforce the kernel release "4.19.66-v7+":</u> | ||
|
|
||
| ### Section 1 | ||
| **Comment the following line** | ||
| `KVER := $(shell uname -r)` | ||
|
|
||
| **Add the following lines** | ||
| `## Example of kernel release manual definition` | ||
| `KVER := 4.19.66-v7+` | ||
|
|
||
| ###Section 2 | ||
| **Comment the following line** | ||
| `KVER ?= $(shell uname -r)` | ||
|
|
||
| **Add the following lines** | ||
| `## Example of kernel release manual definition` | ||
| `KVER ?:= 4.19.66-v7+` | ||
|
|
||
| **Install the driver** | ||
| `sudo make install` | ||
|
|
||
| **Configure de driver into the system** | ||
| `modprobe 8188eu.ko` | ||
|
|
||
| **Reboot the system** | ||
| `sudo reboot` | ||
|
|
||
| **To blacklist an internal driver if it already exist on your system, add it to the respective file** | ||
| `/etc/modprobe.d/blacklist` | ||
|
|
||
| References | ||
| * https://www.raspberrypi.org/documentation/linux/kernel/building.md | ||
| * https://www.raspberrypi.org/forums/viewtopic.php?t=154749 | ||
| * https://github.com/marcelolavor/rtl8822bu | ||
| * https://github.com/lwfinger/rtl8188eu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ install the kernel sources and build an <u>external</u> module. | |
| This driver allows use of wpa_supplicant by using the nl80211 driver | ||
| `wpa_supplicant -Dnl80211` | ||
|
|
||
| If installing on Rasberry Pi or other "armv71" devices, edit the Makefile and set `CONFIG_PLATFORM_ARM_RPI = y` and `CONFIG_PLATFORM_I386_PC = n` | ||
| If installing on Rasberry Pi or other "armv71" devices, firstly install all prerequisities mentioned at README-RASP.md, edit the Makefile and set `CONFIG_PLATFORM_ARM_RPI = y` and `CONFIG_PLATFORM_I386_PC = n`, and finally, proceed with make proceedures mentioned above. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Typo |
||
|
|
||
| **STATUS** | ||
| Driver works fine (some sort of) | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
procedures