TJarsun
Posts: 1
Joined: Tue Aug 22, 2017 11:16 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Aug 23, 2017 12:15 am

After installing raspbian lite if I did an "ifconfig" I see the adapter named as wlx[MAC ADDRESS] and "lsusb" showed it to me as
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
so all I had to do was to run this:

sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules

- And reboot. it is now shown as wlan0 and I can scan and see my networks using:

iwlist wlan0 scan

- Next I added my wifi network data with

sudo nano /etc/network/interfaces
and added:
"
allow-hotplug wlan0
iface wlan0 inet manual
wpa-ssid "NETWORKNAME"
wpa-psk "PASSWORD"
"
Saved with ctrl+x then Y and enter
Did a reboot
After that it auto-connected to my wifi!

ernestosu16
Posts: 1
Joined: Wed Sep 06, 2017 7:17 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Sep 06, 2017 7:23 pm

I have a problem after installing the driver.

Code: Select all

[email protected]:~# brctl addbr br0

[email protected]:~# brctl addif br0 wlan0
can't add wlan0 to bridge br0: Operation not supported


[email protected]:~# iwconfig 
lo        no wireless extensions.

wlan0     unassociated  Nickname:"<[email protected]>"
          Mode:Managed  Frequency=2.437 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

it is possible to install the generic driver that brings by default that if I worked

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Sep 07, 2017 7:18 am

You can remove my driver using commands

Code: Select all

sudo rm /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo rm /etc/modprobe.d/8188eu.conf
sudo depmod $(uname -r)
Rebooting should then use the built in staging driver.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

danielu221
Posts: 2
Joined: Thu Oct 08, 2015 6:15 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Tue Sep 12, 2017 7:40 am

Hello everyone,

currently I have newest version of Raspbian and that TL-WN725N . I had same problems 1 year ago, but finally I resolved it as I remember with maaany problems. I had to clear SD card and now have another raspbian version. What should I do now? Is it possible to run it with newest raspbian version (release 2017-09-07) or I should do downgrade to specified version? I don;t have much time for configurations that's why I am asking. Thanks a lot for any help :)

bicyclerepairman
Posts: 2
Joined: Wed Oct 25, 2017 9:00 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Oct 25, 2017 9:15 am

I have a similar problem to the last poster. I have an RPi B2, now running the latest OS image (Stretch, Sept 2017). I have just acquired a Dynamode N RTL Wifi dongle - internally it is a Realtek RTL8188EUS. After plugging it in, clicking on the network icon shows "No wireless interfaces found".

lsusb:
RTL8188EUS 0dba:8179

lsmod:
r8188eu - not used
cfg80211 - r8188eu

iwconfig:
wlan0 unassociated Nickname "<[email protected]>"
...(more stuff)

I have a PC running lubuntu, and this dongle works straight away. It also gives the same responses to the above commands (except iwconfig).

If I run "modinfo r8188eu", the Pi and the Lubuntu PC give very similar responses. The "version" is identical. The main differences are different values for "srcversion" and "vermagic" (lubuntu shows "4.10.0-37-generic SMP mod_unload", Pi shows "4.9.41-v7- SMP mod_unload modversions ARMv7 p2v8").

I have tried the previous instructions in this thread to use the 8188eu driver, with no success.

Any help appreciated!!

fruitoftheloom
Posts: 16764
Joined: Tue Mar 25, 2014 12:40 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Oct 25, 2017 3:36 pm

bicyclerepairman wrote:
Wed Oct 25, 2017 9:15 am
I have a similar problem to the last poster. I have an RPi B2, now running the latest OS image (Stretch, Sept 2017). I have just acquired a Dynamode N RTL Wifi dongle - internally it is a Realtek RTL8188EUS. After plugging it in, clicking on the network icon shows "No wireless interfaces found".

lsusb:
RTL8188EUS 0dba:8179

lsmod:
r8188eu - not used
cfg80211 - r8188eu

iwconfig:
wlan0 unassociated Nickname "<[email protected]>"
...(more stuff)

I have a PC running lubuntu, and this dongle works straight away. It also gives the same responses to the above commands (except iwconfig).

If I run "modinfo r8188eu", the Pi and the Lubuntu PC give very similar responses. The "version" is identical. The main differences are different values for "srcversion" and "vermagic" (lubuntu shows "4.10.0-37-generic SMP mod_unload", Pi shows "4.9.41-v7- SMP mod_unload modversions ARMv7 p2v8").

I have tried the previous instructions in this thread to use the 8188eu driver, with no success.

Any help appreciated!!

The drivers are compiled for Raspbian Operating System, Ubuntu Flavours Community Editions suitable for Rpi2/3 and have their own website / forum:

https://ubuntu-pi-flavour-maker.org/

https://ubuntu-pi-flavour-maker.org/faq/
Adieu

bicyclerepairman
Posts: 2
Joined: Wed Oct 25, 2017 9:00 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Oct 26, 2017 4:46 pm

fruitoftheloom wrote:
Wed Oct 25, 2017 3:36 pm

The drivers are compiled for Raspbian Operating System, Ubuntu Flavours Community Editions suitable for Rpi2/3 and have their own website / forum:

https://ubuntu-pi-flavour-maker.org/

https://ubuntu-pi-flavour-maker.org/faq/
Just tried it - the taskbar menu icon shows "Wifi Networks - device not ready".

I have also just tried the Wifi dongle in my Lubuntu PC. It works straight away and connects to wifi.

Mustafa Wahhudi
Posts: 1
Joined: Thu Nov 09, 2017 11:43 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Nov 09, 2017 11:52 pm

Hello MrEngman,

I've tried to download the file 8188eu-20130830.tar.gz for my 3.6.11+ #538 using the command:

Code: Select all

wget http://www.fars-robotics.net/8188eu-20130830.tar.gz
But I get "ERROR 404: Not Found."

What could be wrong? I'm sure my internet is working properly, and I can access www.fars-robotics.net normally.
I'd be very grateful if you can provide me with a working/alternative link for the file
8188eu-20130830.tar.gz
as soon as you can, since my project is now depending on it :)

Many thanks to you for your efforts...

User avatar
DougieLawson
Posts: 33059
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Fri Nov 10, 2017 12:31 am

Why are you trying to do anything with a system that's running a four year old kernel? You really need to upgrade to the supported version of Raspbian.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Fri Nov 10, 2017 12:51 am

Mustafa Wahhudi wrote:
Thu Nov 09, 2017 11:52 pm
Hello MrEngman,

I've tried to download the file 8188eu-20130830.tar.gz for my 3.6.11+ #538 using the command:

Code: Select all

wget http://www.fars-robotics.net/8188eu-20130830.tar.gz
But I get "ERROR 404: Not Found."

What could be wrong? I'm sure my internet is working properly, and I can access www.fars-robotics.net normally.
I'd be very grateful if you can provide me with a working/alternative link for the file
8188eu-20130830.tar.gz
as soon as you can, since my project is now depending on it :)

Many thanks to you for your efforts...
Try again. Should be available now.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

bhontz
Posts: 1
Joined: Fri Jan 12, 2018 11:03 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Fri Jan 12, 2018 11:05 pm

Hi all - this thread has been incredible valuable, thank you to the contributors and question askers. However, after working on this for several hours I'm still unresolved.

I'm attempting to install a Rosewell RNX-N150NUB wifi dongle purchased from Amazon (claiming to be Raspberry Pi compatible). I'm working with a Raspberry Pi 2 Model B 1GB. I actually have 10 of these, I'm setting these up for a club.

[email protected] ~ $ uname -a
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux

[email protected] ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:ffef Realtek Semiconductor Corp.

I tried the following build:
3.18.11-v7+ #780, #781 - 8188eu-v7-20150406.tar.gz

... as follows:
wget http://www.fars-robotics.net/8188eu-v7-20150406.tar.gz
tar xzf 8188eu-v7-20150406.tar.gz
./install.sh

Which didn't work, here meaning I can't see wlan0 when I "ifconfig".

I erased the 8188eu.ko driver installed by the above from /lib/modules/3.18.11-v7+/kernel/drivers/net/wireless/ and then tried:

sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi

... and used the sudo install-wifi 8188eu

I don't receive any error messages in either of the two installation cases above, and further:

sudo insmod /lib/modules/3.18.11-v7+/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a

... does not produce an errors.

However, when I ifconfig I can not see wlan0, but if I plug in an old Cisco wifi dongle that I used on an old Windows laptop, the I everything works just fine (i.e. shows wlan0 when I ifconfig and connects to my wifi network).

I note my lsusb ID (ID 0bda:ffef Realtek Semiconductor Corp.) differs from those posted within this thread. The Rosewell RNX-N150NUB dongle did come with drivers, including the 8188eu.ko, but using it as provided produces an "Invalid Module Format" when attempting insmod.

Any thoughts on how I might be able to move this forward?

Thank you in advance.

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sat Jan 13, 2018 1:13 am

Hi bhontz,

The 8188eu driver I've compiled did not include the USB for your wifi module. I have updated the driver for the kernel version you are using, 3.18.11-v7+ #781, and added the USB ID for your wifi. I am updating the remaining drivers but that will take some time.

If you run the script again it should load the driver with your USB ID, provided you use kernel 3.18.11-v7+ #781.

After installing the driver if you run command modinfo 8188eu it should now show the USB ID for your wifi.

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

macmpi
Posts: 38
Joined: Tue Dec 15, 2015 9:39 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Feb 11, 2018 2:33 pm

@MrEngman
It seems there are none of your compiled driver somewhere following 4.9.70 (for instance 4.9.75) until latest 4.9.80; or has URL scheme changed since?

I could not find them for newer 4.14.x serie (like latest 4.14.17), which has now become new Hexxeh rpi-firmware master.
Does 4.14 branch include any in-kernel stable replacements now?

Thanks!

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Feb 11, 2018 4:16 pm

macmpi wrote:
Sun Feb 11, 2018 2:33 pm
@MrEngman
It seems there are none of your compiled driver somewhere following 4.9.70 (for instance 4.9.75) until latest 4.9.80; or has URL scheme changed since?

I could not find them for newer 4.14.x serie (like latest 4.14.17), which has now become new Hexxeh rpi-firmware master.
Does 4.14 branch include any in-kernel stable replacements now?

Thanks!
I have changed the web address, http://downloads.fars-robotics.net.

Directory structure is

Code: Select all

downloads.fars-robotics.net 
             |
             - wifi-drivers 
                     |
                     - 8188eu-drivers
                     - 8192eu-drivers
                     - 8812au-drivers
                     - mt7610-drivers
                     - mt7612-drivers
To download 8188eu drivers use address http://downloads.fars-robotics.net/wifi ... -file-name where driver-file-name uses my standard filename format that I assume you have previously used.

If you use my script it will automatically determine the driver you need and download and install it. You can install my script using commands

Code: Select all

sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
Run command

Code: Select all

sudo install-wifi -h
for info on how to use it.

To install the driver for you current kernel just use command

Code: Select all

sudo install-wifi
There is a driver, r8188eu, included in the Rasbian images that will run 8188eu wifi modules but I've found it can have some problems. If you want to try it then you will need to delete file /etc/modprobe.d/8188eu.conf as it blacklists the built in driver.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

macmpi
Posts: 38
Joined: Tue Dec 15, 2015 9:39 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Feb 11, 2018 5:38 pm

Ouch, I see...
When did this URL & directories layout change happen?

I have some build scripts pulling all drivers in their original location, so...bad luck: I'll adapt them accordingly, thanks for the note.
Could you update first post accordingly?

Thanks again for all the heavy-lifting.

macmpi
Posts: 38
Joined: Tue Dec 15, 2015 9:39 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 05, 2018 10:00 pm

Dear MrEngman,

It seems there might be an issue with mt7610 driver somewhere in between kernel 4.9.59 (working) and 4.9.65 (failing) as per this.
Is there a known issue with this driver on recent kernels, or would you have any suggestion?
Thanks.

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 05, 2018 10:50 pm

macmpi wrote:
Mon Mar 05, 2018 10:00 pm
Dear MrEngman,

It seems there might be an issue with mt7610 driver somewhere in between kernel 4.9.59 (working) and 4.9.65 (failing) as per this.
Is there a known issue with this driver on recent kernels, or would you have any suggestion?
Thanks.
The mt7610 driver has always been a bit iffy, however I usually test it every time I compile a new version to ensure it is generally OK and haven't found any serious issues. Tested with kernels 3.18, 4.0, 4.1, 4.4 and all versions of 4.9 up to 4.9.80 and all available 4.14 kernels available via rpi-update.

The main issue with this driver is that the wifi module should not be plugged in or unplugged while the Pi is powered on as if you do it will almost certainly cause the kernel to crash.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Mar 18, 2018 6:51 am

I see kernel 4.9.80 has been mentioned in some posts but I can't find this one:
8188eu-4.9.80-1098.tar.gz
Is it in the queue or was it missed for some reason?

Thanks.

UPDATE:

Nevermind, I just saw the URL has changed. Maybe the first post should be updated as well.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Mar 18, 2018 6:28 pm

macmpi wrote:
Mon Mar 05, 2018 10:00 pm
Dear MrEngman,

It seems there might be an issue with mt7610 driver somewhere in between kernel 4.9.59 (working) and 4.9.65 (failing) as per this.
Is there a known issue with this driver on recent kernels, or would you have any suggestion?
Thanks.
I have a similar issue with 8818eu, working perfectly fine in 4.9.59 and failing after upgrading to 4.9.80 (I haven't tried the ones in between to find out the exact commit where it stops working yet)

With 4.9.80 the logs show it was associated (wpa_supplicant) but then it drops the association along with a lot of powersaving-related messages even though powersaving is supposed to be disabled by modprobe.d settings

It repeats these two like crazy:

RTL871X: nolinked power save enter
RTL871X: nolinked power save leave
RTL871X: nolinked power save enter
RTL871X: nolinked power save leave

This doesn't happen with 4.9.59. With that kernel everything works like a charm.

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Mar 18, 2018 7:59 pm

Sorry but I've no idea why you are seeing this issue. Is it due to a PSU problem? Do you see the red Led flicker at all? What Pi are you using and which OS? What wifi module?

I run this driver on several Pis. Pi Zero, Pi B+, Pi 2B and Pi 3B, and haven't seen this problem. They are all currently running kernel 4.14.27. The Pi 2B and Pi B+ use Raspbian Jessie Lite and the others using Raspbian Stretch Lite. All the Pis are connected to by SSH from my laptop.

When there is a kernel update I will re-compile the drivers and check them out to make sure they are OK and did not see this when running kernels between 4.9.59 -> 4.9.80 or on any other kernel versions I've compiled the drivers for.

Do you have a file /etc/modprobe.d/8188eu.conf? Contents should be

Code: Select all

[email protected]:~ $ cat /etc/modprobe.d/8188eu.conf
# r8188eu is staging, 8188eu is off-kernel
#blacklist brcmfmac
blacklist r8188eu
options 8188eu rtw_power_mgnt=0 rtw_enusbss=0
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Mar 18, 2018 11:24 pm

It's a strange thing.

My wifi dongle is:
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
I do have the /etc/modprobe.d/8188eu.conf just like it comes from your driver since I use your install script from the tar.gz file.
I run raspbian stretch on an old 512MB raspi and was using the kernels and stuff right from the official raspbian repo via "apt".
Last night I started to test different kernels via rpi-update when I saw this issue.

From what I've gathered so far it goes somewhat like this:
- boots ok
- loads module ok
- wpa_supplicant does the connection (I have it setup in interfaces.d with a very simple WPA2 and passphrase config, nothing fancy)
- On the router side I can see it connected for a second and it even gets the IP from DHCP
- it drops the connection for whatever reason...

On one reboot it didn't drop the connection but I was running a constant ping to that IP from another machine... maybe the traffic kept it alive? (just guessing... I didn't try that again yet).

Anyway, I don't think it is something wrong with your driver. Maybe some kernel default changed at some point and it's messing with the module.

I'll try to find out exactly which kernel introduces the issue and will report back.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 19, 2018 12:01 am

Interesting stuff... I was re-testing 4.9.80+ #1092 and after failing it reconnected OK.
Looking at the logs it looks like the whole USB bus/controller/hub/something got reset twice and all USB devices (onboard ethernet and the wifi dongle, the only ones I have) show up as being removed and re-added twice.

This looks weird:

Code: Select all

Mar 18 20:47:43 gbpi kernel: [  185.591029] ERROR::dwc_otg_hcd_urb_enqueue:487: Not connected
Mar 18 20:47:43 gbpi kernel: [  185.591029]
Mar 18 20:47:43 gbpi kernel: [  185.757409] usb 1-1: USB disconnect, device number 5
Mar 18 20:47:43 gbpi kernel: [  185.757431] usb 1-1.1: USB disconnect, device number 6
Mar 18 20:47:43 gbpi kernel: [  185.757777] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet
Mar 18 20:47:43 gbpi kernel: [  185.763964] RTL871X: nolinked power save leave
Mar 18 20:47:43 gbpi kernel: [  185.764084] RTL871X: rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 478
Mar 18 20:47:43 gbpi kernel: [  185.764500] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Mar 18 20:47:43 gbpi kernel: [  185.778713] usb 1-1.3: USB disconnect, device number 7
Mar 18 20:47:43 gbpi kernel: [  185.781554] RTL871X: rtw_ndev_uninit(wlan0)
Mar 18 20:47:43 gbpi kernel: [  185.801942] RTL871X: rtw_dev_unload: driver not in IPS
Mar 18 20:47:44 gbpi kernel: [  186.026778] Indeed it is in host mode hprt0 = 00021501
Mar 18 20:47:44 gbpi kernel: [  186.416650] usb 1-1: new high-speed USB device number 8 using dwc_otg
Mar 18 20:47:44 gbpi kernel: [  186.416959] Indeed it is in host mode hprt0 = 00001101
Mar 18 20:47:44 gbpi kernel: [  186.737248] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Mar 18 20:47:44 gbpi kernel: [  186.737272] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Mar 18 20:47:44 gbpi kernel: [  186.742608] hub 1-1:1.0: USB hub found
I'll keep digging.

MrEngman
Posts: 3700
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 19, 2018 1:14 am

I've been checking out the driver with one of my 512MB ram Pi B 1.

I've tried kernels 4.9.59, 4.9.65, 4.9.70, 4.9.75 and 4.9.80 without problems. dmesg seems pretty consistent for all versions of the kernel I tried.

Code: Select all

[email protected]:~ $ dmesg | grep -i rtl
[   10.942923] RTL871X: module init start
[   10.942944] RTL871X: rtl8188eu v4.3.0.8_13968.20150417
[   10.942950] RTL871X: build time: Feb  9 2018 15:21:58
[   11.114129] RTL871X: rtw_ndev_init(wlan0)
[   11.147889] usbcore: registered new interface driver rtl8188eu
[   11.147914] RTL871X: module init ret=0
[   12.882225] ==> rtl8188e_iol_efuse_patch
[   15.281797] RTL871X: nolinked power save enter
[   16.922229] ==> rtl8188e_iol_efuse_patch
[   17.249006] RTL871X: nolinked power save leave
[   18.731693] RTL871X: nolinked power save enter
[   19.142922] ==> rtl8188e_iol_efuse_patch
[   19.576459] RTL871X: nolinked power save leave
[   19.576938] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   19.624422] RTL871X: start auth
[   22.761623] RTL871X: nolinked power save enter
[   23.232679] ==> rtl8188e_iol_efuse_patch
[   23.662961] RTL871X: nolinked power save leave
[   23.663443] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   23.720554] RTL871X: start auth
[   23.723715] RTL871X: auth success, start assoc
[   23.727686] RTL871X: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[   23.727727] RTL871X: assoc success
[   23.731445] RTL871X: recv eapol packet
[   23.745069] RTL871X: send eapol packet
[   24.730703] RTL871X: recv eapol packet
[   24.731710] RTL871X: send eapol packet
[   24.737415] RTL871X: recv eapol packet
[   24.738742] RTL871X: send eapol packet
[   24.739414] RTL871X: set pairwise key camid:4, addr:c0:ff:d4:bf:96:60, kid:0, type:AES
[   24.747971] RTL871X: set group key camid:5, addr:c0:ff:d4:bf:96:60, kid:1, type:TKIP
There are three entries showing

Code: Select all

[   15.281797] RTL871X: nolinked power save enter
[   17.249006] RTL871X: nolinked power save leave
[   18.731693] RTL871X: nolinked power save enter
[   19.576459] RTL871X: nolinked power save leave
[   22.761623] RTL871X: nolinked power save enter
[   23.662961] RTL871X: nolinked power save leave
but the wifi connects without problems.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 19, 2018 1:24 am

In my case those enter/leave lines keep repeating forever and the association with the router is dropped with the kernels that show the issue and they show only a couple of times with the kernels that work OK, similar to what you saw.

I tried a few kernels and it starts with 4.9.67+ #1061. Before that one all the ones I tested worked OK up to and including 4.9.66+ #1059

Maybe I have some other issue or some missing settings somewhere.

Here's what I tested in case it's useful. I'll stick to 4.9.66+ for the time being.

UPDATE: These tests are somewhat wrong I guess since now I'm seeing the error with 4.9.66 and 4.9.65 too...

Code: Select all

a6b3e852ca70f2a12850b4542438583cc3b29788
4.9.59+ #1047   ??????

e4b56bb7efe47319e9478cfc577647e51c48e909
4.9.65+ #1056   ?????

12641446d4e52d13814eaf44a755f483164d9f18
4.9.66+ #1059   ?????

  Kernel commit (from git_hash file):
  https://github.com/raspberrypi/linux/commit/240d0482ad9341f7d98b06705d0a55e298034121


3d557e7f8956bdc3ba0b8b6b1e3a57e91dff4920
4.9.67+ #1061   FAIL

  Kernel commit (from git_hash file):
  https://github.com/raspberrypi/linux/commit/3a1b10a4770309529f945287a91a1402ca804585


c95147eb60daed8ee0ec7ca12c94c0dcd010d74b
4.9.69+ #1065   FAIL

9fdd5ca79b8fea585ad92b36190158cca2b07eb6
4.9.73+ #1072   FAIL

5c80565c5c0c7f820258c792a98b56f22db2dd03
4.9.80+ #1092   FAIL. Here I saw some weird USB stuff. USB bus/controller/hub restarted twice on it's own????
Last edited by fgimenez on Mon Mar 19, 2018 1:55 am, edited 2 times in total.

fgimenez
Posts: 30
Joined: Sun May 05, 2013 4:54 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Mar 19, 2018 1:34 am

ok... now I'm seeing the issue with 4.9.66+
There must be something wrong on my setup and/or tests...

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests