Giter Site home page Giter Site logo

Support for kernel 4.4 about mt7630e HOT 14 CLOSED

neurobin avatar neurobin commented on July 28, 2024
Support for kernel 4.4

from mt7630e.

Comments (14)

iamthom avatar iamthom commented on July 28, 2024 1

Well, it's done! Works now. I've done this.

  • run git clone https://github.com/benjarobin/MT7630E.git
  • moved the 3 folders from step 1, into your folder
  • recompiled. It works perfectly for the WiFi.

Disclaimer :

  • final result not yet tested on lower version. I just compiled it in kernel 4.4

😄

regards,
Tom.

from mt7630e.

neurobin avatar neurobin commented on July 28, 2024

You can try installing the driver in kernel 4.4 and post here the error messages you get. In that way I will be able to look into it...and after that, I will be able to give you some hints too if you want.

Regards,
Jahid.

from mt7630e.

iamthom avatar iamthom commented on July 28, 2024

Thank you for the reply.. :D

Here is the error message I got:
error-compile-generic

And I noticed, if error CONFIG_X86_X32 enabled but no binutils support caused by space in my folder name. Once I fixed and re-compiled it, the error has gone. The error now is

sudo ./install 
[sudo] password for tom: 
make -C /lib/modules/`uname -r`/build M=/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00 modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400-generic'
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00dev.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00dev.o] Error 1
make[1]: *** [_module_/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400-generic'
make: *** [all] Error 2
cp -v firmware/*/* /lib/firmware/
‘firmware/BT/mt76x0.bin’ -> ‘/lib/firmware/mt76x0.bin’
‘firmware/Wi-FI/MT7650E234.bin’ -> ‘/lib/firmware/MT7650E234.bin’
cp rt2x00/mt7630e.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
cp: cannot stat ‘rt2x00/mt7630e.ko’: No such file or directory
make: *** [install] Error 1
modprobe: FATAL: Module mt7630e not found.
modprobe: FATAL: Module mt76xx not found.

Regards,
Tom.

from mt7630e.

iamthom avatar iamthom commented on July 28, 2024

Update 2:
Error -fstack-protector-strong not supported by compiler seems to be my gcc compiler which has lower version. I've upgraded from 4.8 to 4.9.3 and now, it gave me another error:

sudo ./install
[sudo] password for tom: 
make -C /lib/modules/`uname -r`/build M=/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00 modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400-generic'
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00dev.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00mac.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00config.o
/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00config.c: In function ‘rt2x00lib_config’:
/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00config.c:273:27: error: ‘struct ieee80211_conf’ has no member named ‘max_sleep_period’
   autowake_timeout = (conf->max_sleep_period * beacon_int) - beacon_diff;
                           ^
make[2]: *** [/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00/rt2x00config.o] Error 1
make[1]: *** [_module_/home/tom/Downloads/Ubuntu/Software/DRIVER/wireless/MT7630E-release/rt2x00] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400-generic'
make: *** [all] Error 2
cp -v firmware/*/* /lib/firmware/
‘firmware/BT/mt76x0.bin’ -> ‘/lib/firmware/mt76x0.bin’
‘firmware/Wi-FI/MT7650E234.bin’ -> ‘/lib/firmware/MT7650E234.bin’
cp rt2x00/mt7630e.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
cp: cannot stat ‘rt2x00/mt7630e.ko’: No such file or directory
make: *** [install] Error 1
modprobe: FATAL: Module mt7630e not found.
modprobe: FATAL: Module mt76xx not found.

Nah, seems like I've out of idea what happen now 😄

from mt7630e.

neurobin avatar neurobin commented on July 28, 2024

I have pushed a new commit. Can you test it for me.. I don't have kernel 4.4 for now...

Regards,
Jahid

from mt7630e.

iamthom avatar iamthom commented on July 28, 2024

Okay, I'll do it later..

from mt7630e.

iamthom avatar iamthom commented on July 28, 2024

Seems like it works,

sudo ./install                                                                                         
[sudo] password for tom: 
make -C /lib/modules/`uname -r`/build M=/home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00 modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400-generic'
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00dev.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00mac.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00config.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00queue.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00link.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/mt_linux.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00crypto.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00firmware.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00leds.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00mmio.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2800pci.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2800lib.o
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/rt2x00pci.o
  LD [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/mt7630e.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/mt7630e.mod.o
  LD [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/rt2x00/mt7630e.ko
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400-generic'
make -C /lib/modules/`uname -r`/build M=/home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/btloader modules
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400-generic'
  CC [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/btloader/mt76xx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/btloader/mt76xx.mod.o
  LD [M]  /home/tom/Downloads/Ubuntu/Software/DRIVER/wifi_kernel_44/btloader/mt76xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400-generic'
cp -v firmware/*/* /lib/firmware/
‘firmware/BT/mt76x0.bin’ -> ‘/lib/firmware/mt76x0.bin’
‘firmware/Wi-FI/MT7650E234.bin’ -> ‘/lib/firmware/MT7650E234.bin’
cp rt2x00/mt7630e.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
cp btloader/mt76xx.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
depmod

😄 Thank you for your great effort!

regards,
Tom.

from mt7630e.

neurobin avatar neurobin commented on July 28, 2024

Thanks for testing it for me, I can now push a new release with confidence.. Thanks again.

from mt7630e.

asx99 avatar asx99 commented on July 28, 2024

Hello, I have the same problem 16.06.01 Manjaro and I can not install a driver for my wireless card mt7630e .. Can you help me, thank you

from mt7630e.

neurobin avatar neurobin commented on July 28, 2024

@asx99 What kind of errors are you getting?

from mt7630e.

meenakshiravisankar avatar meenakshiravisankar commented on July 28, 2024

Hello,
I have Ubuntu 16.04 version and kernel 4.4, Broadcom BCM43142 is my wifi driver. But I can't see the available wifi networks,so, i installed mt7630e from the following site
https://community.linuxmint.com/tutorial/view/1796
and installed it according to the steps. But i get the following error
screenshot from 2017-03-09 11-32-52

Can you please help me solve this problem ?

from mt7630e.

Jpfonseca avatar Jpfonseca commented on July 28, 2024

@Meenu5 do a sudo make uninstall && ./uninstall.
Then download the lastest realease from this repository and follow the readme steps

from mt7630e.

meenakshiravisankar avatar meenakshiravisankar commented on July 28, 2024

Hello , I did like you told, yet there is error.

screenshot from 2017-03-09 21-58-47

from mt7630e.

Jpfonseca avatar Jpfonseca commented on July 28, 2024

Make sure you have dkms installed.
If you get any trouble on the way, uninstall it again and follow this walkthrough.

from mt7630e.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.