PDA

View Full Version : What File to Patch? WiFi Driver Installation on Kali-Linux



aLi3nZ
2016-09-16, 17:07
Hey everyone,

Unfortunately I didn't see this covered by any guide from my searching so asking here as my last resort. The guides I did find say to apply patches. However I am prompted as to what file to patch during the process which is not covered on any guide?

I am needing to install rtl8723bs for my tablet. Downloaded from here: https://github.com/hadess/rtl8723bs
As I am running the latest version of Kali Linux and have run all updates. I am thinking the 5 patches under the "patches_4.5" will be required? rtlwifi_new: Kernel patches for v4.5
I also installed the latest version of backports.
Can someone please help me out as to what file to patch when prompted for these 5 patches? It would be much appreciated.

aLi3nZ
2016-09-24, 23:46
No response. Here is some other info as per link posted.
Patches look to point to the followed paths, however still unsure exactly the path / file to enter to patch for each of these.



https://github.com/hadess/rtl8723bs/tree/master/patches_4.5

Patch 1: 0001-PM-QoS-Add-pm_qos_cancel_request_lazy-that-doesn-t-s.patch

include/linux/pm_qos.h | 2 ++
kernel/power/qos.c | 20 ++++++++++++++++++++

-----------------------------------------------------------------------------------------------------------------------------


Patch 2: 0002-mmc-sdhci-get-runtime-pm-when-sdio-irq-is-enabled.patch

drivers/mmc/host/sdhci.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------------------------------------------------------------


Patch 3: 0003-mmc-sdhci-Support-maximum-DMA-latency-request-via-PM.patch

drivers/mmc/host/sdhci.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++-
drivers/mmc/host/sdhci.h | 7 ++++++
2 files changed, 63 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------------------------------------------------------------


Patch 4: 0004-mmc-sdhci-acpi-Fix-device-hang-on-Intel-BayTrail.patch

drivers/mmc/host/sdhci-acpi.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Index: linux/drivers/mmc/host/sdhci-acpi.c


-----------------------------------------------------------------------------------------------------------------------------


Patch 5: 0005-mmc-sdhci-pci-Fix-device-hang-on-Intel-BayTrail.patch

drivers/mmc/host/sdhci-pci.c | 13 +++++++++++++
1 file changed, 13 insertions(+)

Index: linux/drivers/mmc/host/sdhci-pci-core.c