linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: jan@simonson.se
Cc: linux-wireless@vger.kernel.org, John Linville <linville@tuxdriver.com>
Subject: Re: RTL8192e-pci NIC
Date: Sun, 08 Apr 2012 11:16:04 -0500	[thread overview]
Message-ID: <4F81B9C4.1010901@lwfinger.net> (raw)
In-Reply-To: <1502184.lhzNHmlX61@ymer>

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@lwfinger.net>
> author:         Realtek WlanFAE<wlanfae@realtek.com>
> author:         lizhaoming<chaoming_li@realsil.com.cn>
> 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




  reply	other threads:[~2012-04-08 16:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 11:16 RTL8192e-pci NIC Jan Simonson
2012-04-08 16:16 ` Larry Finger [this message]
2012-04-09 15:10   ` Jan Simonson
2012-04-09 15:57     ` Larry Finger
2012-04-09 19:26       ` John W. Linville
2012-04-09 20:32         ` Jan Simonson
2012-04-09 22:16         ` Larry Finger
2012-04-11 15:51           ` Jan Simonson
2012-04-11 16:02             ` Larry Finger
2012-04-13 15:11               ` Jan Simonson
2012-04-13 16:07                 ` Larry Finger
2012-04-16 22:28             ` Larry Finger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F81B9C4.1010901@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=jan@simonson.se \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).