Problem on the implementation with RTL8723BU

Hi,

I am developing the WiFi driver for RTL8723BU to replace the old WiFi driver for RTL2XXX on a hardware.

The hardware is using OpenWrt version as below output of "cat /proc/version"
Linux version 4.1.11 (XXX) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47551)

After I ported/installed my RTL8723BU driver on the hardware, the hardware could detect the WiFi module as I got the below output of "lsusb"

    Bus 001 Device 002: ID 0bda:b720 Realtek Semiconductor Corp. 
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

However, I cannot get the WiFi interface which is something like 'wlan0'
I just got the below output of "ifconfig"

    lo        Link encap:Local Loopback  
               inet addr:127.0.0.1  Mask:255.0.0.0
               inet6 addr: ::1%3067738744/128 Scope:Host
               UP LOOPBACK RUNNING  MTU:65536  Metric:1
               RX packets:6133 errors:0 dropped:0 overruns:0 frame:0
               TX packets:6133 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:0 
               RX bytes:414196 (404.4 KiB)  TX bytes:414196 (404.4 KiB)

Can anyone help on this?
Thanks

Regards,
Terry

(Moved to the For Developers section.)

Per the community guidelines , please refrain from signing posts.

All the best.

  • What do you see in the web GUI?
  • Did you install wpad-mini?
  • Is this a USB-based device?
  • If so, did you install the USB drivers too?

Hi lleachii,

Thanks for your help.

As my hardware has only the WLAN interface (no LAN interface), I cannot surf the web GUI now.
No matter I install the wpad-mini or not, the results are the same (the wlan0 cannot be started-up).

I did install the USB related driver, so that the system can find the USB WiFi module with 'lsusb'.

From the log of 'logread', I found

daemon.notice netifd: Interface 'loopback' is enabled
daemon.notice netifd: Interface 'loopback' is setting up now
daemon.notice netifd: Interface 'loopback' is now up
daemon.notice netifd: Network device 'lo' link is up
daemon.notice netifd: Interface 'loopback' has link connectivity 
daemon.notice netifd: radio0 (1239): Could not find PHY for device 'radio0'
daemon.notice netifd: radio1 (1240): command failed: Operation not supported (-95)
daemon.notice netifd: radio0 (1271): WARNING: Variable 'data' does not exist or is not an array/object
daemon.info avahi-daemon[1315]: Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
daemon.info avahi-daemon[1315]: Successfully dropped root privileges.
daemon.info avahi-daemon[1315]: avahi-daemon 0.6.31 starting up.
daemon.warn avahi-daemon[1315]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
daemon.info avahi-daemon[1315]: Loading service file /etc/avahi/services/mpd.service.
daemon.info avahi-daemon[1315]: Network interface enumeration completed.
daemon.info avahi-daemon[1315]: Registering HINFO record with values 'ARMV5TEJL'/'LINUX'.
daemon.info avahi-daemon[1315]: Server startup complete. Host name is LSFREE288948.local. Local service cookie is 390855584.
daemon.info avahi-daemon[1315]: Service "LSFREE288948" (/etc/avahi/services/mpd.service) successfully established.
daemon.notice netifd: radio1 (1240): command failed: Operation not supported (-95)
daemon.notice netifd: radio1 (1240): Configuration file: /var/run/hostapd-phy0.conf
daemon.notice netifd: radio1 (1240): Could not read interface wlan0 flags: No such device
daemon.notice netifd: radio1 (1240): nl80211: Driver does not support authentication/association or connect commands
daemon.notice netifd: radio1 (1240): nl80211: deinit ifname=wlan0 disabled_11b_rates=0
daemon.notice netifd: radio1 (1240): Could not read interface wlan0 flags: No such device
daemon.notice netifd: radio1 (1240): nl80211 driver initialization failed.
daemon.notice netifd: radio1 (1240): wlan0: interface state UNINITIALIZED->DISABLED
daemon.notice netifd: radio1 (1240): wlan0: AP-DISABLED 
daemon.notice netifd: radio1 (1240): hostapd_free_hapd_data: Interface wlan0 wasn't started
daemon.notice netifd: radio1 (1240): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
daemon.notice netifd: radio1 (1240): Command failed: Invalid argument
daemon.notice netifd: radio1 (1240): Device setup failed: HOSTAPD_START_FAILED

Is the netifd unable to find the USB Wifi module?