[SOLVED] RTL8192EU Driver

You have a problem with Salix? Post here and we'll do what we can to help.
zelkizwitami
Posts: 4
Joined: 17. Dec 2017, 09:39

[SOLVED] RTL8192EU Driver

Post by zelkizwitami »

Hello,

I have install SalixOS on old HP T5700 ThinClient (Transmeta Crusoe i586). And it's work good. But i also need driver for rtl8192eu from https://github.com/Mange/rtl8192eu-linux-driver.

Driver compiles, but when i want to modprobe module it was an error in dmesg:
version magic '4.4.88-smp SMP mod_unload PENTIUMIII ' should be '4.4.88 mod_unload 586TSC '

How to compile driver correctly?
Last edited by zelkizwitami on 17. Dec 2017, 17:51, edited 1 time in total.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: RTL8192EU Driver

Post by laprjns »

How did you compile the module? I was able to compile the module and install it without problems. I simply download the source from the link you provided, extracted the zip archive to a folder, then cd to the folder and as root did a " make && make install. After doing a modprobe 8192eu i get the following in dmesg:
[70846.133791] RTL871X: module init start
[70846.133797] RTL871X: rtl8192eu v4.4.1_17696.20160509_BTCOEX20160412-0042
[70846.133799] RTL871X: build time: Dec 17 2017 06:28:52
[70846.133800] RTL871X: rtl8192eu BT-Coex version = BTCOEX20160412-0042
[70846.133858] usbcore: registered new interface driver rtl8192eu
[70846.133860] RTL871X: module init ret=0
Also please post the output of the following command:

Code: Select all

$ ls -l /var/log/packages/ | grep kernel
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
zelkizwitami
Posts: 4
Joined: 17. Dec 2017, 09:39

Re: RTL8192EU Driver

Post by zelkizwitami »

I used the same method, make && make install. But i identify a problem in kernel and kernel-source. I must use kernel-huge for i586, but kernel-source installing kernel with smp sufix.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: RTL8192EU Driver

Post by laprjns »

Please post output from the following

Code: Select all

$ ls -l /boot/ | grep vmlinuz
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: RTL8192EU Driver

Post by DidierSpaier »

Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one.
EDIT. Actually there is only one source package, my mistake.

However I think that generally speaking i586 can cope with smp kernels. I am not sure about specifically the Crusoe emulation though. Maybe that's work trying? You could just try installing an smp kernel, without removing the non-smp one that you would keep as a backup, make entries or stanzas for both in /etc/lilo.conf, then run "lilo -t -v" and if all goes well "lilo".
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: RTL8192EU Driver

Post by laprjns »

zelkizwitami wrote:I used the same method, make && make install. But i identify a problem in kernel and kernel-source. I must use kernel-huge for i586, but kernel-source installing kernel with smp sufix.
You seem to have a mismatch of kernel-headers and kernel-source to the kernel that your are running, Please post the output of

Code: Select all

$ ls-l /var/log/packages | grep kernel
DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one
Isn't there only one kernel-source package that is applicable to all the different complied kernels of a given version?
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: RTL8192EU Driver

Post by DidierSpaier »

laprjns wrote:
zelkizwitami wrote:
DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one
Isn't there only on kernel-source package that is applicable to all the different complied kernels of a given version?
Indeed, thanks for the correction Rich. Really, I shouldn't post after lunch :?
zelkizwitami
Posts: 4
Joined: 17. Dec 2017, 09:39

Re: RTL8192EU Driver

Post by zelkizwitami »

Problem solved.

I downloaded kernel source from https://www.kernel.org/pub/linux/kernel/v4.x/ and unpacked archive into /usr/src. Then:

Code: Select all

cd /usr/src/linux-4.4.19
make mrproper
zcat /proc/config.gz> .config
make prepare
make scripts
And finally:

Code: Select all

cd /usr/src/rtl8192eu-linux-driver
make clean
make
make install
All done! :)
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] RTL8192EU Driver

Post by laprjns »

zelkizwitami wrote:Driver compiles, but when i want to modprobe module it was an error in dmesg:
version magic '4.4.88-smp SMP mod_unload PENTIUMIII ' should be '4.4.88 mod_unload 586TSC '
From this is look as though you are running the 4.4.88 kernel.
zelkizwitami wrote:cd /usr/src/linux-4.4.19
make mrproper
zcat /proc/config.gz> .config
make prepare
make scripts
And now it looks like your building modules against the 4.4.19 kernel.
zelkizwitami wrote: All done!
Somehow I don't think so.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
zelkizwitami
Posts: 4
Joined: 17. Dec 2017, 09:39

Re: [SOLVED] RTL8192EU Driver

Post by zelkizwitami »

I returned to kernel 4.4.19, which is default after install Salix OS.
Post Reply