WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2  (Read 8335 times)

Offline RodPerth

  • Newbie
  • *
  • Posts: 3
I am new to Linux and TC in particular. I have a RTL8188CUS (Obda:8176) adapter which won't work. It is listed on the Core website as compatible with TC using rtl8192cufw.bin. This is contained in firmware-rtlwifi.tcz. Although my computer appears to connect the adapter does not become operational eg Opera tells me I am not connected.

Here are several outputs which seem to be relevant.

tc@box:~$ lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04b3:310c IBM Corp. Wheel Mouse
Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

tc@box:~$ iwconfig
ip_vti0   no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on
         
dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

tunl0     no wireless extensions.

tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
cpufreq_conservative    12288  0
cpufreq_stats          12288  0
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
rtl8192cu              65536  0
rtl8192c_common        45056  1 rtl8192cu
rtl_usb                16384  1 rtl8192cu
rtlwifi                61440  3 rtl8192cu,rtl8192c_common,rtl_usb
mac80211              221184  3 rtl8192cu,rtl_usb,rtlwifi
cfg80211              135168  2 rtlwifi,mac80211
asix                   20480  0
usbnet                 20480  1 asix
ppdev                  12288  0
mii                    12288  2 asix,usbnet
squashfs               24576 126
lz4_decompress         12288  1 squashfs
loop                   16384 252
floppy                 45056  0
parport_pc             24576  0
parport                28672  2 ppdev,parport_pc
video                  20480  0
backlight              12288  1 video


tc@box:~$ dmesg
asix 2-2:1.0 eth0: register 'asix' at usb-0000:00:1d.1-2, ASIX AX88772 USB 2.0 Ethernet, 00:01:0a:0a:b7:6b
usbcore: registered new interface driver asix
rtl8192cu: Chip version 0x10
rtl8192cu: MAC address: 00:a1:b0:37:49:71
rtl8192cu: Board Type 0
rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
usb 1-1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
usb 1-1: Falling back to user helper
ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
usbcore: registered new interface driver rtl8192cu
asix 2-2:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
asix 2-2:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
asix 2-2:1.0 eth0: asix_rx_fixup() Bad Header Length 0xd68631b1, offset 4


onboot.lst
firmware-rtlwifi.tcz
wl-modules-4.2.9-tinycore.tcz
wifi.tcz
firmware.tcz
firmware.tcz.md5.txt
wireless_tools-doc.tcz


Found wifi device wlan0

Already connected!
wlan0     Link encap:Ethernet  HWaddr 00:A1:B0:37:49:71 
          inet addr:10.1.1.7  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1012 (1012.0 B)  TX bytes:1012 (1012.0 B)

Disconnect and Scan? (y/n):

Is more information required? Any assistance will be greatly appreciated.


« Last Edit: March 30, 2017, 09:43:14 AM by Rich »

Offline RodPerth

  • Newbie
  • *
  • Posts: 3
Re: firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
« Reply #1 on: March 30, 2017, 08:50:54 AM »
It occurred to me that in posting the outputs I had omitted to unplug the ethernet cable. I am now posting the "dmesg" output which does not involve the ethernet conection.

tc@box:~$ dmesg (After physical unplugging of ethernet cable)
Adding 786428k swap on /mnt/sda1/tc.swp.  Priority:-2 extents:5 across:823292k FS
random: nonblocking pool is initialized
input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio4/input/input14
rtl8192cu: Chip version 0x10
rtl8192cu: MAC address: 00:a1:b0:37:49:71
rtl8192cu: Board Type 0
rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
usb 1-1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
usb 1-1: Falling back to user helper
ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
usbcore: registered new interface driver rtl8192cu
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
wlan0: authenticate with 78:a0:51:12:58:ff
wlan0: send auth to 78:a0:51:12:58:ff (try 1/3)
wlan0: authenticated
wlan0: associate with 78:a0:51:12:58:ff (try 1/3)
wlan0: RX AssocResp from 78:a0:51:12:58:ff (capab=0x11 status=0 aid=6)
rtl8192cu:rtl92cu_set_hw_reg():<0-0> switch case not processed
wlan0: associated

The wifi adapter still appears to connect but Opera maintains the absence of an internet connection. I hpe someone can help.

Offline RodPerth

  • Newbie
  • *
  • Posts: 3
Re: firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
« Reply #2 on: March 30, 2017, 09:19:18 AM »
After considerable cursing and searching the forums I realised I was actually using the adapter as I had forgotten to reconnect the ethernet cable!! The adapter is working perfectly, I believe as a result of my compliance with the following advice by Juanito which I found on the TC Q & A forum.

Re: wifi firmware
« Reply #3 on: September 12, 2016, 08:47:12 AM »
Quote
You need to ensure the firmware extension is loaded before the wireless-KERNEL extension.

Remove them both from oneboot.lst, reboot and load them manually to test.

There is one other possible reason for the resolution of the problem. One of the posts on the forums indicated there could be a problem or conflict caused by ethernet & wifi operating together. I not only unplugged the ethernet cable but rebooted the computer and this may have contributed to the resolution of the problem.

The matter may be marked "solved". Thanks to the TC forums.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Code: [Select]
usb 1-1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
usb 1-1: Falling back to user helper

This is not exactly an error, AIUI this is normal and the WiFi should be working.
« Last Edit: March 30, 2017, 11:28:43 AM by coreplayer2 »