Bug 2265

Summary: RTL8192e dropped since kmod-staging-3.1.1
Product: Fedora Reporter: Simon <nytt>
Component: staging-kmodAssignee: Thorsten Leemhuis <fedora>
Status: RESOLVED FIXED    
Severity: normal CC: alex.anthony28991, fry.kun
Priority: P5    
Version: 16   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Simon 2012-04-09 22:09:12 CEST
Since version 3.1.1 the driver for RTL8192E-pci is removed from kmod-staging. The driver in rtlwifi (rtl8192se)included in kernel/drivers/net/wireless/ does NOT function with revision 01 cards although it shares the same ID (10ec:8192). The rtl8192se driver is for revision 10 device. The revision 01 device requires the  r8192e_pci.ko from drivers/staging/r8192e/. This driver, earlier included in kmod-staging worked well for me, and probably many other users, and now my laptop doesn't have any wireless capability any more.

I have tried to compile it myself with some kind advice from Larry Finger and actually managed to make my compiled modules load. I also get the wlan0 up, but unfortunately not been able to log into any network (open or with wep/psk).

I also got this from John W. Linville:
-----
On Mon, Apr 09, 2012 at 10:57:03AM -0500, Larry Finger wrote:
> As I do not use Fedora, I was not aware of Fusion. Perhaps you could
> get them to reinstate this driver in their package. In addition, you
> might post a bug at Redhat in hopes that they will change their
> standard configuration. As a last resort, you could switch to a
> distro that includes this driver in their standard kernels.

Yeah, this is reasonable advice.  I don't know why Fusion droped this
package, but it might have been due to me making their life harder by
integrating compat-wireless directly into the Fedora kernels.  Since I
am no longer doing that, they may be willing to reverse that decision.

I don't really see including a staging driver in Fedora unless it is
clearly on the path to the "normal" part of the kernel.  Any chance
of that?
-----
Any chance that you might pick up r8192e_pci in kmod-staging again?

Simon
Comment 1 Alex Anthony 2012-04-15 19:10:47 CEST
AFAICS, the driver is being built. However, it is nested a directory level too deep so the install line in the spec command misses it. The module is built as:
~/rpmbuild/BUILD/staging-kmod-3.3/_kmod_build_3.3.1-5.fc16.i686/drivers/staging/rtl8192e/rtl8192e/r8192e_pci.ko

The spec file install line for installing modules is:
install -D -m 755 _kmod_build_${kernel_version%%___*}/drivers/staging/*/*.ko

which makes it miss it. The same fix as is used for BRCMUTIL (lines around 105 of spec) is needed. Easy to fix or rebuild for yourself.
Comment 2 Alex Anthony 2012-04-15 19:38:52 CEST
Actually, that makes it build, but it doesn't work. RTLLIB doesn't get built properly, so there are lots of complaints about unknown symbols when you try to load it.
Comment 3 Simon 2012-04-15 23:48:42 CEST
Actually I managed to build both r8192e_pci and rtllib from source 3.3.1-5.fc16.x86_64. They also loaded ok after I run depmod. wlan0 appeared, but unfortunately no network became visible (with or without encryption).

I must have made some misstake, but I don't know where. The last driver from kmod-staging worked rather well so I see no reason why it skouldn't work now.

Simon
Comment 4 Konstantin Svist 2012-04-30 20:12:37 CEST
Still broken, anyone working on it?
Comment 5 Thorsten Leemhuis 2012-04-30 20:44:39 CEST
looking into it now
Comment 6 Thorsten Leemhuis 2012-04-30 21:32:21 CEST
updated packages build and will likely hit updates-testing in the next 24 to 48 hours
Comment 7 Thorsten Leemhuis 2012-04-30 21:34:31 CEST
Just one additional note:

(In reply to comment #3)
> I must have made some misstake, but I don't know where. The last driver from
> kmod-staging worked rather well so I see no reason why it skouldn't work now.

I have no hardware to test; if the updated packages do not work, then free free to let me know, but likely I won't be able to help
Comment 8 Konstantin Svist 2012-04-30 22:43:24 CEST
Thanks!
I have the netbook with me, is there a place where I can download the .rpms to test right now?
Comment 10 Konstantin Svist 2012-05-01 20:25:39 CEST
The module is now available, thank you!
The card doesn't want to connect to the AP, but I doubt that's your issue, I'll look around for solutions.