Commit Graph

7 Commits

Author SHA1 Message Date
Wil Birkmaier
2b7b0110c6 Notes for working on Rosewill card and fix to compile under Fedora Core 21 with 4.1.x kernel 2015-12-12 14:37:36 -05:00
Magnus Bergmark
779c4bcd02
Add README 2015-11-11 21:03:59 +01:00
Magnus Bergmark
6793baedf5
Fix strnicmp not defined in Kernel >= 4.0
This particular fix is all over the internet, as patches posted on
mailing lists, package maintainer's mirrors, etc.

I don't know the full origin of it, but it works. It also makes sense. I
found a quote regarding it here:

http://comments.gmane.org/gmane.linux.drivers.driver-project.devel/71438
> [...] patched so it will compile against kernels that no longer
> provide the old procfs API and with calls to strnicmp() replaced with
> strncasecmp().

Here's an example of the patch in the wild:
9cf1f08f9a/8192cu-dkms/RTL8192CU-kernel-4.0.patch

Note that the sources mentioned above all talk about the more common
8192cu driver, but the change is the same as both drivers share the
majority of the code with each other.
<speculation>
I guess this is part of the reason why the hardware makers don't publish
updated drivers; they've copy-pasted it everywhere and patching them all
is a pain for them.
</speculation>
2015-11-10 23:23:22 +01:00
Magnus Bergmark
0c8b0caaaa
Fix "void value not ignored as it ought to be" errors
The macros in rtw_debug.h expands an `if` without a body, so this
error is emitted several dozen times when compiling.

Work-around found here:
f96431f1e3

Related issue discussion:
https://github.com/donahue95/rtl8192eu-linux-driver/issues/2

Thanks to donahue95 <donahue95@comcast.net>! <3

(donahue95/rtl8192eu-linux-driver@f96431f1e3)
2015-11-10 23:06:48 +01:00
Magnus Bergmark
89e79bf30a
Fix file_path symbol conflict with Linux 4.3
file_path is now something in kernel 4.3 that conflicts with this
version of the driver.

Work-around found here:
e2ca811346

See related issue for discussion about it:
https://github.com/hadess/rtl8723bs/issues/24
2015-11-10 23:04:30 +01:00
Magnus Bergmark
416453cadc
No more NULL dereference and kernel panic on current kernels
Found patch on the web:
  http://users.telenet.be/x86_64/Patches/rtl8192eu-k3.13.patch

Before patch, kernel panic due to a NULL dereference in
rtw_ndev_notifier_register; this patch solves that problem by not using
these methods on kernel versions after a certain number, so it leads me
to believe that this patch is meant to make the driver compatible with
newer kernel versions.
2015-08-18 21:10:30 +02:00
Magnus Bergmark
1387cf623d
The official RTL8192EU linux driver from D-Link Australia
Version information: 20140812_rtl8192EU_linux_v4.3.1.1_11320
  2014-08-12
  version 4.3.1.1_11320
Source:
  ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip

This version does not currently work on newer kernels, but it does
contain USB ID 2001:3319, which a lot of other repos in GitHub does not.
2015-08-18 21:03:11 +02:00