Skip to content
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

rtl8188eu wifi driver requires seperate firmware file. #764

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

Comments

@MrEngman
Copy link

commented Jan 21, 2015

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

This comment has been minimized.

Copy link
Collaborator

commented Jan 21, 2015

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

@MrEngman

This comment has been minimized.

Copy link
Author

commented Jan 22, 2015

@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Jan 22, 2015

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

@notro

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link

commented Jan 22, 2015

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

This comment has been minimized.

Copy link

commented Feb 6, 2015

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

@PeterPablo

This comment has been minimized.

Copy link

commented Feb 6, 2015

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Feb 12, 2015

Thanks @dinau, it worked perfectly ;)

@matthuisman

This comment has been minimized.

Copy link

commented Mar 12, 2015

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

@mrkoz

This comment has been minimized.

Copy link

commented Mar 12, 2015

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

@Diaoul

This comment has been minimized.

Copy link

commented Mar 22, 2015

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

@XECDesign

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2015

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

This comment has been minimized.

Copy link

commented Mar 24, 2015

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

@appy10

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Apr 10, 2015

thnks...the command worked with sudo..

@Nagadhiraj

This comment has been minimized.

Copy link

commented Apr 10, 2015

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

This comment has been minimized.

Copy link

commented Apr 25, 2015

@ 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

This comment has been minimized.

Copy link

commented May 4, 2015

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

@mator

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2015

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

@XECDesign

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2015

Done, please test.

@XECDesign XECDesign closed this Aug 1, 2015

@neko1984

This comment has been minimized.

Copy link

commented Aug 29, 2015

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

@mator

This comment has been minimized.

Copy link
Contributor

commented Aug 30, 2015

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

thanks

@tradback

This comment has been minimized.

Copy link

commented Sep 30, 2015

@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!

@yummuy

This comment has been minimized.

Copy link

commented Jul 3, 2016

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

@amateusz

This comment has been minimized.

Copy link

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
Projects
None yet
You can’t perform that action at this time.