• Not Answered

Usb Wifi dongle support on DM814x

Hi,

Please could I know if there is usb wifi dongle support on DM814 processor?

I have tried connecting Buffalo wifi dongle "WLI-UC-GN", but dont see it been detected as a network link. It requires the driver "rt2870sta" which is see is not there in DM814X by default.

I have downloaded the usb rta2870 linux driver from http://www.ralinktech.com/en/04_support/support.php?sn=501 but it does not support dm814x platform.

Please could you provide me inputs if rta2870sta driver support is available for dm814x platform or let me know if any other usb wifi dongle with appropriate driver that could provide the need.

Regards,
Rohini



9 Replies

  • You can refer http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi which is for DWA-125 using rt3070 driver from ralink.

    Ajay

  • In reply to Ajay:

    Hi,

    @Ajay : Thanks for the response.

    I was able to build the kernel and driver rt2870sta.ko for DM814X. insmod of the driver is also successfull.

    root@dm814x-evm:/# insmod rt2870sta.ko
    rtusb init --->
    usbcore: registered new interface driver rt2870

    But still the ra0 link is not detected when ifconfig is given. On giving the below command error is seen.

    root@dm814x-evm:/# ifconfig ra0 up
    ifconfig: SIOCGIFFLAGS: No such device

    Should there be separate package for wireless tools installed on DM814X? Any pointers would be helpful.

    Thanks and Regards,

    Rohini

     

     

     

  • In reply to Ajay:

    Hi,

    I am able to see the wlan0 connection in the output of iwconfig but wlan fails to start and set an ip address.

     IWCONFIG output

    root@dm814x-evm:/usr/local/sbin/sbin# ./iwconfig

    lo        no wireless extensions.

     eth0      no wireless extensions.

     wlan0     IEEE 802.11bgn  ESSID:off/any

              Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm

              Retry  long limit:7   RTS thr:off   Fragment thr:off

              Encryption key:off

              Power Management:on

    IFCONFIG output

    root@dm814x-evm:/usr/local/sbin/sbin# ifconfig

    eth0      Link encap:Ethernet  HWaddr 40:5F:C2:3E:BD:A0

              inet addr:10.1.115.42  Bcast:10.255.255.255  Mask:255.0.0.0

              UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

              RX packets:10805 errors:0 dropped:582 overruns:0 frame:0

              TX packets:7465 errors:0 dropped:0 overruns:0 carrier:0

              collisions:0 txqueuelen:1000

              RX bytes:7841462 (7.4 MiB)  TX bytes:1049788 (1.0 MiB)

              Interrupt:40

    lo        Link encap:Local Loopback

              inet addr:127.0.0.1  Mask:255.0.0.0

              UP LOOPBACK RUNNING  MTU:16436  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:0

              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    Start wlan -

    root@dm814x-evm: # ifconfig wlan0 up

    phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.

    ifconfig: SIOCSIFFLAGS: No such file or directory

    dmesg output -

    usb 2-1.4: new high speed USB device using musb-hdrc and address 4
    usb 2-1.4: New USB device found, idVendor=0411, idProduct=015d
    usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 2-1.4: Product: 802.11 n WLAN
    usb 2-1.4: Manufacturer: Ralink
    usb 2-1.4: SerialNumber: 1.0
    PM: Adding info for usb:2-1.4
    PM: Adding info for usb:2-1.4:1.0
    PM: Adding info for No Bus:phy0
    ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    PM: Adding info for No Bus:wlan0
    PM: Adding info for No Bus:ep_81
    PM: Adding info for No Bus:ep_01
    PM: Adding info for No Bus:ep_02
    PM: Adding info for No Bus:ep_03
    PM: Adding info for No Bus:ep_04
    PM: Adding info for No Bus:ep_05
    PM: Adding info for No Bus:ep_06
    PM: Adding info for No Bus:usbdev2.4
    PM: Adding info for No Bus:ep_00
    PM: Adding info for No Bus:2-1.4:1.0
    PM: Removing info for No Bus:2-1.4:1.0
    phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.

    Since the firmware updation needs to be done for the dongle, please could anyone provide me pointers on how to go about this in updating the rt2870.bin file.

    Any other pointers would be helpful.

    Thanks and Regards,

    Rohini

  • In reply to Rohini Srinivas:

    Rohini,

    You may want to see README in wifi driver and see there will be instruction on copying .bin to /etc/Wireless/rtxxxx/

    Ajay

  • In reply to Ajay:

    Ajay,

    The driver is built as part of the kernel (statically). I have download the rt2870.bin file and copied to /lib/firmware (this dir wasnt there and its been created).

    Still I see the same error. Any idea where the firmwares are loaded in DM814X? or if its loaded as part of the image itself?

    Thanks and Regards,

    Rohini

  • In reply to Rohini Srinivas:

    Hi,

    Is the source code available to create rt2870.bin file for DM814X?

    Regards,

    Rohini

  • In reply to Rohini Srinivas:

    Rohini,

    rt2870 is ralink chipset driver and they can be downloaded from ralink.com page. You can follow the wiki link i posted earlier to compiel for driver.

    Ajay

  • In reply to Ajay:

    Hi Ajay,

    We're using rt3070 chipset on DM8168 but met some problrms, and I found the wiki page is not available, could you please post it on wiki again?

    http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi which is for DWA-125 using rt3070 driver from ralink

     

    Thanks in advance.

    Jed

  • In reply to Jed ZHU:

    Hello,

    Jed ZHU
    I found the wiki page is not available, could you please post it on wiki again?

    http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi

    Best Regards

    Margarita