neurobin / MT7630E

Modified easy installation package
https://neurobin.org/projects/softwares/unix/MT7630E/
233 stars 72 forks source link

modprobe: ERROR: could not insert 'mt7630e': Invalid argument #104

Open DOUNIA11 opened 3 years ago

DOUNIA11 commented 3 years ago

System info

Entry Details
OS <Ubuntu 14.04>
Kernel version

4.4.0-148-generic New install | DKMS | Compiler | < gcc-4.8.5>

Devince info

Device ID: <run lsusb |grep -i 'mediatek\|foxcon' to get it (e.g 0e8d:763f)>

General info:

#block starts
run 'lspci -vv | grep -A20 -i mediatek' and paste the output in this block
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
    Subsystem: Foxconn International, Inc. Device e074
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at f7800000 (32-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>

04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
    Subsystem: ASUSTeK Computer Inc. Device 130d
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 51
    Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at d000 [size=128]
    [virtual] Expansion ROM at f7000000 [disabled] [size=512K]
    Capabilities: <access denied>

#block ends

Bluetooth stats:

#block starts
run 'rfkill list' and paste the output in this block
0: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: asus-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
#block ends

What didn't work?

[MT7630 failed to install .]

What did you try?

[I tried install/uninstall the MT7630E package with different releases and updating Ubuntu as follow: chmod +x install test uninstall ./install when I tried to install it I get modprobe error; I also tried installed with dkms (whithout error), and reboot: sudo make dkms but the problem not solved, no wifi; I also downloaded many time the MT6730E package and tried to install it, but every time I got the same error;]

Error code:

#block starts
[dounia@dounia-pc:~/mt/MT7630E_master$ sudo ./install
[sudo] password for dounia: 
make -C /lib/modules/`uname -r`/build M=/home/dounia/mt/MT7630E_master/rt2x00 modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-4.4.0-148-generic »
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: quittant le répertoire « /usr/src/linux-headers-4.4.0-148-generic »
make -C /lib/modules/`uname -r`/build M=/home/dounia/mt/MT7630E_master/btloader modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-4.4.0-148-generic »
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: quittant le répertoire « /usr/src/linux-headers-4.4.0-148-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
modprobe: ERROR: could not insert 'mt7630e': Invalid argument
]
#block ends

Additional info

[Put any additional information here or leave it blank]