Skip to content

rtl8188eu wifi driver requires seperate firmware file. #764

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

Closed
MrEngman opened this issue Jan 21, 2015 · 27 comments
Closed

rtl8188eu wifi driver requires seperate firmware file. #764

MrEngman opened this issue Jan 21, 2015 · 27 comments

Comments

@MrEngman
Copy link

Just updated my pi from 3.12.36+ to 3.18.3+ with rpi-update. Rebooted and the kernel appeared to hang. Looks like a problem with the rtl8188eu wifi driver.

[    6.834444] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[    7.522870] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[    7.844997] random: nonblocking pool is initialized
[    8.002964] usbcore: registered new interface driver r8188eu
[   12.342025] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   12.881522] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   22.879338] r8188eu 1-1.2:1.0: Direct firmware load for rtlwifi/rtl8188eufw.bin failed with error -2
[   22.879388] r8188eu 1-1.2:1.0: Firmware rtlwifi/rtl8188eufw.bin not available

The rtl8188eu wifi driver in the drivers/staging/rtl8188eu is compiled in and the module is included in the 3.18.3+ image. However, it does not work as it requires a separate firmware file rtl8188eufw.bin in directory /lib/firmware/rtlwifi and the firmware binary is not included in the image.

A good example why the firmware should not have been stripped out of the source code and moved to a separate file.

Please add in the firmware file rtl8188eufw.bin

@popcornmix
Copy link
Collaborator

Can you point me at where rtl8188eufw.bin should come from?

@MrEngman
Copy link
Author

You can find it here. https://github.com/lwfinger/rtl8188eu

@popcornmix
Copy link
Collaborator

@asb what's your view? Should kernel driver firmware be distributed with rpi-update?

@notro
Copy link
Contributor

notro commented Jan 22, 2015

A good example why the firmware should not have been stripped out of the source code and moved to a separate file.

It seems that firmware isn't allowed in the kernel source anymore:
lwfinger/rtl8188eu#50 (comment)
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/rtlwifi

@PeterPablo
Copy link

After some digging I found this commit to linux-firmware at kernel.org. That should be it?! (I am wet behind the ears concerning the kernel, so please bear with me.)

@zaazbb
Copy link

zaazbb commented Feb 6, 2015

does anybody build a rtl8188eu.ko for rapi-3.18.5, can you share it to me?
thanks.

@PeterPablo
Copy link

When I upgraded to 3.18.x two days ago the firmware was included and everything worked without manual interaction. What kind of problems do you face?

@dinau
Copy link

dinau commented Feb 7, 2015

Hi @zaazbb,

Try this,

sudo wget https://github.com/lwfinger/rtl8188eu/raw/c83976d1dfb4793893158461430261562b3a5bf0/rtl8188eufw.bin  -O /lib/firmware/rtlwifi/rtl8188eufw.bin

then do reboot.
As @MrEngman says above,
Kernel 3.18.5+ #748 dose not have 'rtl8188eufw.bin' file too.

@organom
Copy link

organom commented Feb 12, 2015

Thanks @dinau, it worked perfectly ;)

@matthuisman
Copy link

Also experienced this problem and dinau's fix worked.
Will this be fixed in upcoming versions?

@symmetryninja
Copy link

Spent an hour looking for this very solution, thanks @dinau you rock.

@Diaoul
Copy link

Diaoul commented Mar 22, 2015

Any updates on this? Having to manually download the driver is a real pain.

@XECDesign
Copy link
Contributor

Really, this is a problem that will resolve itself when we move to Jessie. In the meantime, it would be nice if the relevant package was backported, but I don't think it will happen in time.

@jvinterberg
Copy link

@dinau thank you very much for that oneliner! saved me from going out to buy yet another 3 dongles.

@appy10
Copy link

appy10 commented Apr 10, 2015

but when we transfer the bin file into lib/firmware/rtlwifi,the access is denied,so how to transfer it...

@organom
Copy link

organom commented Apr 10, 2015

@appy10 you have to use the sudo has described. If you don't have sudo installed/configured, you can login as root or change user to root as: 'su root' and then run the command 'wget https://github.com/lwfinger/rtl8188eu/raw/c83976d1dfb4793893158461430261562b3a5bf0/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin' (without the sudo)

@appy10
Copy link

appy10 commented Apr 10, 2015

thnks...the command worked with sudo..

@Nagadhiraj
Copy link

after transfering rtl8188eufw.bin to /lib/firmware/rtlwifi ....but still not working. When i check by using dmesg : it says :
r8188 1-1.4:1.0: firmware, attempted to load /lib/firmware/rtlwifi/rtl8188eufw.bin, but failed with error -22
r8188 1-1.4:1.0: Direct firmware load for /rtlwifi/rtl8188eufw.bin failed with error -22

@blachanc
Copy link

@ dinau
your solution Did the job for me too.
Thanks a lot !!
Dinau's solution:
sudo wget https://github.com/lwfinger/rtl8188eu/raw/c83976d1dfb4793893158461430261562b3a5bf0/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin

Ben

@kumar98
Copy link

kumar98 commented May 4, 2015

hai Dinau...Thasnks a lot....u r superb man.. It gave me a relax now...

@mator
Copy link
Contributor

mator commented Jul 30, 2015

Can you please add this firmware file to firmware package? Thanks!

@XECDesign
Copy link
Contributor

Done, please test.

@neko1984
Copy link

@dinau Many thanks. It works like a charm on 4.1.6+ kernel :)

@mator
Copy link
Contributor

mator commented Aug 30, 2015

# pkgfile -s rtl8188eufw.bin
core/linux-firmware
aur/dkms-8188eu

thanks

@tradback
Copy link

@dinau Many many thanks! I've been looking for this solution for about 2 weeks now. It also saved me another wifi usb purchase. I had been sure it would work as the wifi-usb I had was working with Openelec and Raspbian (after update/upgrade). But it wouldn't work with volumio. But I tried this, and damn it works! Thanks again!

@ghost
Copy link

ghost commented Jul 3, 2016

Worked for me. Many thanks to @dinau ! I had almost given hopes on that wifi dongle. :)

@amateusz
Copy link

amateusz commented Oct 24, 2016

@dinau's solution worked for me.
FYI: I got here because armbian upgrade (4.7.3 -> 4.8.4) broke it I suppose. (I'm on orange pi a20)
strange enough "rtlwifi" dir wasn't even present..
edit: oh, it's RPi repo. excuse me for my armbian interpolation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests