You are not logged in.

#1 2011-09-05 00:17:40

Superposition
Member
Registered: 2010-06-20
Posts: 20

RTL8191SEvA problems on a 1201N eee with 3.0-ARCH

Hello,

I recently upgraded to version 3.0 of the kernel and am having problems getting my wifi card to work (on an eee 1201N).  lspci says it's a RTL8191SEvA:

lspci | grep -i realtek
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA Wireless LAN Controller (rev 10)

Before upgrading to 3.0, I used the realtek driver for 8192se (located here: http://www.realtek.com.tw/DOWNLOADS/dow … oads=true) and everything worked correctly.  However, I currently no longer have a wlan0 interface.

Apparently, the driver for this card has been added to the 3.0 kernel.  I tried loading the r8192e_pci kernel module and it loaded correctly with modprobe; however, I did not have a wlan0 interface (or any other wireless interface) even when adding the r8192e_pci module to the MODULES array in /etc/rc.conf and rebooting.

I also tried compiling the aforementioned driver for my card, but (judging by the compile errors) it does not support kernel 3.0.

Any suggestions would be very much appreciated.

Edit:

I forgot to say that I also tried to use the rtl8192se module as suggested in another thread but it seems to be missing:

sudo modprobe rtl8192se
FATAL: Module rtl8192se not found.

(I am running a standard arch kernel)

Thanks

Last edited by Superposition (2011-09-05 02:52:44)

Offline

#2 2011-09-05 19:10:15

valentinmauro
Member
Registered: 2011-06-18
Posts: 2

Re: RTL8191SEvA problems on a 1201N eee with 3.0-ARCH

The RTL8192 driver from the 3.0 kernel doesn't likes the RTL8191SEvA... at least not for me


You need to do that sed line in the base directory of the inflated sources downloaded from http://www.mediafire.com/?twtj5mk2352e80c :
       sed -i 's|RX_FLAG_TSFT|RX_FLAG_MACTIME_MPDU|g' base.c rtl8192{ce,se,de}/trx.c

And edit the makefile like this:


CC = gcc
KVER  := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/rtlwifi
FIRMWAREDIR := /lib/firmware/
PWD := $(shell pwd)
CLR_MODULE_FILES := *.mod.c *.mod *.o .*.cmd *.ko *~ .tmp_versions* modules.order Module.symvers
SYMBOL_FILE := Module.symvers

EXTRA_CFLAGS += -O2
obj-m := rtlwifi.o
PCI_MAIN_OBJS    := base.o    \
        rc.o    \
        debug.o    \
        regd.o    \
        efuse.o    \
        cam.o    \
        ps.o    \
        core.o    \
        pci.o    \

rtlwifi-objs += $(PCI_MAIN_OBJS)

all:
    $(MAKE) -C $(KSRC) M=$(PWD) modules
    @cp $(SYMBOL_FILE) rtl8192se/
    @make -C rtl8192se/

install: all
    find /lib/modules/$(shell uname -r) -name "r8192se_*.ko" -exec rm {} \;
    $(shell rm -fr $(MODDESTDIR))
    $(shell mkdir $(MODDESTDIR))
    $(shell mkdir $(MODDESTDIR)/rtl8192se)

    @install -p -m 644 rtlwifi.ko $(MODDESTDIR)   
    @install -p -m 644 ./rtl8192se/rtl8192se.ko $(MODDESTDIR)/rtl8192se
   
    @depmod -a

    @#copy firmware img to target fold
    $(shell [ -d "$(FIRMWAREDIR)/`uname -r`" ] && cp -fr firmware/rtlwifi/ $(FIRMWAREDIR)/`uname -r`/.)
    $(shell [ ! -d "$(FIRMWAREDIR)/`uname -r`" ] && cp -fr firmware/rtlwifi/ $(FIRMWAREDIR)/.)

uninstall:
    $(shell [ -d "$(MODDESTDIR)" ] && rm -fr $(MODDESTDIR))
   
    @depmod -a
   
    @#delete the firmware img
    @rm -fr /lib/firmware/rtlwifi/
    @rm -fr /lib/firmware/`uname -r`/rtlwifi/

clean:
    rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
    rm -fr .tmp_versions
    rm -fr Modules.symvers
    rm -fr Module.symvers
    rm -fr Module.markers
    rm -fr modules.order
    rm -fr tags
    @find -name "tags" -exec rm {} \;
    @rm -fr $(CLR_MODULE_FILES)
    #@make -C rtl8192ce/ clean
    @make -C rtl8192se/ clean
    #@make -C rtl8192de/ clean

(Worked for me)

Offline

#3 2011-09-05 19:20:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: RTL8191SEvA problems on a 1201N eee with 3.0-ARCH

valentinmauro, please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#4 2011-09-05 20:30:09

Superposition
Member
Registered: 2010-06-20
Posts: 20

Re: RTL8191SEvA problems on a 1201N eee with 3.0-ARCH

Thanks for the suggestion valentinmauro.  I was able to get wifi working by compiling the module using the modification you suggested.  Unfortunately, this caused a new issue, which is that the kernel randomly locks up a few minutes after using the driver.  I figured this might be a contention issue between the stock kernel driver and the compiled one but according to lsmod the stock driver is not running.

Has anyone had any luck getting the standard kernel driver to work?

Thanks

Offline

#5 2011-09-06 08:25:46

spookyln
Member
From: Czech Rep
Registered: 2009-02-10
Posts: 39

Re: RTL8191SEvA problems on a 1201N eee with 3.0-ARCH

07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA Wireless LAN Controller (rev 10)

on my 1201N kernel driver working without prob.
before 3.0 with driver from AUR too.

Offline

Board footer

Powered by FluxBB