USB wireless with B04

This forum is for all other ARMv5 devices

USB wireless with B04

Postby crom » Wed May 02, 2012 5:43 pm

Dear forum,

I just received a USB wireless adapter (Realtek RTL8191SU). I wonder how I can compile or download a module for this device. Currently, it seems to be detected but I have no idea how to get working. :(
crom
 
Posts: 14
Joined: Thu Apr 12, 2012 7:05 pm

Re: USB wireless with B04

Postby crom » Sun May 06, 2012 11:30 am

To narrow my question: I went to http://www.realtek.com.tw/downloads/dow ... #RTL8191SU and downloaded the driver source "Linux driver for Kernel 2.6.37(and earlier)", which should work in my opinion.

When I type 'make', I get
$this->bbcode_second_pass_code('', 'make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/2.6.31.6_SMP_820/build M=/root/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401 modules
make[1]: Entering directory `/lib/modules/2.6.31.6_SMP_820/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.31.6_SMP_820/build'
make: *** [modules] Error 2
')

There is a generated 'config', 'Kconfig' and autoconf_rtl8712_usb_linux.h, but I find no scripts to generate them new.

Any hints how to proceed?
crom
 
Posts: 14
Joined: Thu Apr 12, 2012 7:05 pm

Re: USB wireless with B04

Postby WarheadsSE » Sun May 06, 2012 2:06 pm

Get the source, per the instructions on this forum, and compile as necessary. Note: possible deep waters ahead ;)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: USB wireless with B04

Postby crom » Sun May 06, 2012 7:57 pm

After struggeling with a useless staging diver from the kernel tree I finally managed to build the vendor driver.

Here is my approach:
$this->bbcode_second_pass_code('', '

Download PRO.config from http://ppl.ug/Ze91Jqp1MEg/
wget http://download.pogoplug.com/opensource/pro/pogopro-linux-2.6.31.6-r2.tar.bz2
tar xjf pogopro-linux-2.6.31.6-r2.tar.bz
cd pogopro-linux-2.6.31.6-r2
mv ../PRO.config .config

Comment out the CROSS_COMPILE line from top-level Makefile

make oldconfig
make modules_prepare

cd
Download the driver source (Linux driver for Kernel 2.6.37(and earlier)) from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#2292
unzip and dir into driver directory
make
Do _NOT_ use 'make install', it killed all other modules for me
mkdir -p /lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/wireless
cp 8712u.ko /lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/wireless/
depmod -a
modprobe 8712u (this should work fine, check dmesg)
insert 8712u into modules array in rc.conf
')

Many thanks to viewtopic.php?f=29&t=2472

Everything works great so far, using wpa_supplicant for the AP connection
crom
 
Posts: 14
Joined: Thu Apr 12, 2012 7:05 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 7 guests