Hp pavellion g6 2239 tx linux mint 17.3 ROSA rt3290 wireless driver problem

I installed wireless driver browsing through many posts on internet, there were compilation errors , i fixed them by tweaking the code byt after installation even though signal strength has improved but there is a kernel panic after some time ( Everything freezes) when i switch back to generic drivers, kernel panic doesnt occur please help

I have tried the same on three kernel versions 3.19,3.13,4.5 but same result

What is the “generic” driver ?

is this a 32bit or 64bit 17.3 installation ?

Is there a reason you’re not using the “generic” driver ?

What’s the output from:

lspci -vnn | grep -i net

and

sudo lshw -C network

Where did you get the drivers you compiled, and what “tweaks” did you make ?

The Generic drivers are rt2800 and rt2x00
its a 64bit installation of linux mint 17.3 Rosa
Yes there is a reason for not using Generic Drivers, They work very poorly, connection drops very frequently also there is very less wifi strength

Output -->(After loading rt3290)
ChronoTrigger saksham # lspci -vnn | grep -i net
07:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 05)
Output2->(after loading rt3290)

ChronoTrigger saksham # sudo lshw -C network
  *-network               
       description: Wireless interface
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlan0
       version: 00
       serial: 9c:2a:70:3a:34:87
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.19.0-32-generic firmware=0.37 ip=10.10.130.48 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:16 memory:c3510000-c351ffff
  *-network
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 05
       serial: 38:ea:a7:ea:7a:e6
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:27 ioport:3000(size=256) memory:c3404000-c3404fff memory:c3400000-c3403fff

-----------------------------------

Attached the drivers.

Tweaks Made->

  1. in file /home/saksham/Downloads/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/config.mk
    set the following to y
    HAS_WPA_SUPPLICANT=y
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

2.in os/linux i ran following two commands

sed -i ‘s/__devexit/__exit/g’ pci_main_dev.c
sed -i ‘s/__devinit/__init/g’ pci_main_dev.c

  1. in os/linux rt_linux.c i changed the TIME and DATE to a constant string value (only for kernel 4.5) no error for other kernel versions for this line
    4.uninstall firmware-linux (generic)
    install the deb file firmware-ralink

  2. Commented line 1135 1136 1137 in os/linux/rt_linux.c

According to the output above it’s still loading the rt2800pci driver

capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rt2800pci driverversion=3.19.0-32-generic firmware=0.37 ip=10.10.130.48 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:16 memory:c3510000-c351ffff

oh my mistake i forgot to add rt3290 and rt3290sta in /etc/modules but after adding these two lines as soon as i start linux, again i get a kernel panic

Did you try the instructions here:

intially it gave an error in source code but then i tweaked again the source code of the file given in mentioned link now it works like a charm thanks :smiley: :smiley: :smiley: :smiley: :smiley:

Nice … well done :slight_smile:

And thanks for providing the extra info … it may help if the question arises again, or for people searching for a fix.