Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] RTL8723BE Wifi problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Thu Feb 12, 2015 7:59 pm    Post subject: [SOLVED] RTL8723BE Wifi problems Reply with quote

Gentoo x64 running on a Lenovo G50-45 Laptop

uname -a
Code:
Linux HAL-9001 3.17.8-gentoo-r1 #7 SMP Wed Feb 11 21:37:34 CST 2015 x86_64 AMD A6-6310 APU with AMD Radeon R4 Graphics AuthenticAMD GNU/Linux


Enabled the RTL8723BE driver in the kernel (not as a module)
sys-kernel/linux-firmware v20141009 and v20140902 tried, no luck
lspci -k
Code:
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
        Subsystem: Lenovo Device b736
        Kernel driver in use: rtl8723be


dmesg | grep 8723
Code:
[    0.773807] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
[    0.773912] rtl8723be 0000:01:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -2
[    0.774039] rtlwifi: Firmware rtlwifi/rtl8723befw.bin not available


locate rtl8723befw.bin
Code:
/lib64/firmware/rtlwifi/rtl8723befw.bin



Anything i'm missing?


Last edited by cfaulkner70 on Thu Feb 12, 2015 10:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Feb 12, 2015 8:09 pm    Post subject: Reply with quote

maybe worth to dig in the kernel source and check out what*s happening

Code:

[    0.773912] rtl8723be 0000:01:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -2


or use another branch of the kernel itself. I highly recommend to stick to a stable long term release like 3.10 from kernel.org => 3.10.XX gentoo-sources....

You narrowed it down, But i would suggest you dig in the source and check waht that error code really does and therefore you will see than if teh module is on the right spot.

and sometimes just using a newly build fresh kernel with another version string magically solves problems.
Back to top
View user's profile Send private message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Thu Feb 12, 2015 8:11 pm    Post subject: Reply with quote

tw04l124 wrote:
maybe worth to dig in the kernel source and check out what*s happening

Code:

[    0.773912] rtl8723be 0000:01:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -2


or use another branch of the kernel itself. I highly recommend to stick to a stable long term release like 3.10 from kernel.org => 3.10.XX gentoo-sources....

You narrowed it down, But i would suggest you dig in the source and check waht that error code really does and therefore you will see than if teh module is on the right spot.

and sometimes just using a newly build fresh kernel with another version string magically solves problems.


Thanks tw!
Back to top
View user's profile Send private message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Thu Feb 12, 2015 8:14 pm    Post subject: Reply with quote

I do have a hunch that it is because the driver is not built as a module and instead built-in.
Back to top
View user's profile Send private message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Thu Feb 12, 2015 9:14 pm    Post subject: Reply with quote

recompiling the kernel now making the rtl8723be driver a module instead of built in.
Back to top
View user's profile Send private message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Thu Feb 12, 2015 9:54 pm    Post subject: Reply with quote

I do believe that's what it was.. I compiled the 8723be as a module and here's what I got now

dmesg | grep 8723
Code:
[    0.458723] pci 0000:00:01.1: supports D1 D2
[    5.654792] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
[    5.977875] rtl8723be 0000:01:00.0 wlp1s0: renamed from wlan0
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Feb 13, 2015 8:15 am    Post subject: Reply with quote

If you build the driver into the kernel, you often need to build the firmware into the kernel too:
Code:
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_EXTRA_FIRMWARE="rtlwifi/rtl8723befw.bin"
would allow you to make rtl8723be built-in again.
Back to top
View user's profile Send private message
cfaulkner70
n00b
n00b


Joined: 12 Feb 2015
Posts: 6

PostPosted: Fri Feb 13, 2015 3:43 pm    Post subject: Reply with quote

chithanh wrote:
If you build the driver into the kernel, you often need to build the firmware into the kernel too:
Code:
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_EXTRA_FIRMWARE="rtlwifi/rtl8723befw.bin"
would allow you to make rtl8723be built-in again.


Nice! Thank you! Learn something new all the time.. :)
Back to top
View user's profile Send private message
mroutput
n00b
n00b


Joined: 21 Oct 2016
Posts: 11

PostPosted: Fri Oct 21, 2016 2:11 am    Post subject: thank you! Reply with quote

chithanh wrote:
If you build the driver into the kernel, you often need to build the firmware into the kernel too:
Code:
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_EXTRA_FIRMWARE="rtlwifi/rtl8723befw.bin"
would allow you to make rtl8723be built-in again.


thank you very much! I wonder can I load microcode through there as well?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum