Merge pull request #293 from kylefmohr/realtek-4.4.x

Remove "$ " from code snippets for easier copy + pasting
This commit is contained in:
Carlos Garcés 2022-11-05 13:13:46 +01:00 committed by GitHub
commit 23e06000d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,22 +37,22 @@ from source when the kernel is upgraded (for example using your package manager)
* for normal Linux systems * for normal Linux systems
```shell ```shell
$ sudo apt-get install git linux-headers-generic build-essential dkms; sudo apt-get install git linux-headers-generic build-essential dkms
``` ```
* for Raspberry Pi * for Raspberry Pi
```shell ```shell
$ sudo apt-get install git raspberrypi-kernel-headers build-essential dkms; sudo apt-get install git raspberrypi-kernel-headers build-essential dkms
``` ```
2. Clone this repository and change your directory to cloned path. 2. Clone this repository and change your directory to cloned path.
```shell ```shell
$ git clone https://github.com/Mange/rtl8192eu-linux-driver; git clone https://github.com/Mange/rtl8192eu-linux-driver
``` ```
```shell ```shell
$ cd rtl8192eu-linux-driver; cd rtl8192eu-linux-driver
``` ```
3. The Makefile is preconfigured to handle most x86/PC versions. However, if you are compiling for something other than an intel x86 architecture, you need to first select the platform. 3. The Makefile is preconfigured to handle most x86/PC versions. However, if you are compiling for something other than an intel x86 architecture, you need to first select the platform.
@ -79,48 +79,48 @@ from source when the kernel is upgraded (for example using your package manager)
that it can used to rebuild the module on kernel upgrades. that it can used to rebuild the module on kernel upgrades.
```shell ```shell
$ sudo dkms add .; sudo dkms add .
``` ```
5. Build and install the driver. 5. Build and install the driver.
```shell ```shell
$ sudo dkms install rtl8192eu/1.0; sudo dkms install rtl8192eu/1.0
``` ```
6. Distributions based on Debian & Ubuntu have RTL8XXXU driver present & running in kernelspace. To use our RTL8192EU driver, we need to blacklist RTL8XXXU. 6. Distributions based on Debian & Ubuntu have RTL8XXXU driver present & running in kernelspace. To use our RTL8192EU driver, we need to blacklist RTL8XXXU.
```shell ```shell
$ echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf; echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf
``` ```
7. Force RTL8192EU Driver to be active from boot. 7. Force RTL8192EU Driver to be active from boot.
```shell ```shell
$ echo -e "8192eu\n\nloop" | sudo tee /etc/modules; echo -e "8192eu\n\nloop" | sudo tee /etc/modules
``` ```
8. Newer versions of Ubuntu has weird plugging/replugging issue (Check #94). This includes weird idling issues, To fix this: 8. Newer versions of Ubuntu has weird plugging/replugging issue (Check #94). This includes weird idling issues, To fix this:
```shell ```shell
$ echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf; echo "options 8192eu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192eu.conf
``` ```
9. Update changes to Grub & initramfs 9. Update changes to Grub & initramfs
```shell ```shell
$ sudo update-grub; sudo update-initramfs -u; sudo update-grub; sudo update-initramfs -u
``` ```
10. Reboot system to load new changes from newly generated initramfs. 10. Reboot system to load new changes from newly generated initramfs.
```shell ```shell
$ systemctl reboot -i; systemctl reboot -i
``` ```
11. Check that your kernel has loaded the right module: 11. Check that your kernel has loaded the right module:
```shell ```shell
$ sudo lshw -c network; sudo lshw -c network
``` ```
You should see the line ```driver=8192eu``` You should see the line ```driver=8192eu```