Skip to content

rtl8188eu wifi driver requires seperate firmware file. #764

Closed

Description

@MrEngman

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

Activity

  1. popcornmix commented on Jan 21, 2015

    @popcornmix
    Collaborator

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

  2. MrEngman commented on Jan 22, 2015

    @MrEngman
    Author
  3. popcornmix commented on Jan 22, 2015

    @popcornmix
    Collaborator

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

  4. notro commented on Jan 22, 2015

    @notro
    Contributor

    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

  5. PeterPablo commented on Jan 22, 2015

    @PeterPablo

    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.)

  6. zaazbb commented on Feb 6, 2015

    @zaazbb

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

  7. PeterPablo commented on Feb 6, 2015

    @PeterPablo

    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?

  8. dinau commented on Feb 7, 2015

    @dinau

    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.

  9. organom commented on Feb 12, 2015

    @organom

    Thanks @dinau, it worked perfectly ;)

  10. matthuisman commented on Mar 12, 2015

    @matthuisman

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

  11. symmetryninja commented on Mar 12, 2015

    @symmetryninja

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

  12. Diaoul commented on Mar 22, 2015

    @Diaoul

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

  13. XECDesign commented on Mar 22, 2015

    @XECDesign
    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.

  14. jvinterberg commented on Mar 24, 2015

    @jvinterberg

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

  15. appy10 commented on Apr 10, 2015

    @appy10

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

  16. organom commented on Apr 10, 2015

    @organom

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

  17. appy10 commented on Apr 10, 2015

    @appy10

    thnks...the command worked with sudo..

  18. Nagadhiraj commented on Apr 10, 2015

    @Nagadhiraj

    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

  19. blachanc commented on Apr 25, 2015

    @blachanc

    @ 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

  20. kumar98 commented on May 4, 2015

    @kumar98

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

  21. mator commented on Jul 30, 2015

    @mator
    Contributor

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

  22. XECDesign commented on Jul 30, 2015

    @XECDesign
    Contributor

    Done, please test.

  23. neko1984 commented on Aug 29, 2015

    @neko1984

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

  24. mator commented on Aug 30, 2015

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

    thanks

  25. tradback commented on Sep 30, 2015

    @tradback

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

  26. amateusz commented on Oct 24, 2016

    @amateusz

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions