Search Linux Wireless

Re: RTL8192e-pci NIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/08/2012 06:16 AM, Jan Simonson wrote:
Hello,

I'm using a Samsung R720 laptop with a RTL8192e-pci NIC and Fedora 16. The
driver has been in kmod-staging from fusion until recently. Now it is removed
from staging and instead a driver is included in the kernel pack from Fedora.
After booting with this new kernel the relevant modules are loaded (see below)
but the wireless connection is not available. Using the module earlier from
Fusion worked most of the time and better and better over time.

[root@ymer ~]# uname -r
3.3.0-8.fc16.x86_64
[root@ymer ~]# lsmod|grep rtl
rtl8192se              93742  0
rtlwifi               104513  1 rtl8192se
mac80211              496450  2 rtl8192se,rtlwifi
cfg80211              195558  2 rtlwifi,mac80211
[root@ymer ~]# modinfo rtl8192se
filename:
/lib/modules/3.3.0-8.fc16.x86_64/kernel/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
firmware:       rtlwifi/rtl8192sefw.bin
description:    Realtek 8192S/8191S 802.11n PCI wireless
license:        GPL
author:         Larry Finger<Larry.Finger@xxxxxxxxxxxx>
author:         Realtek WlanFAE<wlanfae@xxxxxxxxxxx>
author:         lizhaoming<chaoming_li@xxxxxxxxxxxxxx>
alias:          pci:v000010ECd00008174sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008173sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008172sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008171sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008192sv*sd*bc*sc*i*
depends:        rtlwifi,mac80211
intree:         Y
vermagic:       3.3.0-8.fc16.x86_64 SMP mod_unload
parm:           swenc:Set to 1 for software crypto (default 0)
  (bool)
parm:           ips:Set to 0 to not use link power save (default 1)
  (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0)
  (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1)
  (bool)
parm:           debug:Set debug level (0-5) (default 0) (int)
[root@ymer ~]# lspci -nnv
snip---
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8192E/RTL8192SE Wireless LAN Controller [10ec:8192] (rev 01)
         Subsystem: Askey Computer Corp. Device [144f:7160]
         Flags: fast devsel, IRQ 16
         I/O ports at 3000 [size=256]
         Memory at f6000000 (32-bit, non-prefetchable) [size=16K]
         Capabilities: [40] Power Management version 3
         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
         Capabilities: [70] Express Legacy Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Virtual Channel
         Capabilities: [160] Device Serial Number 93-8a-a9-fe-ff-d2-24-00
         Kernel modules: rtl8192se
snip---
[root@ymer ~]#

What is wrong and what shall I do to make the NIC function?

Unfortunately, there are two PCI devices with ID 10ec:8192. The one with rev 10 uses rtl8192se, but the one with rev 01 (your device) uses driver r8192e_pci.ko from drivers/staging/r8192e/.

When the system finds that PCI ID, it will load one of the two drivers. In the probe routine of that driver, the revision number is tested, and an error is returned. At that point, the other driver (if available) is loaded and it tests the revision. Again it returns an error if the revision is wrong.

When the correct driver was not loaded first, the incorrect one will remain loaded; however, it will be inactive.

To fix your problem, you need to run a kernel that contains r8192e_pci in its configuration. Driver rtl8192se cannot work with this device under any circumstances.

I just downloaded a copy of the Fedora 16 Live CD and booted it in a virtual machine. The kernel there is 3.1.0-7.fc16.i686. It the configuration file, CONFIG_RTL8192E is not set, thus your device would not work with this kernel.

@John: Was there a policy change at Fedora regarding staging drivers? Is there some kernel that has them enabled?

Larry



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux