WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?  (Read 16704 times)

Offline bcdaus

  • Newbie
  • *
  • Posts: 1
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #15 on: March 22, 2014, 09:52:31 PM »
I can confirm this fix also works for my cheap Fast R8188EU based dongle - http://imall.iteadstudio.com/wireless/gsm-gprs-and-wifi/fast-mini-wifi-usb-adapter-150mbps-dongle.html.

Thanks to you both for the update and the clear instructions.

Thanks,
Bill.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #16 on: April 08, 2014, 04:05:00 AM »
In piCore-5.3alpha1 driver built from unmodified source, means Power saving enabled. Please try, whether there is a change or not.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mcdudeabides

  • Jr. Member
  • **
  • Posts: 60
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #17 on: April 08, 2014, 09:34:12 AM »
In piCore-5.3alpha1 driver built from unmodified source, means Power saving enabled. Please try, whether there is a change or not.

Appears that rtl8188eu (TP-Link WN-725n) regression is back. 
Code: [Select]
tc@box:~$ uname -a
Linux box 3.14.0-piCore+ #1 PREEMPT Sun Apr 6 19:53:00 CEST 2014 armv6l GNU/Linux
tc@box:~$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: G
r8188eu               734082  0
regmap_i2c              1534  0
regmap_spi              1786  0
regmap_mmio             2669  0

dmesg output.  r8188eu appears to register
Code: [Select]
[    3.891022] Indeed it is in host mode hprt0 = 00021501
[    4.131076] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    4.131264] Indeed it is in host mode hprt0 = 00001101
[    4.411395] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    4.411429] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.412342] hub 1-1:1.0: USB hub found
[    4.412478] hub 1-1:1.0: 3 ports detected
[    4.691057] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.791287] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.791319] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.794469] smsc95xx v1.0.4
[    4.871243] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet,
[    4.951120] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.051694] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
[    5.051730] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.051745] usb 1-1.2: Product: 802.11n NIC
[    5.051758] usb 1-1.2: Manufacturer: Realtek
[    5.051771] usb 1-1.2: SerialNumber: 00E04C0001
[    9.441632] random: mkswap urandom read with 27 bits of entropy available
[    9.455620] Adding 106816k swap on /dev/zram0.  Priority:-1 extents:1 across:106816k SSFS
[   12.377366] EXT4-fs (mmcblk0p2): recovery complete
[   12.379850] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   12.523196] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   14.874581] random: nonblocking pool is initialized
[   25.364830] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[   25.537217] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[   25.791043] usbcore: registered new interface driver r8188eu
[   30.461584] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   32.063805] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1

I did try the full wifi.sh setup, but I included only the iwlist results below for brevity
Code: [Select]
tc@box:~$ iwconfig
wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr: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

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

tc@box:~$ iwlist wlan0 scanning
wlan0     No scan results

At least iwconfig shows power management off.  I have a generic adapter that works with 5.3a1.  Will post that next.

Offline mcdudeabides

  • Jr. Member
  • **
  • Posts: 60
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #18 on: April 08, 2014, 09:45:19 AM »
Output from generic r8192cu adapter.

Code: [Select]
tc@box:~$ uname -a
Linux box 3.14.0-piCore+ #1 PREEMPT Sun Apr 6 19:53:00 CEST 2014 armv6l GNU/Linux
tc@box:~$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
8192cu                545767  0
regmap_i2c              1534  0
regmap_spi              1786  0
regmap_mmio             2669  0

dmesg output
Code: [Select]
[    3.890986] Indeed it is in host mode hprt0 = 00021501
[    4.131048] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    4.131235] Indeed it is in host mode hprt0 = 00001101
[    4.411378] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    4.411412] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.412328] hub 1-1:1.0: USB hub found
[    4.412480] hub 1-1:1.0: 3 ports detected
[    4.691099] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.791320] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.791355] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.794519] smsc95xx v1.0.4
[    4.854680] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet,
[    4.931103] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.032689] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8176
[    5.032723] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.032738] usb 1-1.2: Product: 802.11n WLAN Adapter
[    5.032752] usb 1-1.2: Manufacturer: Realtek
[    5.032764] usb 1-1.2: SerialNumber: 00e04c000001
[    9.440222] random: mkswap urandom read with 27 bits of entropy available
[    9.454381] Adding 106820k swap on /dev/zram0.  Priority:-1 extents:1 across:106820k SSFS
[   12.366870] EXT4-fs (mmcblk0p2): recovery complete
[   12.369350] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   12.513526] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   14.863887] random: nonblocking pool is initialized
[   27.494116] usbcore: registered new interface driver rtl8192cu
[   30.559546] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   32.153823] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1

This adapter responds to scan.  At least iwconfig shows power saving off.
Code: [Select]
tc@box:~$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"McHouse"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 48:5B:39:39:CE:64
          Bit Rate:150 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=100/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

tc@box:~$ iwlist wlan0 scanning
wlan0     Scan completed :
          Cell 01 - Address:
                    ESSID:"2WIRE164"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    Extra:wpa_ie=dd1a0050f20101000050f20202000050f2040050f20201000050f202
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Quality=100/100  Signal level=100/100
          Cell 02 - Address:
                    ESSID:"McHouse"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.417 GHz (Channel 2)
                    Encryption key:off
                    Bit Rates:300 Mb/s
                    Quality=15/100  Signal level=47/100
          Cell 03 - Address:
                    ESSID:"McHouse"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.442 GHz (Channel 7)
                    Encryption key:off
                    Bit Rates:300 Mb/s
                    Quality=100/100  Signal level=100/100

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #19 on: April 25, 2014, 02:22:22 AM »
Rebuilt rtl8088eu driver from 3.12.9 source, wireless-3.13.6-piCore+.tcz updated in repo. All other items unchanged. Please try.

Hi bmarkus.

It seems like support for this wifi is broken again in the 3.14 versions of piCore and piCorePlayer.
I noticed that MREngmand who has been providing drivers for this wifi in the raspberry forum, stated that the new version was working, but it needed a firmware. It needs rtl8188eufw.bin which is not included in our rtlfirmware package.
http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=29752&start=175

So maybe we need this firmware in our firmware package?
Or would it be better to continue rebuilding an older driver for use in the newer kernels?

Steen

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #20 on: April 25, 2014, 02:42:17 AM »

So maybe we need this firmware in our firmware package?
Or would it be better to continue rebuilding an older driver for use in the newer kernels?


Better to try the current 3.14.y driver. Can you provide the missing firmware? If so, I add it to firmware-rtlwifi.tcz
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #21 on: April 25, 2014, 03:00:16 AM »
Private message sent.

Steen

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #22 on: April 25, 2014, 03:14:36 AM »
Private message sent.

Steen

Dowloaded, thanks Will update tcz in repo today.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #23 on: April 25, 2014, 04:33:16 AM »
 firmware-rtlwifi.tcz updated in repo. Please try.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mcdudeabides

  • Jr. Member
  • **
  • Posts: 60
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #24 on: April 25, 2014, 09:51:37 AM »
firmware-rtlwifi.tcz updated in repo. Please try.

Installed latest firmware with WN725 NIC and 3.14.0 kernel (piCorePlayer 1.15 image).  It appears to work correctly on initial installation.

Offline GreatDane

  • Newbie
  • *
  • Posts: 4
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #25 on: May 15, 2014, 03:09:58 PM »
Sorry about reviving this old thread, but I have just updated Steen's piCorePlayer to version 1.15e (kernel 3.14.2-piCore+) and again my TP-Link WN725N v2 USB NIC (r8188eu) does not seem to work. I have tried to repeat previous instructions for an older kernel (older post in this thread), but it does not seem to solve the problem. Could anybody please provide me with instructions on how to get it back to working condition? Did you work out a permanent solution (or work around instructions that work across different kernel versions) for this problem? Thank you very much.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: r8188eu firmware fail from piCore5.2a1 to Core5.2.1?
« Reply #26 on: May 15, 2014, 03:21:12 PM »
Sorry about reviving this old thread, but I have just updated Steen's piCorePlayer to version 1.15e (kernel 3.14.2-piCore+) and again my TP-Link WN725N v2 USB NIC (r8188eu) does not seem to work. I have tried to repeat previous instructions for an older kernel (older post in this thread), but it does not seem to solve the problem. Could anybody please provide me with instructions on how to get it back to working condition? Did you work out a permanent solution (or work around instructions that work across different kernel versions) for this problem? Thank you very much.

As piCorePlayer comes with its own kernel usually better to discuss it on the piCorePlayer page.

However I would appreciate if you could try the current piCore-5.3rc4 with your setup and report back here.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."