Skip to contentSkip to conversation

Drivers for Realtek WLAN dongles

Buildroot Stephan Hoffmann 3 participants 4 messages Jun 30, 2014

lore
Share & tools
lore
#0 lore raw

Hello all,

did anyone download and compile drivers from realtek's website using buildroot?

While
http://www.armadeus.com/wiki/index.php?title=USB_to_WiFi_adapter#Chipset_RTL8188CUS
gives a recipe to do this by hand I need an integration in buildroot for my current project.

I searched the web but did not find anything, but maybe someone has a not yet published solution. If not I will start my own patchset for this.

Kind regards

Stephan

Signature · 4 lines
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de Stephan at reLinux.de
#1 lore raw

Dear Stephan Hoffmann,

Quoted 10 lines · Stephan Hoffmann

did anyone download and compile drivers from realtek's website using buildroot?

While
http://www.armadeus.com/wiki/index.php?title=USB_to_WiFi_adapter#Chipset_RTL8188CUS
gives a recipe to do this by hand I need an integration in buildroot for my current project.

I searched the web but did not find anything, but maybe someone has a not yet published solution. If not I will start my own patchset for this.

Are you sure you need an out-of-tree driver for this? I see the mainline rtlwifi driver supports a number of rtl8188cus dongles. Which specific model do you have? Which USB vendor/product ID?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

Hi Thomas,

Quoted 9 lines · Thomas Petazzoni
Quoted 8 lines · Stephan Hoffmann

did anyone download and compile drivers from realtek's website using buildroot?

While
http://www.armadeus.com/wiki/index.php?title=USB_to_WiFi_adapter#Chipset_RTL8188CUS
gives a recipe to do this by hand I need an integration in buildroot for my current project.

Quoted 6 lines
Quoted 2 lines

I searched the web but did not find anything, but maybe someone has a not yet published solution. If not I will start my own patchset for this.

Are you sure you need an out-of-tree driver for this? I see the mainline rtlwifi driver supports a number of rtl8188cus dongles. Which specific model do you have? Which USB vendor/product ID?

Some mainline Realtek WiFi drivers do not support AP mode properly, unfortunately. See
http://lists.shmoo.com/pipermail/hostap/2014-June/030533.html. So there is a use case for out of tree drivers like https://github.com/robertalks/rt8192cu.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#3 lore raw
In reply to Thomas Petazzoni

Hello Thomas!

Quoted 12 lines · Thomas Petazzoni

Dear Stephan Hoffmann,

Quoted 8 lines · Stephan Hoffmann

did anyone download and compile drivers from realtek's website using buildroot?

While
http://www.armadeus.com/wiki/index.php?title=USB_to_WiFi_adapter#Chipset_RTL8188CUS
gives a recipe to do this by hand I need an integration in buildroot for my current project.

Quoted 5 lines
Quoted 2 lines

I searched the web but did not find anything, but maybe someone has a not yet published solution. If not I will start my own patchset for this.

Are you sure you need an out-of-tree driver for this? I see the mainline rtlwifi driver supports a number of rtl8188cus dongles. Which specific model do you have? Which USB vendor/product ID?

I am stuck to the 3.0.35 kernel for i.MX6 because the board vendor did not provide a more recent kernel yet.

I tried the driver that the kernel loads when I plugged in the dongle, that is (on the buildroot system)

# lsmod
Module                  Size  Used by    Not tainted
rtl8192cu              90081  0
rtlwifi                65735  1 rtl8192cu
rtl8192c_common        53218  1 rtl8192cu
mac80211              153566  3 rtl8192cu,rtlwifi,rtl8192c_common

lsusb on my development workstation says: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

The driver brings up wlan0, looking good at the first view, but wpa_supplicant cannot connect to the AP.

Using realtek's out-of-tree driver that I built by hand (named 8192cu) the connection works well with nothing else changed. So my conclusion is that the built in driver does not work for this dongle.

BTW: it is the 150 MBps dongle from CSL-Computer.com.

Kind regards

Stephan

Quoted 2 lines

Thomas

Signature · 4 lines
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de Stephan at reLinux.de