Mange / rtl8192eu-linux-driver

Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
1.32k stars 435 forks source link

DKMS build fails on Fedora 36 #243

Closed jdb130496 closed 3 years ago

jdb130496 commented 3 years ago

Screenshot and log files attached. Build via DKMS fails on Fedora 36 (rawhide) 06 Oct 2021_17 58 55_1366x768 make.log

CGarces commented 3 years ago

Hi

Please appy this patch.

https://github.com/cilynx/rtl88x2bu/commit/aba46cd4dfe721df79fb24f7c9097f2b54006df3

jdb130496 commented 3 years ago

Ok. Thank you - Will try and get back to you soon.

jdb130496 commented 3 years ago

I installed the driver stated in your link above but same problem persists - It fails with error "Error: Connection activation failed: (53) The Wi-Fi network could not be found". I built it using make & make install and not DKMS way - driver built was successful (install -p -m 644 88x2bu.ko /lib/modules/5.15.0-0.rc4.33.fc36.x86_64/kernel/drivers/net/wireless/) - but wifi could not be activated

jdb130496 commented 3 years ago

Have I done something wrong? Please let me know.

CGarces commented 3 years ago

Hi. You can't use 88x2bu driver from https://github.com/cilynx/rtl88x2bu/ You must use the change from that commit to modify the source code of rtl8192eu, and compile it.

jdb130496 commented 3 years ago

Yes. I realized my mistake and copies that .c extension file to the core directory and recompiled via DKMS but bad exit still persists. make.log attached here. make.log

jdb130496 commented 3 years ago

Just to clarify - I copied the c source file from your given link to this driver core directory and then recompiled.

CGarces commented 3 years ago

Just to clarify - I copied the c source file from your given link to this driver core directory and then recompiled.

No, you must change just the 7 lines from the commit.

jdb130496 commented 3 years ago

I have to change 7 lines (highlighted in green colour in the source cited by you) in which c file in this source because there is no similar file like file named rtw_br_ext_c here like that in the link cited by you? Sorry for my ignorance - I am quite raw in building drivers from source in linux.

jdb130496 commented 3 years ago

Thank you for your support but even after my many efforts to locate where to include those 7 lines in c source files, I could not figure it out; meanwhile I found another source here https://github.com/clnhub/rtl8192eu-linux - I could build the driver from source there successfully using DKMS for Fedora rawhide (kernel 5.15 rc4) because it already has recently included support for kernel 5.15. Best wishes.

jdb130496 commented 3 years ago

Closing the issue for now.