TransWikia.com

Failling install Ralink RT5592 driver on Ubuntu 14.04 LTS

Ask Ubuntu Asked by atisou on November 11, 2021

My problem concerns the installation of a wi-fi driver (RT5592) for my new wi-fi adapter (PCE-N53) on my newly built computer. Basically, I don’t manage to get the driver installed and therefore I cannot get the wifi to work.
I know I am not the only one having this issue this year, between RT5592 driver and Ubuntu 14.04 LTS, in one way or the other.
Is there anybody who has ever been able to fix this problem? It does not look like on all the posts I have been through…

Following an answer to a same problem as mine (I was getting the same error message as Christopher Kyle Horton of “incompatible types” etc), I have applied the instructions and done the editings in a script as suggested by
Paul B.

Unfortunately I still do get error/warnings message (a different one this time) at the end of the make and the wi-fi still does not work.
Below is a snapshot of the end of the message:

In file included from /home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/include/os/rt_linux.h:31:0,
                 from /home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/include/rtmp_os.h:44,
                 from /home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/include/rtmp_comm.h:69,
                 from /home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/pci_main_dev.c:31:
include/linux/module.h:88:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
extern const struct gtype##_id __mod_##gtype##_table  
                               ^
include/linux/module.h:146:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
MODULE_GENERIC_TABLE(type##_device,name)
^
/home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/pci_main_dev.c:73:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/username/Downloads/PCE-N53/Linux/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'
make: *** [LINUX] Error 2

The full pastebin data is here

It looks from the message that one would need to edit manually some of/other scripts in the driver package, as did Paul B suggest in one case. But I have no idea how to do that.

Here is the driver package of the wifi adapter

My system is as following:

OS: ubuntu 14.04 LTS      
wi-fi card: Asus PCE-N53   
motherboard: Asus KCMA-D8   
processor: AMD Opteron 4228 HE   
kernel: 3.13.0-32-generic   

Following this info from chili555 in here, below are some extra info about my system:

lspci -nn | grep 0280

gives

04:00.0 Network controller [0280]: Ralink corp. RT5592 PCI2 Wireless Network Adapater [1814:5592]

and

sudo apt-get install linux-headers-generic

returns

linux-headers-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

If this is a kernel version (I have 3.13.0-32-generic) incompatibility issue with the driver as chilli555 suggests (the README file in the driver package says indeed it is compatible with kernel 2.6), how could one trick this around to make it work? that should be possible right? On ubuntu forums, the patches proposed dont work (leads the computer to freeze).

Basically: is there anybody out there who has ever been able to make a PCE-N53 work on Ubuntu 14.04 LTS (kernel 3.13)? how shall I edit the driver package to make it work for my kernel?

One Answer

Instead of building the driver on your own, you can try the 2x00 driver that's part of the official kernel.

The commit history of /drivers/net/wireless/rt2x00/rt2x00.h in the official ubuntu kernel (HEAD also 3.13.y) trees show that in March 2013, some work was done to make the driver work with your chip. The PCI ID is listed, so it's worth trying.

You can also try to install a more recent kernel and see if it works, the official mainline kernel PPA has 3.14.1 for Trusty: http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

Before doing this, read https://wiki.ubuntu.com/Kernel/MainlineBuilds

Answered by Jan on November 11, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP