Realtek rtl8192eu driver

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Realtek rtl8192eu driver

Bob Marcan
Hi.
I got some  usb dongles with the rtl8192eu chip.
COMFAST Wireles-N USB Adapter, Model CF-WU835P.
What is the status of the driver? Will be available in the future?
Tried with the driver from
WNP-UA-005_driver_F85DC3AB-5E10-41B9-80DE-539993DB0BB7.zip
(rtl8192EU_linux_v4.3.1.1_11320.20140505.tar.gz).
Tried with the ndiswrapper.
No success. Any ideas?

Fedora 20, kernel 3.16.6-203.fc20.x86_64
...
Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
...

2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: new high-speed USB device number 3 using ehci-pci
2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device found, idVendor=0bda, idProduct=818b
2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Product: 802.11n NIC
2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Manufacturer: Realtek
2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: SerialNumber: 00e04c000001
2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1"
2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: bus: 1, device: 3 was not an MTP device

TIA, Bob


--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver

poma
On 04.11.2014 23:19, Bob Marcan wrote:

> Hi.
> I got some  usb dongles with the rtl8192eu chip.
> COMFAST Wireles-N USB Adapter, Model CF-WU835P.
> What is the status of the driver? Will be available in the future?
> Tried with the driver from
> WNP-UA-005_driver_F85DC3AB-5E10-41B9-80DE-539993DB0BB7.zip
> (rtl8192EU_linux_v4.3.1.1_11320.20140505.tar.gz).
> Tried with the ndiswrapper.
> No success. Any ideas?
>
> Fedora 20, kernel 3.16.6-203.fc20.x86_64
> ...
> Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
> ...
>
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: new high-speed USB device number 3 using ehci-pci
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device found, idVendor=0bda, idProduct=818b
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Product: 802.11n NIC
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Manufacturer: Realtek
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: SerialNumber: 00e04c000001
> 2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1"
> 2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: bus: 1, device: 3 was not an MTP device
>
> TIA, Bob
>
>

http://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664
Works?



--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver [SOLVED]

Bob Marcan
On Wed, 05 Nov 2014 07:18:17 +0100
poma <[hidden email]> wrote:
>
> http://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664
> Works?
>
Works! Tnx.
Googling for the solution, i filtered out non english entries.
google translate was now my friend.

Downloaded dkms doesn't work properly.
At installation it provides proper 8192eu.ko module.
After kernel upgrade and reboot, dkms installs the old module.
Probably it doesn't clean up and in the next iteration only installs
already compiled module. I'll investigate this further.

This dongle doesn't support AP mode, which i'm overlooked.

BR, Bob


--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver

jd1008
In reply to this post by Bob Marcan

On 11/04/2014 03:19 PM, Bob Marcan wrote:

> Hi.
> I got some  usb dongles with the rtl8192eu chip.
> COMFAST Wireles-N USB Adapter, Model CF-WU835P.
> What is the status of the driver? Will be available in the future?
> Tried with the driver from
> WNP-UA-005_driver_F85DC3AB-5E10-41B9-80DE-539993DB0BB7.zip
> (rtl8192EU_linux_v4.3.1.1_11320.20140505.tar.gz).
> Tried with the ndiswrapper.
> No success. Any ideas?
>
> Fedora 20, kernel 3.16.6-203.fc20.x86_64
> ...
> Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
> ...
>
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: new high-speed USB device number 3 using ehci-pci
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device found, idVendor=0bda, idProduct=818b
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Product: 802.11n NIC
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: Manufacturer: Realtek
> 2014-11-04T22:57:38+0100 smicro kernel: usb 1-1: SerialNumber: 00e04c000001
> 2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1"
> 2014-11-04T22:57:38+0100 smicro mtp-probe[4065]: bus: 1, device: 3 was not an MTP device
>
> TIA, Bob
>
>

It is not available in the fedora distros, not even in rpmfusion.
You might try other sites, like rpmfind.net,
rpm.pbone.net/index.php3/stat/2/simple/2

There are distros, but I fail to recall their domain names :(


--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver [SOLVED]

poma
In reply to this post by Bob Marcan
On 05.11.2014 20:23, Bob Marcan wrote:

> On Wed, 05 Nov 2014 07:18:17 +0100
> poma <[hidden email]> wrote:
>>
>> http://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664
>> Works?
>>
> Works! Tnx.
> Googling for the solution, i filtered out non english entries.
> google translate was now my friend.
>
> Downloaded dkms doesn't work properly.
> At installation it provides proper 8192eu.ko module.
> After kernel upgrade and reboot, dkms installs the old module.
> Probably it doesn't clean up and in the next iteration only installs
> already compiled module. I'll investigate this further.
>

$ rpm -q kernel-devel-$(uname -r) dkms
kernel-devel-3.17.2-200.fc20.x86_64
dkms-2.2.0.3-28.git.7c3e7c5.fc20.noarch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ rpmbuild --rebuild http://users.telenet.be/x86_64/RPMs/dkms-rtl8192eu-4.3.1.1-11320.20140505.src.rpm

~~~~~~

$ su -

~~~~~~

# systemctl enable dkms

# systemctl start dkms

~~~~~~~~~~~~~~~~~~~~~~~

# rpm -ivh /home/user/rpmbuild/RPMS/noarch/dkms-rtl8192eu-4.3.1.1-11320.20140505.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:dkms-rtl8192eu-4.3.1.1-11320.2014################################# [100%]

Creating symlink /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/source ->
                 /usr/src/rtl8192eu-4.3.1.1-11320.20140505

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make................
cleaning build area...

DKMS: build completed.

8192eu:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.17.2-200.fc20.x86_64/extra/
Adding any weak-modules

depmod...

DKMS: install completed.

~~~~~~~~~~~~~~~~~~~~~~~~

# modinfo 8192eu
filename:       /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
version:        v4.3.1.1_11320.20140505
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     45A7C17EE731A4EB2668470
alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
...

~~~~~~~~~~~~~~~~~~~~

# modprobe -v 8192eu
insmod /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko


# dmesg -t
...
8192eu: module verification failed: signature and/or  required key missing - tainting kernel
RTL871X: module init start
RTL871X: rtl8192eu v4.3.1.1_11320.20140505
RTL871X: build time: Nov  5 2014 22:00:31
usbcore: registered new interface driver rtl8192eu
RTL871X: module init ret=0


> This dongle doesn't support AP mode, which i'm overlooked.
>
> BR, Bob
>

http://wireless.kernel.org/en/users/Drivers
...
NOTE: All drivers can of course run in station mode, but only a few drivers support the other available wireless modes! Support of cfg80211 also offers benefits.

http://wireless.kernel.org/en/users/Documentation/modes


--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver [SOLVED]

poma
On 05.11.2014 22:14, poma wrote:

> On 05.11.2014 20:23, Bob Marcan wrote:
>> On Wed, 05 Nov 2014 07:18:17 +0100
>> poma <[hidden email]> wrote:
>>>
>>> http://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664
>>> Works?
>>>
>> Works! Tnx.
>> Googling for the solution, i filtered out non english entries.
>> google translate was now my friend.
>>
>> Downloaded dkms doesn't work properly.
>> At installation it provides proper 8192eu.ko module.
>> After kernel upgrade and reboot, dkms installs the old module.
>> Probably it doesn't clean up and in the next iteration only installs
>> already compiled module. I'll investigate this further.
>>
>
> $ rpm -q kernel-devel-$(uname -r) dkms
> kernel-devel-3.17.2-200.fc20.x86_64
> dkms-2.2.0.3-28.git.7c3e7c5.fc20.noarch
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> $ rpmbuild --rebuild http://users.telenet.be/x86_64/RPMs/dkms-rtl8192eu-4.3.1.1-11320.20140505.src.rpm
>
> ~~~~~~
>
> $ su -
>
> ~~~~~~
>
> # systemctl enable dkms
>
> # systemctl start dkms
>
> ~~~~~~~~~~~~~~~~~~~~~~~
>
> # rpm -ivh /home/user/rpmbuild/RPMS/noarch/dkms-rtl8192eu-4.3.1.1-11320.20140505.noarch.rpm
> Preparing...                          ################################# [100%]
> Updating / installing...
>    1:dkms-rtl8192eu-4.3.1.1-11320.2014################################# [100%]
>
> Creating symlink /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/source ->
>                  /usr/src/rtl8192eu-4.3.1.1-11320.20140505
>
> DKMS: add completed.
>
> Kernel preparation unnecessary for this kernel.  Skipping...
>
> Building module:
> cleaning build area...
> cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make................
> cleaning build area...
>
> DKMS: build completed.
>
> 8192eu:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/3.17.2-200.fc20.x86_64/extra/
> Adding any weak-modules
>
> depmod...
>
> DKMS: install completed.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~
>
> # modinfo 8192eu
> filename:       /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
> version:        v4.3.1.1_11320.20140505
> author:         Realtek Semiconductor Corp.
> description:    Realtek Wireless Lan Driver
> license:        GPL
> srcversion:     45A7C17EE731A4EB2668470
> alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
> alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
> ...
>
> ~~~~~~~~~~~~~~~~~~~~
>
> # modprobe -v 8192eu
> insmod /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
>
>
> # dmesg -t
> ...
> 8192eu: module verification failed: signature and/or  required key missing - tainting kernel
> RTL871X: module init start
> RTL871X: rtl8192eu v4.3.1.1_11320.20140505
> RTL871X: build time: Nov  5 2014 22:00:31
> usbcore: registered new interface driver rtl8192eu
> RTL871X: module init ret=0
>
...

Yeah, wrong version magic for kernel upgrades.


# rpm -ivh http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-core-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm \
 > http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-devel-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
Retrieving http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-core-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
Retrieving http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-devel-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:kernel-devel-3.18.0-0.rc3.git1.2.################################# [ 50%]
   2:kernel-core-3.18.0-0.rc3.git1.2.f################################# [100%]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# sha1sum /usr/lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko \
 > /usr/lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
71cbe4a06ff2511b7e5c0300066c325d7163ab5b  /usr/lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
9c8c1d687c66a25665e432248456b23501d881ee  /usr/lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko

~~~~~~
REBOOT

~~~~~~~~~~

# uname -r
3.18.0-0.rc3.git1.2.fc22.1.x86_64

~~~~~~~~~~~~~~~~

# modinfo 8192eu
filename:       /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
version:        v4.3.1.1_11320.20140505
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     45A7C17EE731A4EB2668470
alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
depends:        
vermagic:       3.17.2-200.fc20.x86_64 SMP mod_unload
...

~~~~~~~~~~~~~~~~~~~~

# modprobe -v 8192eu
insmod /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
8192eu: version magic '3.17.2-200.fc20.x86_64 SMP mod_unload ' should be '3.18.0-0.rc3.git1.2.fc22.1.x86_64 SMP mod_unload '
modprobe: ERROR: could not insert '8192eu': Exec format error

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Temporarily, you can fix it manually

# POSTIN - %post dkms-rtl8192eu.spec
/usr/sbin/dkms add -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade
/usr/sbin/dkms build -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade
/usr/sbin/dkms install -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade

# PREUN - %preun dkms-rtl8192eu.spec
/usr/sbin/dkms remove -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade --all

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dkms remove -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)

-------- Uninstall Beginning --------
Module:  rtl8192eu
Version: 4.3.1.1-11320.20140505
Kernel:  3.18.0-0.rc3.git1.2.fc22.1.x86_64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules

8192eu.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

~~~~~~~~~~~~~~~~

# modinfo 8192eu
modinfo: ERROR: Module 8192eu not found.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dkms build -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make..................
cleaning build area...

DKMS: build completed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# dkms install -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)

8192eu:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
Adding any weak-modules

depmod...

DKMS: install completed.

~~~~~~~~~~~~~~~~

# modinfo 8192eu
filename:       /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
version:        v4.3.1.1_11320.20140505
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     45A7C17EE731A4EB2668470
alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
depends:        
vermagic:       3.18.0-0.rc3.git1.2.fc22.1.x86_64 SMP mod_unload
...

~~~~~~~~~~~~~~~~~~~~

# modprobe -v 8192eu
insmod /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko


# dmesg -t
...
8192eu: module verification failed: signature and/or  required key missing - tainting kernel
RTL871X: module init start
RTL871X: rtl8192eu v4.3.1.1_11320.20140505
RTL871X: build time: Nov  6 2014 06:31:24
usbcore: registered new interface driver rtl8192eu
RTL871X: module init ret=0


--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
Reply | Threaded
Open this post in threaded view
|

Re: Realtek rtl8192eu driver [SOLVED]

poma
On 06.11.2014 07:15, poma wrote:

> On 05.11.2014 22:14, poma wrote:
>> On 05.11.2014 20:23, Bob Marcan wrote:
>>> On Wed, 05 Nov 2014 07:18:17 +0100
>>> poma <[hidden email]> wrote:
>>>>
>>>> http://forum.ubuntu-nl.org/index.php?topic=86081.msg930664#msg930664
>>>> Works?
>>>>
>>> Works! Tnx.
>>> Googling for the solution, i filtered out non english entries.
>>> google translate was now my friend.
>>>
>>> Downloaded dkms doesn't work properly.
>>> At installation it provides proper 8192eu.ko module.
>>> After kernel upgrade and reboot, dkms installs the old module.
>>> Probably it doesn't clean up and in the next iteration only installs
>>> already compiled module. I'll investigate this further.
>>>
>>
>> $ rpm -q kernel-devel-$(uname -r) dkms
>> kernel-devel-3.17.2-200.fc20.x86_64
>> dkms-2.2.0.3-28.git.7c3e7c5.fc20.noarch
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> $ rpmbuild --rebuild http://users.telenet.be/x86_64/RPMs/dkms-rtl8192eu-4.3.1.1-11320.20140505.src.rpm
>>
>> ~~~~~~
>>
>> $ su -
>>
>> ~~~~~~
>>
>> # systemctl enable dkms
>>
>> # systemctl start dkms
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~
>>
>> # rpm -ivh /home/user/rpmbuild/RPMS/noarch/dkms-rtl8192eu-4.3.1.1-11320.20140505.noarch.rpm
>> Preparing...                          ################################# [100%]
>> Updating / installing...
>>    1:dkms-rtl8192eu-4.3.1.1-11320.2014################################# [100%]
>>
>> Creating symlink /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/source ->
>>                  /usr/src/rtl8192eu-4.3.1.1-11320.20140505
>>
>> DKMS: add completed.
>>
>> Kernel preparation unnecessary for this kernel.  Skipping...
>>
>> Building module:
>> cleaning build area...
>> cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make................
>> cleaning build area...
>>
>> DKMS: build completed.
>>
>> 8192eu:
>> Running module version sanity check.
>>  - Original module
>>    - No original module exists within this kernel
>>  - Installation
>>    - Installing to /lib/modules/3.17.2-200.fc20.x86_64/extra/
>> Adding any weak-modules
>>
>> depmod...
>>
>> DKMS: install completed.
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> # modinfo 8192eu
>> filename:       /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
>> version:        v4.3.1.1_11320.20140505
>> author:         Realtek Semiconductor Corp.
>> description:    Realtek Wireless Lan Driver
>> license:        GPL
>> srcversion:     45A7C17EE731A4EB2668470
>> alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
>> alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
>> ...
>>
>> ~~~~~~~~~~~~~~~~~~~~
>>
>> # modprobe -v 8192eu
>> insmod /lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
>>
>>
>> # dmesg -t
>> ...
>> 8192eu: module verification failed: signature and/or  required key missing - tainting kernel
>> RTL871X: module init start
>> RTL871X: rtl8192eu v4.3.1.1_11320.20140505
>> RTL871X: build time: Nov  5 2014 22:00:31
>> usbcore: registered new interface driver rtl8192eu
>> RTL871X: module init ret=0
>>
> ...
>
> Yeah, wrong version magic for kernel upgrades.
>
>
> # rpm -ivh http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-core-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm \
>  > http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-devel-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
> Retrieving http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-core-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
> Retrieving http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/x86_64/kernel-devel-3.18.0-0.rc3.git1.2.fc22.1.x86_64.rpm
> Preparing...                          ################################# [100%]
> Updating / installing...
>    1:kernel-devel-3.18.0-0.rc3.git1.2.################################# [ 50%]
>    2:kernel-core-3.18.0-0.rc3.git1.2.f################################# [100%]
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> # sha1sum /usr/lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko \
>  > /usr/lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
> 71cbe4a06ff2511b7e5c0300066c325d7163ab5b  /usr/lib/modules/3.17.2-200.fc20.x86_64/extra/8192eu.ko
> 9c8c1d687c66a25665e432248456b23501d881ee  /usr/lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
>
> ~~~~~~
> REBOOT
>
> ~~~~~~~~~~
>
> # uname -r
> 3.18.0-0.rc3.git1.2.fc22.1.x86_64
>
> ~~~~~~~~~~~~~~~~
>
> # modinfo 8192eu
> filename:       /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
> version:        v4.3.1.1_11320.20140505
> author:         Realtek Semiconductor Corp.
> description:    Realtek Wireless Lan Driver
> license:        GPL
> srcversion:     45A7C17EE731A4EB2668470
> alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
> alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
> depends:        
> vermagic:       3.17.2-200.fc20.x86_64 SMP mod_unload
> ...
>
> ~~~~~~~~~~~~~~~~~~~~
>
> # modprobe -v 8192eu
> insmod /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
> 8192eu: version magic '3.17.2-200.fc20.x86_64 SMP mod_unload ' should be '3.18.0-0.rc3.git1.2.fc22.1.x86_64 SMP mod_unload '
> modprobe: ERROR: could not insert '8192eu': Exec format error
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Temporarily, you can fix it manually
>
> # POSTIN - %post dkms-rtl8192eu.spec
> /usr/sbin/dkms add -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade
> /usr/sbin/dkms build -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade
> /usr/sbin/dkms install -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade
>
> # PREUN - %preun dkms-rtl8192eu.spec
> /usr/sbin/dkms remove -m rtl8192eu -v 4.3.1.1-11320.20140505 --rpm_safe_upgrade --all
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> # dkms remove -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
>
> -------- Uninstall Beginning --------
> Module:  rtl8192eu
> Version: 4.3.1.1-11320.20140505
> Kernel:  3.18.0-0.rc3.git1.2.fc22.1.x86_64 (x86_64)
> -------------------------------------
>
> Status: Before uninstall, this module version was ACTIVE on this kernel.
> Removing any linked weak-modules
>
> 8192eu.ko:
>  - Uninstallation
>    - Deleting from: /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
>  - Original module
>    - No original module was found for this module on this kernel.
>    - Use the dkms install command to reinstall any previous module version.
>
> depmod....
>
> DKMS: uninstall completed.
>
> ~~~~~~~~~~~~~~~~
>
> # modinfo 8192eu
> modinfo: ERROR: Module 8192eu not found.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> # dkms build -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
>
> Kernel preparation unnecessary for this kernel.  Skipping...
>
> Building module:
> cleaning build area...
> cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make..................
> cleaning build area...
>
> DKMS: build completed.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> # dkms install -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
>
> 8192eu:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
> Adding any weak-modules
>
> depmod...
>
> DKMS: install completed.
>
> ~~~~~~~~~~~~~~~~
>
> # modinfo 8192eu
> filename:       /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
> version:        v4.3.1.1_11320.20140505
> author:         Realtek Semiconductor Corp.
> description:    Realtek Wireless Lan Driver
> license:        GPL
> srcversion:     45A7C17EE731A4EB2668470
> alias:          usb:v0BDAp818Cd*dc*dsc*dp*icFFiscFFipFFin*
> alias:          usb:v0BDAp818Bd*dc*dsc*dp*icFFiscFFipFFin*
> depends:        
> vermagic:       3.18.0-0.rc3.git1.2.fc22.1.x86_64 SMP mod_unload
> ...
>
> ~~~~~~~~~~~~~~~~~~~~
>
> # modprobe -v 8192eu
> insmod /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko
>
>
> # dmesg -t
> ...
> 8192eu: module verification failed: signature and/or  required key missing - tainting kernel
> RTL871X: module init start
> RTL871X: rtl8192eu v4.3.1.1_11320.20140505
> RTL871X: build time: Nov  6 2014 06:31:24
> usbcore: registered new interface driver rtl8192eu
> RTL871X: module init ret=0
>


Until you find a solution within dkms, this script/service can help you

/usr/bin/check-8192eu-vermagic
#!/bin/sh
#
# Compare 8192eu vermagic and kernel release,
# if not equal build and install 8192eu.ko again

vermagic=$(modinfo 8192eu -F vermagic | awk '{print $1}')
kernelrel=$(uname -r)
if [[ $vermagic != $kernelrel ]]; then
  dkms remove -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
  dkms build -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
  dkms install -m rtl8192eu -v 4.3.1.1-11320.20140505 -k $(uname -r)
  modprobe -v 8192eu
else
  echo OK
fi

~~~~~~~~~~~

# chmod +x /usr/bin/check-8192eu-vermagic

~~~~~~~~~~~~~~~~~~~

/etc/systemd/system/check-8192eu-vermagic.service
[Unit]
Description=Compare 8192eu vermagic and kernel release

[Service]
ExecStart=/usr/bin/check-8192eu-vermagic

[Install]
WantedBy=multi-user.target

~~~~~~~~~~~~~~~~~

systemctl enable check-8192eu-vermagic.service

~~~~~~
REBOOT

~~~~~~~~~~~~~~~~~~~

# journalctl -b -u check-8192eu-vermagic.service -o -cat
building 8192eu
-------- Uninstall Beginning --------
Module:  rtl8192eu
Version: 4.3.1.1-11320.20140505
Kernel:  3.18.0-0.rc3.git1.2.fc22.1.x86_64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules
8192eu.ko:
- Uninstallation
- Deleting from: /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.........
DKMS: uninstall completed.
Kernel preparation unnecessary for this kernel.  Skipping...
Building module:
cleaning build area...
cd /var/lib/dkms/rtl8192eu/4.3.1.1-11320.20140505/build ; make...................
cleaning build area...
DKMS: build completed.
8192eu:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/
Adding any weak-modules
depmod...
DKMS: install completed.
insmod /lib/modules/3.18.0-0.rc3.git1.2.fc22.1.x86_64/extra/8192eu.ko

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Until the next kernel upgrade

# journalctl -b -u check-8192eu-vermagic.service -o cat
OK


Besides subscribe
http://vger.kernel.org/vger-lists.html#linux-wireless
and try to contact Larry Finger in order to get RTL8192EU into the kernel.


poma
--
users mailing list
[hidden email]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org