RaLink-RT3290-Drivers-Ubuntu
RaLink-RT3290-Drivers-Ubuntu copied to clipboard
Can not compile the driver
Can not compile the driver
What's the error log?
I don't have an error log, but i noticed the same issue when using either the kernel 4.13.0.25 or 4.13.0.26, while it had no problems with 4.10
same issue. I have the kernel 4.13.0.26
@the-dagger Can you solve the problem?
When I execute Run.sh without sudo, I get error Cannot extract src.tar.gz. With sudo, it just says installation unsuccessful. Running kernel 4.13
Hi everyone, I no longer use Linux (Shifted to mac a while ago) so sadly won't be able to help with this. However, here's something related which I managed to find, hoping that it might help someone.
https://askubuntu.com/questions/973087/wifi-does-not-work-after-ubuntu-update-17-10
P.S. I will however try to boot my old ubuntu machine and see if I am able to get this to work.
same issue. I have the kernel 4.15.0
Is there any update on booting your old ubuntu machine? @the-dagger
Here's a log of someone trying to compile it and it failing.
from /home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/include/os/rt_linux.h:18,
from /home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/include/rtmp_os.h:42,
from /home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/include/rtmp_comm.h:56,
from /home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux/../../os/linux/rt_linux.c:35:
/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux/../../os/linux/rt_linux.c: In function ‘__RTMP_OS_Init_Timer’:
./include/linux/timer.h:116:27: error: passing argument 2 of ‘init_timer_key’ from incompatible pointer type [-Werror=incompatible-pointer-types]
init_timer_key((_timer), (_fn), (_flags), NULL, NULL)
^
./include/linux/timer.h:132:2: note: in expansion of macro ‘__init_timer’
__init_timer((timer), (callback), (flags))
^~~~~~~~~~~~
/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux/../../os/linux/rt_linux.c:126:9: note: in expansion of macro ‘timer_setup’
timer_setup(pTimer, function, 0);
^~~~~~~~~~~
./include/linux/timer.h:81:6: note: expected ‘void (*)(struct timer_list *)’ but argument is of type ‘TIMER_FUNCTION {aka void (*)(long unsigned int)}’
void init_timer_key(struct timer_list *timer,
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux/../../os/linux/rt_linux.o' failed
make[2]: *** [/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux/../../os/linux/rt_linux.o] Error 1
Makefile:1551: recipe for target '_module_/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux' failed
make[1]: *** [_module_/home/pavel/Загрузки/RaLink-RT3290-Drivers-Ubuntu-master/src/os/linux] Error 2
make[1]:
Same problem here (Ubuntu 18.04, kernel 4.15
$ sudo dkms install -m rt3290sta -v 2.6.0.0 --force
Creating symlink /var/lib/dkms/rt3290sta/2.6.0.0/source ->
/usr/src/rt3290sta-2.6.0.0
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch rt3290sta.patch...patching file src/include/os/rt_linux.h
patching file src/Makefile
patching file src/os/linux/config.mk
patching file src/os/linux/Makefile.6
patching file src/os/linux/Makefile.clean
patching file src/os/linux/pci_main_dev.c
patching file src/os/linux/rt_linux.c
patching file src/tools/Makefile
Building module:
cleaning build area...
make -j8 KERNELRELEASE=4.15.0-39-generic -C src/ LINUX_SRC=/lib/modules/4.15.0-39-generic/build......(bad exit status: 2)
ERROR (dkms apport): binary package for rt3290sta: 2.6.0.0 not found
Error! Bad return status for module build on kernel: 4.15.0-39-generic (x86_64)
Consult /var/lib/dkms/rt3290sta/2.6.0.0/build/make.log for more information.
The content of make.log
can be found here
I think this is related: https://github.com/gnab/rtl8812au/issues/144
Maybe implementing the same patch might solve the issue.
I implemented the patch. Working fine on my ASUS N56JN-CN086H, Ubuntu 18.04 with kernel 4.15.0-43-generic, but I'm a newbie in drivers. Feedback would be appreciated.
That's great. I'll try it ASAP and let you know if it works.
That's great. I'll try it ASAP and let you know if it works.
Did you get it to work?
I did, but not with the patch. That didn't work for me. At some point it just started working again, but I'm not really sure how... Maybe some OS update did the trick... I'll be glad to share any config file you might need.
I'm currently running this driver: 'rt2800pci'. I don't know if that might help
Oh okay, thanks man Can you please tell me the OS and kernel version where you got the card to work. At this point I’d be happy if it just worked on any distro.
Ubuntu 18.04, kernel 4.15.0-46-generic
Okay so I installed that, and indeed rt2800pci was my default driver. That still did not solve the problem though. Even "rfkill list" shows that the interface is hardware blocked. Any Ideas?
Hi, I am unable to compile it on Ubuntu 18.04 with kernel 4.15.0-66-generic and here is the error:
In file included from ./include/linux/bitmap.h:9:0,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:21,
from ./arch/x86/include/asm/cpufeature.h:5,
from ./arch/x86/include/asm/thread_info.h:53,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/seqlock.h:36,
from ./include/linux/time.h:6,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:10,
from /home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/include/os/rt_linux.h:18,
from /home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/include/rtmp_os.h:42,
from /home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/include/rtmp_comm.h:56,
from /home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux/../../os/linux/sta_ioctl.c:33:
In function ‘memcpy’,
inlined from ‘rt_ioctl_iwaplist’ at /home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux/../../os/linux/sta_ioctl.c:700:2:
./include/linux/string.h:343:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
scripts/Makefile.build:330: recipe for target '/home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux/../../os/linux/sta_ioctl.o' failed
make[2]: *** [/home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux/../../os/linux/sta_ioctl.o] Error 1
Makefile:1577: recipe for target '_module_/home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux' failed
make[1]: *** [_module_/home/deepankar/RaLink-RT3290-Drivers-Ubuntu/src/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-66-generic'
Makefile:380: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Thanks in advance for any help.
ubuntu 19.10, cant compile :(
Ubuntu 20.04 cant compile too
if anyone get soln. ? please let us know
if anyone get soln. ? please let us know