Realtek 8192S not working since LE11

  • I am using a USB dongle WLAN adapter for some time now.

    Since upgrading to LE11 the adapter is not recognized by connman while the onboard WLAN adaper of my RPi3 is working fine (except the small antenna).

    I can not recognize any error in dmesg

    but in connman only the wired network is recognized as technology.

    Any suggestions`?

  • Go to Best Answer
  • Please you run "pastekodi" and share the URL so we can see the full log. The snipped you've shared appears to show the device being probed and the driver loaded. The difference between LE10 and LE11 is we've dropped the vendor driver in favour of an in-kernel driver that's in the process of replacing it.

  • Code
    Feb 16 19:11:01.959281 LibreELEC kernel: usb 1-1.5: r8712u: CustomerID = 0x000a
    Feb 16 19:11:01.960477 LibreELEC kernel: usb 1-1.5: r8712u: MAC Address from efuse = 24:05:0f:6b:f2:ef
    Feb 16 19:11:01.961390 LibreELEC kernel: usb 1-1.5: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
    Feb 16 19:11:01.962782 LibreELEC kernel: usbcore: registered new interface driver r8712u
    ...
    Feb 16 19:11:02.386054 LibreELEC connmand[639]: wlan0 {create} index 3 type 1 <ETHER>
    Feb 16 19:11:02.386091 LibreELEC connmand[639]: wlan0 {update} flags 4098 <DOWN>
    Feb 16 19:11:02.386127 LibreELEC connmand[639]: wlan0 {newlink} index 3 address 24:05:0F:6B:F2:EF mtu 1500
    Feb 16 19:11:02.386158 LibreELEC connmand[639]: wlan0 {newlink} index 3 operstate 2 <DOWN>
    Feb 16 19:11:02.387214 LibreELEC connmand[639]: Adding interface wlan0 [ wifi ]

    ^ The MAC address of the USB NIC matches what ConnMan sees as wlan0. The only thing I see that looks abnormal is the interface not being brought to an UP state. What happens if you manually do "ifconfig wlan0 up" ?

  • "ifconfig wlan0 up" results in the device listed in ifconfig:

    Code
    wlan0     Link encap:Ethernet  HWaddr 24:05:0F:6B:F2:EF
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    but connman does not change the operstate:

    As you can see I switched the device between up and down but the operstate stays at 2.


    I just tested the dongle with my notebook (Linux Mint - Kernel 5.15) and can verify that it works there.

    Edited once, last by lomion: Merged a post created by lomion into this post. (April 13, 2023 at 11:28 AM).

  • Can you rm -rf the connman service folder for the NIC under /storage/.cache/connman/<name of service> and reboot. Any change?

    And/Or try to use connmanctl to create a connection:

    connmanctl

    agent on

    scan wifi

    services

    connect <service>

  • No change after removing all wifi service folders.

    connmanctl fails at "scan wifi" since the technology does not exist:

    Code
    Error /net/connman/technology/wifi: Method "Scan" with signature "" on interface "net.connman.Technology" doesn't exist
    Code
    connmanctl> technologies 
    /net/connman/technology/ethernet
      Name = Wired
      Type = ethernet
      Powered = True
      Connected = True
      Tethering = False
      TetheringFreq = 0

    I also tried manually scan in iwd but there as well is no device or adapter listed.

  • Error /net/connman/technology/wifi: Method "Scan" with signature "" on interface "net.connman.Technology" doesn't exist

    I got same error when iwd refused to start due to some missing driver. Can you check iwd service status with systemctl?

  • Ok. Driver is in staging and it seems that it doesn't use much of linux wifi kernel side framework, on which iwd relies heavily. Sorry to say, but it seems that driver is not iwd compatible. TODO.txt in kernel says this:

    Code
    A replacement for this driver with MAC80211 support is available
    at https://github.com/chunkeey/rtl8192su

    So it may be possible that driver mentioned above is in fact iwd compatible, but as a team policy, we won't add any out of tree wifi driver.