Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upOccasional Connection Drops #1
Comments
|
I am also getting this bug, using the second-to-latest commit (the latest commit does not compile) Here is an extensive log before, during, and after the crash, right before I reloaded the module:
|
|
I think it happens when nothing is transmitted. |
|
I actually fixed it by disabling firmware powersaving as a module option (fwips=0). It does conflict with the more broad ips=0, though. It only worked w/o ips=0. |
|
Could you elaborate a little more on how you worked around the issue? Did you use fwips=0 as an argument for make or while loading the kernel module? I'm using the latest commit and my connection keeps dropping on me. |
|
Make a file in /etc/modprobe.d/*.conf (doesn't really matter what the name is, I called mine rtl8723be.conf) In the file, copy-paste this in: #Prevents the WiFi card from automatically sleeping and halting connection Works partially for me. Web browsing is okay, but when gaming my connection drops often enough that a new wifi card is on its way from Amazon. |
|
Thanks I'm trying the configuration. I'll post back if it fixes the issue for me. |
|
I am using this in /etc/modprobe.d/rtl8723be.conf: options rtl8723be fwlps=0 It's my father's box, and he states he hasn't got a single drop since I added it. But for sure, he's not doing any gaming... Cheers, Ole |
|
It seems to be working for me, but I'm not doing any gaming either. I haven't had a single drop. |
|
Just for reference, in case anyone is thinking about using this card, the problem came back even with fwlps=0 and swlps=0. I would not recommend using this card at the moment. It disconnects very quickly. |
|
encountered the same problem. |
|
I have the same problem in a Lenovo G40-70 and kernel 3.13.0-35. Any updates on this? any clues on how to troubleshoot? Any logs we can provide to help? |
|
Merely saying you have drops does not help fix it. Please state what dmesg has to say about the reason for dropping the connection. With that info, it might be possible to fix the driver. Without such info, there is essentially no chance. |
|
I installed kernel 3.15.0 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/, compiled the rtl8723be module from the master brancch of this repo and things are working much better. If I keep the laptop connected to the power supply, the connection stays up and fast. However, if I disconnect the charger, the connection drops after 5 minutes or so and refuses to re-connect until I connect the charger again. Turning off power management for the wifi card with I see things like the following in the dmesg output. The full output of dmesg can be seen at https://gist.github.com/rvega/934d7f80bcc0f747b7e0 [ 345.344531] rtlwifi-0:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now |
|
Thanks for the complete report. That disconnect message indicates that the device has lost the ability to receive. After the condition occurs, do you need to do anything other than reconnect the charger to reestablish the connection? What make/model is the computer? |
|
To connect again, I need to turn off wireless (using the gnome thingy on the top panel, or the gnome settings manager) and then on again. Iḿ not sure what this does under the hood. Doing rmmod and then modprobe also works. The computer is a Lenovo G40-70 |
|
Those recovery methods all involve a reset of the hardware. It seems likely that your device is extremely voltage sensitive, and that your Lenovo is supplying a slightly lower voltage when on the battery than it is with the charger. I will pass this thread on to Realtek to see if they have any better ideas. |
|
There is a newer version of the driver that I would like you to try. It is located in http://github.com/lwfinger/rtlwifi_new.git. Please see if it has the same issues. |
|
I won't have access to that computer until the weekend. I'll try then and let you know how it goes. Thanks! |
|
The rtlwifi_new driver for rtl8723be works fine for me so far. No drops. I'm using "options rtl8723be fwlps=0 swlps=0". My laptop is a Lenovo Z50-70. I'll monitor and let you know if it turns out otherwise. This old rtl8723be driver kept disconnecting. |
|
The rtlwifi_new driver for rtl8723be works perfectly so far. I'm using Fedora. So, I rebuild the latest version of this driver and install it into every new kernel that comes from Fedora updates. Hopefully, this would get into the official kernel repo. |
|
I am working very hard to get these codes into a form that can be submitted to the kernel in time for 3.18. So far, drivers rtl8188ee and rtl8821ae are ready with only a little testing needed. Next to be prepared will be rtl8192ee, rtl8723be, rtl8723ae, rtl8192ce, rtl8192se, and rtl8192de in that order. |
|
Thanks @lwfinger for your hard work! |
Hi,
from time to time the driver looses the connection to the AP and does not get up again. Only removing the module and reloading it afterwards may solve the problem. But unfortunately reloading sometimes causes a kernel oops. This is what I found in my syslog at the time when the problem occurred:
Feb 23 10:17:01 johann CRON[3082]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 23 10:44:02 johann kernel: [ 4636.247435] rtlwifi-0:_rtl_pci_interrupt():<10000-1> rx overflow !
Feb 23 10:45:12 johann kernel: [ 4706.189074] [drm:intel_dp_set_link_train] ERROR Timed out waiting for DP idle patterns
Feb 23 10:45:12 johann kernel: [ 4706.189082] [drm:i915_write32] ERROR Unknown unclaimed register before writing to 64040
Feb 23 10:48:07 johann kernel: [ 4880.532044] rtlwifi-0:_rtl_pci_interrupt():<10000-1> rx overflow !
Feb 23 10:50:04 johann kernel: [ 4997.856635] rtlwifi-0:_rtl_pci_interrupt():<10000-1> rx overflow !
Feb 23 10:53:50 johann NetworkManager[1124]: caught signal 15, shutting down normally.
Hope that helps.
Thanks, Ole