Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

Bug #1220146 reported by Anthony Wong
572
This bug affects 107 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Medium
Canonical Hardware Enablement
Trusty
Won't Fix
Medium
Unassigned
Linux
Unknown
Unknown
vivid
New
Undecided
Unassigned
linux (Fedora)
New
Undecided
Unassigned
linux (Ubuntu)
Triaged
Medium
Unassigned
Nominated for Trusty by Alberto Salvia Novella
Nominated for Utopic by Alberto Salvia Novella
linux-lts-xenial (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Trusty by Alberto Salvia Novella
Nominated for Utopic by Alberto Salvia Novella

Bug Description

This device is appearing in some OEM machines, but driver is not yet available in mainline.

The driver seems to be present in machines with pre-installed OS, but isn't available on the download-and-install versions!

The driver that upstream is working on can be found at https://github.com/lwfinger/mt7630.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: blocks-hwcert-enablement
Changed in hwe-next:
status: New → Confirmed
Changed in linux (Ubuntu Raring):
status: New → Confirmed
importance: Undecided → Medium
Changed in linux (Ubuntu Saucy):
importance: Undecided → Medium
Changed in hwe-next:
assignee: nobody → Canonical Hardware Enablement Team (canonical-hwe-team)
importance: Undecided → Medium
Revision history for this message
Karishma Agarwal (karishma1412) wrote :

My laptop is also having the same driver. Kindly provide the support for this driver as soon as possible. Thanks in advance.

Revision history for this message
Imerion (imerion) wrote :

Same here. Is there anything I can do to help getting it implemented? I could help compile and test prototypes or so for example. I did try to compile and install some drivers from the manufacturers homepage, but they didnt seem to work and I wasnt sure they were for this specific device. Anyway, please tell me if I can helt because getting this working would be highly appreciated!Also, how long does it usually take to get something like this into mainline?

Revision history for this message
ajithk (ajith-k-holla) wrote :

Yes, on hp pavilion 15- n004tx with ubuntu finds same wifi network controller. need to get a driver working, its not working currently..

Revision history for this message
Alberto Russo (valix) wrote :

On HP probook 430 g1 is present this wifi/bluetooth network device.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201306-13836 HP Pavilion 15

tags: added: 201306-13836 blocks-hwcert taipei-lab
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201307-13904 HP Pavilion 14

tags: added: 201307-13904
Revision history for this message
Kaivalya Sakalgaonkar (kaivalya59) wrote :

When I bought the laptop (HP Pavilion 15 n004tx), it was preinstalled with Ubuntu 12.04 LTS. The wifi and Bluetooth was working smoothly in the preinstalled Ubuntu. Did manufacturers use different compatible drivers?? How can the drivers be available in older version and not in the latest one?? Please fix it soon. Thank you.

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

so i've a hp probook 430 g1 with this card and i can't use wifi/bluetooth, please fix this bug!!!! Thanks :D

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201305-13643 HP Pavilion 14

tags: added: 201305-13643
Revision history for this message
Himanshu Bhange (phoenix-himanshu) wrote :

Also affects HP pavilion 15-N011TU having pre-installed ubuntu 12.04 .

I bought Hp Pavilion 15 - n011tu laptop

In my case my wifi network is connected but i can not browse.

I called HP but they said you got response from HP support supervisor puru vaidya that "you got cheap laptop as you have not brought the windows OS , we have corporate tie up with microsoft and we do not support other OS( god knows why HP is selling preinstalled Ubuntu laptops)
This is an insult to linux community.

i have dropped an email to HP vendor ie mediatek <email address hidden> lets see how they respond

Revision history for this message
Gaurav Sharma (change5262) wrote :

Wifi doesn't work after kernel upgrade! I also tried installing linux-firmware_1.118_all.deb on Ubuntu 13.10, no luck.

Himanshu, I'm in the same boat as you, as regards to buying HP Pavilion 15 - n011tu. But, I can use my wifi only if I use the OS config (Ubuntu 12.04) that HP shipped with it. The laptop suffers with hanging problems on Ubuntu 12.04 and HP support told me to upgrade, but if I upgrade I don't have Wifi, but hanging is sorted. HP tried to sell me Windows too! If they don't know Ubuntu, they shouldn't sell it, it's a marketing gimmick!

I have put this on Twitter and I will mail on <email address hidden> as well. Mediatek has a Linux drivers website (http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501) but no drivers for our chip: MT7630.
Good luck and thanks!

Revision history for this message
Manel Grifoll (drapnet) wrote :

My laptop is also having the same Mediatek driver. HP probook 430 g1.

Thanks :D

Revision history for this message
Vilas (k-vilas2000) wrote :

I have bought the HP Pavilion 15 n004tx. The wifi and bluetooth both are not working with preinstalled OS only. (Ububntu 12.04)

Revision history for this message
Himanshu Bhange (phoenix-himanshu) wrote :

I am documenting my research ( my futile attempts to solve this problem) 1)

I have downloaded drivers from http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501

and followed procedure in the below thread http://ubuntuforums.org/showthread.php?t=1958059

i worked worked with 2 drivers( build and attached the .ko )
 i) RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890)
 ii) RT3290 PCIe

2) I also tried wot work with Ndiswrapper using PCIe(RT2790/RT309X/RT35X2/RT539X/RT3290/MT7630) driver and followed ubuntu guidlines to use Ndiswrapper

In both the cases Driver Module gets loaded but nothing happens( i have blacklisted the original driver)

Thanks!!

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

please i'm going crazy, i'm trying also to use ndiswrapper but nothing...i've also mail to mediatek but i've no answer yet

Revision history for this message
Himanshu Bhange (phoenix-himanshu) wrote :

I am a c/c++ programmer but i do not have experience with device drivers , if some one from community guides me
i can write code or make necessary changes , i reviewed some code of old drivers from mediatek majority of there code
is same since 2008 , i think we just need to make some kernal specific changes

Thanks!!
Himanshu

Revision history for this message
Vijay (email-vijayn) wrote :

I've been stuck with the same problem for several days now. The make file for the MT7610U v 3.0.0.2 driver downloaded from the mediatek site lists MT7630E as one of the supported devices. However the source compiles to a file named mt7650u_sta.ko Loading this driver using modprobe does not seem to do anything.

D/L link for the driver
http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501

Can anybody help with this?

Thanks

Vijay

description: updated
Revision history for this message
Omnicomment (omnicomment) wrote :

Seriously.. this is getting to me now: http://askubuntu.com/questions/404733/unresolved-duplicate-how-do-i-get-a-mediatek-mt7630e-802-11bgn-wi-fi-adapter-to

Here's another occurrence: http://askubuntu.com/questions/402757/need-wifi-driver-of-mediatek-7630-for-ubuntu-12-04

http://varshneyabhi.wordpress.com/2013/11/28/kernel-panic-while-using-wireless-wifi-drivers-of-mediatek-7601u-chipset/
Provides links to some of the problems involved in porting the drivers for another device, supposedly compatible with this 7630 card. Also claims contacting Ralink / Mediatek hasn't been useful, since they haven't gotten back after acknowledging a problem.

Here's a distinct lack of HelPfulness: http://h30434.www3.hp.com/t5/Wireless-Internet-Home-Networking/Problem-with-Mediatek-7630-wifi-bluetooth-card/td-p/2994253/page/2

There are two solutions to this.

1) There are machines STILL shipping with Ubuntu pre-installed, that utilise this card. Check any retailer's website! These are identical machines to the ones featured in the complaints: where the WiFi works out of the box, but doesn't do so if you upgrade. And still doesn't do so if you roll back! (This can only mean that the roll back version of the OS isn't the same as the OEM installed version).

Can someone from the Canonical team buy one, or even just boot one up at a retailer, copy the driver and upload it for release? If I had the cash, I'd have ordered a 2nd laptop, done this within 24 hours of receipt, and then returned it. I still might do this myself this weekend - provided I find such a machine at a retail showroom near me, and not only at an online retailer (since I don't have the cash :P). Then again, I wonder if I can request an online retailer to do this at their end.

I won't even bother requesting HP to do this.

So yes, does anyone know the filename and path? Or even a whole folder?

2) WRITE THE DAMN DRIVER!

Revision history for this message
Sheldon Irwin (sheldon-irwin) wrote :

I have the same problem, and little-to-no experience with linux drivers.

HP provides OpenSUSE drivers for this card: See "Ralink Wireless LAN Driver for SuSE Linux" at the following url:

http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?sp4ts.oid=5405417&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswEnvOID%253D2020%257CswLang%253D%257Caction%253DlistDriver&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken#Driver - Network

Perhaps this helps out? I'm in desperate need of a fix, University starts in a few weeks..

Revision history for this message
mycodef (mycodef) wrote :

Nice find! It appears to be MT7630 drivers & firmware for SLED 11 SP3

Direct link: ftp://ftp.hp.com/pub/softpaq/sp63501-64000/sp63656.tar

Revision history for this message
Sheldon Irwin (sheldon-irwin) wrote :

Thanks, I was also told to rebuild kernel modules using the new kernel:

 1) git clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git
 2) cd wireless-testing
 3) sudo make menuconfig
 4) make
 5) make modules_install install

This didn't seem to help me unfortunately.. I'm assuming the new kernel is still missing the correct drivers.

Is there any way to convert / rebuild the above driver for debian / ubuntu? I have no experience in this field?

Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

@Sheldon You are correct, I checked and the driver is still missing.
From the archive, we can use the firmware file, but not the modules directly. We need the source code to recompile it against the current kernel of our distro.

Revision history for this message
Himanshu Bhange (himanshu-bhange) wrote :

I found this link

https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/8267525f9845eca0222da8ebccc1452a6113d86a

Signed-off-by: Jay Hung <email address hidden>

I droped an email to jay..

Revision history for this message
Felix Stridsberg (felixstridsberg) wrote :

This also affects my HP PROBOOK 450.

Thougt HP whould be safe to choose. Guess I was wrong.

Revision history for this message
SimonWerner (simonwerner) wrote :

Also affects my HP ProBook 470 G1.

Revision history for this message
verion GmbH (sales-ixsoft) wrote :

This bug affects all ASUS P550 notebooks with production date starting from Jan 2014.
They have swapped the reliable Atheros Wifi/BT controller with this MediaCrap module 7630.

I have asked MediaTek (through webform and via mail) and they did not respond.
I wonder if they do exist at all or are just a marketing department of Foxconn (they produce all the Mediatek cards).
I have asked ASUS and they told me the Mediatek was the same as Ralink 2800 module, so no problem with Windows drivers.

Anybody knows how to add the PCI ID from the MediaCrap 7630 module into the ralink driver?
I had a look into the r2x00 driver and it seems pretty weird, at least there was no PCI ID list in the source.

Revision history for this message
Himanshu Bhange (phoenix-himanshu) wrote :

MEDIATEK created new website
http://www.mediatek.com/en/downloads/

And this is there bluff

"MediaTek is very active in the Linux community, and provides source code for many of its client drivers to developers."

Revision history for this message
Armin Jacob (armin-jacob) wrote :
Revision history for this message
SimonWerner (simonwerner) wrote :

Hi A J,

I have tried to compiled the source and have the following results:
 - It looks like the code was written on Ubuntu with Linux version v3.5.0-24 (Ubuntu 12.10).
 - I tried Xubuntu 13.10 - (kernel v3.11.0-18-generic) - it does not compile - as suggested by the author.
 - Then I tried Ubuntu 12.10 - Desktop Live CD (kernel v3.5.0-17-generic) - compiles okay (in VM), but my laptop will not boot this version of Ubuntu. So I could not test with this version of Ubuntu.
 - So I tried Ubuntu 12.10 - Server install - (kernel v3.5.0-17-generic). Used the same modules compiled in the previous step. Not all modules are available on the server install for the generic kernel, the missing modules was (I don't know if this is important or not):
      /lib/modules/3.5.0-24-generic/kernel/drivers/misc/eeprom/eeprom.ko
However, once the other modules were loaded the Wifi light changed colour and the installer could detect the Wifi card. However, the installer could not detect the network, even when I manually entered it.

I suggest someone else try Ubuntu 12.10 (since it comes with the correct kernel version). I will upload the compiled modules, so someone just needs to run "load.sh" on Linux 3.5.0-17-generic to load the modules. And they can test the Wifi driver.

Revision history for this message
SimonWerner (simonwerner) wrote :

I can confirm the above driver works on my HP ProBook G1, running Ubuntu 13.10 with Linux v3.5.0-17 (the stock kernel from Ubuntu 12.10) and the modules compiled from github: https://github.com/anthonywong/mt7630

Below is a rough guide on how to get this wifi adapter working. These steps are only for testing purposes and I do not recommend anyone uses this setup:
1) Compile the mt7630 modules (I compiled in a VirtualBox VM running Ubuntu 12.10 Live CD which uses Linux v3.5.0-17).
2) Install the following and reboot (I installed this on my actual laptop, which has Ubuntu 13.10 - note that in my case the video drivers failed when I installed this):
          linux-image-3.5.0-17-generic_3.5.0-17.28_amd64.deb
          linux-image-extra-3.5.0-17-generic_3.5.0-17.28_amd64.deb
3) Run the 'load.sh' script from the mt7630 module package (you may need to make some obvious modifications to get the correct module directory). This will load your wifi drivers.

Below is the output from 'lspci -v' for this card:
04:00.0 Network controller: MEDIATEK Corp. Device 7630
 Subsystem: Hewlett-Packard Company Device 197c
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Memory at b0600000 (32-bit, non-prefetchable) [size=1M]
 Capabilities: <access denied>
 Kernel driver in use: rt2800pci

I tested the card for standard network access and suspended the laptop, all went well.

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

unfortunately it works only under an old kernel...but thanks for your work SimonWerner and if i can help you, tell me

Revision history for this message
Jacek Tomaszewski (slimak-pl) wrote :

Definitely that is something. So how to get this to work under newer kernels?
I'd love to help, but I don't really know where to start.

Revision history for this message
verion GmbH (sales-ixsoft) wrote :

Since the driver from github seems to work with the mtk7630 device, what is the process to move this upstream?

I think the developer for rt2800 can simply incorporate the changes into the mainline beta driver and the masses could test it out then.
How is the developer informed about this patch and the severity level?
Since there are zillions of notebooks now shipping with this MediaCrap hardware, I would think this is one of the more important pieces of hardware to support with the next kernel release.

Revision history for this message
SimonWerner (simonwerner) wrote :

Hi,

I have done some more testing with the MT6730 driver using kernel version 3.5.0-17. The results show that the wifi can be very slow, infact, it is almost unuseable at times.

Below are results on my HP ProBook G1 (wifi and eth0) as well as my Android based phone. I used Speedtest.net to get my speed values. The test results are only through 1 wifi access point, but I can confirm that the problem exists on the 3 wifi access points I tested this on.

All values are in Mbps.

                          Download Upload
mt7630 10.08 0.19 - kernel v3.5.0
mt7630 11.58 failed - kernel v3.5.0 (fresh boot)
eth0 91.30 93.12 - kernel v3.5.0
eth0 93.57 94.62 - kernel v3.11.0
Android 21.01 31.28 - I suppose this is the speed we expect on the mt7630

I will raise a bug on the github page for this driver.

Revision history for this message
Rishabh Upadhyay (ris-upadhyay) wrote :

i bought Hp Pavilion 15-n011tu because it was certified by ubuntu and the wifi model too:mt7630e

but it just sucks now .

i just wonder why ubuntu is not taking any step to fix this bug .

the ubuntu website says : "we will provide the support in next standard release "; but in ubuntu 14.04 still this driver is missing .

 i have moved to window 8 again .

Revision history for this message
Giovanni Paolini (giove-paolini) wrote :

I have the same problem, with my Asus F552C (using Ubuntu 14.04 live).
I tried ndiswrapper with the Windows drivers found on mediatek.com, but it didn't work.
It would be really nice to have a solution to this...

Revision history for this message
mg (gobbimattia) wrote :

Same problem here (Asus F552C).

Revision history for this message
Fred (jelk) wrote :

Same problem on a HP ProBook 470 G1 with Ubuntu 14.04 Trusty Thar
Hope, this will be fixed, soon.

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

Same issue here with my HP probook 440g1. Hope any thing +ve in near future.

Cmon Canonical group, make some noise.!

Revision history for this message
Крылов Прохор (proxoraleksandrovich) wrote :

same problem on a Asus x550cc with ubuntu 12.04, 14.04.

Revision history for this message
Ndis (ndiswrap) wrote :

Another ASUS x550cc owner checking in - same problem.

Revision history for this message
Marko (marko-kauzlaric) wrote :

Same problem on ASUS X750L

Revision history for this message
Petr Ospalý (ospaly) wrote :

I wasted my 5 days on laptop ASUS X550C: I did research, why wifi is not working with installed opensuse 13.1, installed vanilla 3.5 kernel, compiled that driver from github against it (he says 3.5 branch should work) - I could use scan on that device and see wireless networks around, but connection just always timed out - never get ip address.

Then I tried that linuxmint 13, install kernel 3.5.0-24-generic, compile driver and same result as with opensuse and kernel 3.5.7-7, never connect....

I think that in that ASUS is slightly different chipset, at least this line:
Subsystem: Hewlett-Packard Company Device 197c

is different on my ASUS - there is:
Subsystem: FOXCONN something (I wrapped that piece of crap to a box again, so I cannot post full line and will return it)

Revision history for this message
ulthir (nicolas-rosado) wrote :

I have the same problem on ASUS R751L :
The networks adapters "Mediatek MT760E 802.11 bgn Wi-Fi Adapter" doesn't work on any Linux distributions.

Revision history for this message
wojciech@romek.szczecin.pl (wojciech-z) wrote :

Small word of advice for HP probook users.
I replaced the wifi card with no problem. It accepted any one I tried and I tried a lot including intel, atheros and ralink including two AC cards. Of course all of those worked without any problems on ubuntu 14.04.
I tried on HP ProBook 470 (E9Y60EA)

Revision history for this message
Marko (marko-kauzlaric) wrote :

Same problem on new ASUS x750 series:

Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Affecting Trusty

tags: added: trusty
Revision history for this message
mycodef (mycodef) wrote :
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Test with newer development kernel (3.13.0-24.46)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

  With the recent release of this Ubuntu release, would like to confirm if this bug is still present. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get dist-upgrade

If the bug still exists, change the bug status from Incomplete to New. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux:
status: New → Incomplete
tags: added: kernel-request-3.13.0-24.46
Revision history for this message
ulthir (nicolas-rosado) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

After test on OS ubuntu 14.04 LTS and release of kernel :
ubuntu@ubuntu:~$ uname -r
3.13.0-24-generic

I have the same problem on ASUS R751L :
The networks adapters "Mediatek MT760E 802.11 bgn Wi-Fi Adapter" doesn't work

Best regards

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote :

Still present after upgrade to kernel 3.13.0-29-generic on HP Probook 450 G1.

Changed in linux:
status: Incomplete → New
Revision history for this message
Egor K (yegorgk) wrote :

Still present on HP Probook 450 G1

uname -r

3.13.0-30-generic

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

Problem still present with my HP 440g1.

As said, upgraded the kernel to "3.13.0-29-generic", but no Luck.!!!

Changed in linux:
status: Incomplete → New

Revision history for this message
Rishabh Upadhyay (ris-upadhyay) wrote :

status: Incomplete → New

after doing all sorts of update and upgrade as suggested .

problem still persist in : HP Pavilion 15 n011tu

Revision history for this message
Крылов Прохор (proxoraleksandrovich) wrote :

status: Incomplete → New

problem still persist in : Asus x550cc

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

problem still persist in : Asus P550C as well

Kernel 3.13.0-29-generic

Revision history for this message
Zlatko Zlatev (zlatko-zlatev) wrote :

Same problem on HP probook 450

Changed in linux (Ubuntu):
status: Confirmed → New
Changed in linux (Ubuntu Raring):
status: Confirmed → New
Changed in linux (Ubuntu Saucy):
status: Confirmed → New
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1220146

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux:
status: New → Incomplete
Changed in linux (Ubuntu Raring):
status: New → Incomplete
Changed in linux (Ubuntu Saucy):
status: New → Incomplete
Tilly (tilly11)
tags: added: apport-collected
Tilly (tilly11)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
David Gordon (david-gordon-hughes) wrote : apport information

ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ryan 1849 F.... pulseaudio
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=7b4a60ae-a7e5-4036-932b-b88d541570a7
InstallationDate: Installed on 2014-06-17 (4 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: ASUSTeK COMPUTER INC. X550CA
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-29-generic root=UUID=04bd374b-af8d-434e-9774-b4e416770d14 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-29-generic N/A
 linux-backports-modules-3.13.0-29-generic N/A
 linux-firmware 1.127.2
Tags: trusty trusty trusty
Uname: Linux 3.13.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 08/13/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X550CA.212
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X550CA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX550CA.212:bd08/13/2013:svnASUSTeKCOMPUTERINC.:pnX550CA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX550CA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X550CA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
David Gordon (david-gordon-hughes) wrote : AlsaInfo.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : BootDmesg.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : CRDA.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : CurrentDmesg.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : Lspci.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : Lsusb.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : ProcInterrupts.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : ProcModules.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : RfKill.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : UdevDb.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : UdevLog.txt

apport information

Revision history for this message
David Gordon (david-gordon-hughes) wrote : WifiSyslog.txt

apport information

Changed in linux:
status: Incomplete → Confirmed
Revision history for this message
Jahidul Hamid (jahid) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Problem still persist. Tested kernel 3.16.0.rc2 but the support for that driver is still missing..
Affects my HP ProBook 440 G1

Revision history for this message
Heinz Werner Kramski (kramski) wrote :

If the existing driver successfully gets ported, will this also enable the Bluetooth part or only the wlan device?

Revision history for this message
Puntu (sanjit-rath) wrote :

I have got the Mediatek mt7610u sta driver working on Linux x64 .. the patched driver code is checked in to the bitbucket account. I have Linksys AE6000 / AC580 wifi dongle.. it works perfectly with the patched driver code..

The sources are checked in on the following link

https://bitbucket.org/sanrath/mediatek_mt7610u_sta_driver_linux-64bit/overview

Revision history for this message
Spessotto (spessotto) wrote :

@ Puntu: it seems promising, but I'm trying to figure out what to edit within these files
    Makefile
    os/linux/config.mk
    common/rtusb_dev_id.c
in order to correctly build the driver agaisnt the MT7630E chipset. (ok, in the first one I already figured it out)

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : apport information

ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: fast 2410 F.... pulseaudio
 /dev/snd/controlC0: fast 2410 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-04-21 (69 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.

 docker0 no wireless extensions.
MachineType: Hewlett-Packard HP ProBook 450 G1
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=e4fe9165-793f-4544-af68-24f3aaa23b0d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-30-generic N/A
 linux-backports-modules-3.13.0-30-generic N/A
 linux-firmware 1.127.4
RfKill:

Tags: trusty trusty trusty
Uname: Linux 3.13.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/13/2014
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L74 Ver. 01.08
dmi.board.name: 1942
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 89.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL74Ver.01.08:bd02/13/2014:svnHewlett-Packard:pnHPProBook450G1:pvrA3009DD10303:rvnHewlett-Packard:rn1942:rvrKBCVersion89.10:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 450 G1
dmi.product.version: A3009DD10303
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : AlsaInfo.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : BootDmesg.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : CRDA.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : Lspci.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : Lsusb.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : ProcEnviron.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : ProcModules.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : PulseList.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : UdevDb.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : UdevLog.txt

apport information

Revision history for this message
Fabio Strozzi (fabio-strozzi) wrote : WifiSyslog.txt

apport information

Revision history for this message
Marko (maticmarko95) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

http://www.mediatek.com/en/downloads/mt7630-pcie/
I found this yesterday but I'm newbie in Linux and don't know how to test if it works. Sorry for my English

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

http://www.mediatek.com/en/downloads/mt7630-pcie/
I found this yesterday but I'm newbie in Linux and don't know how to test if it works. Sorry for my English

I tried this but keep getting errors when running make and make clean?
Not sure what issue is but would like any assistance if anyone has tried these new drivers and had success.

Revision history for this message
Matteo Barbieri (matteo.barbieri) wrote :

It's working!!!

@David Gordon thanks for the link, using those drivers WiFi is working, haven't checker BT yet.

Drivers are inside a "MT7630E_Wi-Fi_BT_Source Release_20140625" folder, the space is causing you the Make issue.
Try to remove it

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

@Matteo - I get error even on make. There is no command for makeclean it is make clean
It says "No rule to make target 'release_20140625/rt2x00'. Stop.

Followed their readme to the letter. What exactly did you do?

Revision history for this message
Marko (maticmarko95) wrote :

I have this problem
root@ubuntu:/home/ubuntu/Desktop/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/rt2x00#
./load.sh
bash: ./load.sh: Permission denied
All the previous steps have gone well

Revision history for this message
Matteo Barbieri (matteo.barbieri) wrote :

@David make clean is not necessary the first time you compile.
I changed the "MT7630E_Wi-Fi_BT_Source Release_20140625" folder name to remove the whitespace.
Check with pwd if you have other spaces in your path...

@Marko try with
sudo ./load.sh

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

@Matteo, Still same issue. I think there are some necessary packages missing. The machine am dealing with is a fresh install of Ubuntu 14.04 and I may need something else. Thanks anyway.

Revision history for this message
Marko (maticmarko95) wrote :

@David I solved my problem with installing build-essential maybe it's your problem too

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Hi,

I tried with above mentioned drives. Wifi and bluetooth are working fine.
@David: Execute this command. This will download all required package
requires for driver compilation.
*sudo apt-get install -y build-essential kernel-package libncurses5-dev
bzip2*

regards,
Abhishek Vershney,
+91-9910892111

On Mon, Jun 30, 2014 at 10:30 PM, David Gordon <email address hidden>
wrote:

> @Matteo, Still same issue. I think there are some necessary packages
> missing. The machine am dealing with is a fresh install of Ubuntu 14.04
> and I may need something else. Thanks anyway.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
David Gordon (david-gordon-hughes) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@Abhishek, I installed above (I knew there was something I needed) but alas I still have same errors.

ryan@ryan-X550CA:~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$ sudo make clean
[sudo] password for ryan:
make -C /lib/modules/3.13.0-30-generic/build M= clean
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-30-generic'
/usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/Makefile:7: /usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/NetCommSw/ncsw_config.mk: No such file or directory
make[4]: *** No rule to make target `/usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/NetCommSw/ncsw_config.mk'. Stop.
make[3]: *** [drivers/net/dpa] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [_clean_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-30-generic'
make: *** [clean] Error 2
ryan@ryan-X550CA:~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$ sudo make
make -C /lib/modules/3.13.0-30-generic/build M= modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-30-generic'
make[2]: *** No rule to make target `/usr/src/linux-headers-3.13.0-30-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'. Stop.
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-30-generic'
make: *** [all] Error 2
ryan@ryan-X550CA:~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$

Revision history for this message
SimonWerner (simonwerner) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@David, read Matteo's comments on changing the "MT7630E_Wi-Fi_BT_Source
Release_20140625" folder name to remove the whitespace. This worked for me.

On 1 July 2014 05:47, David Gordon <email address hidden> wrote:

> @Abhishek, I installed above (I knew there was something I needed) but
> alas I still have same errors.
>
> ryan@ryan-X550CA:~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$
> sudo make clean
> [sudo] password for ryan:
> make -C /lib/modules/3.13.0-30-generic/build M= clean
> make[1]: Entering directory `/usr/src/linux-headers-3.13.0-30-generic'
> /usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/Makefile:7:
> /usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/NetCommSw/
> ncsw_config.mk: No such file or directory
> make[4]: *** No rule to make target
> `/usr/src/linux-headers-3.13.0-30-generic/drivers/net/dpa/NetCommSw/
> ncsw_config.mk'. Stop.
> make[3]: *** [drivers/net/dpa] Error 2
> make[2]: *** [drivers/net] Error 2
> make[1]: *** [_clean_drivers] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-30-generic'
> make: *** [clean] Error 2
> ryan@ryan-X550CA:~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$
> sudo make
> make -C /lib/modules/3.13.0-30-generic/build M= modules
> make[1]: Entering directory `/usr/src/linux-headers-3.13.0-30-generic'
> make[2]: *** No rule to make target
> `/usr/src/linux-headers-3.13.0-30-generic/arch/x86/syscalls/syscall_32.tbl',
> needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.
> Stop.
> make[1]: *** [archheaders] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-30-generic'
> make: *** [all] Error 2
> ryan@ryan-X550CA
> :~/Desktop/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00$
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
David Gordon (david-gordon-hughes) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@SimonWerner, I have already done that. If you look in the terminal output I had previously posted you will see there is no longer any "whitespace".
Thanks.
I am not sure what the errors are pointing to and can't seem to find any relevant info via google.

Revision history for this message
Tilly (tilly11) wrote :

Thank you David Gordon for the link!
For me it worked as well.
However, the modules are not loading automatically when I boot. If I load them automatically (via /etc/modules) they are not loaded correctly it seems as wlan doesn't work (lsmod shows they are all loaded). Is there any obvious mistake?

Revision history for this message
David Gordon (david-gordon-hughes) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Glad it at least built for you. I keep getting fatal no target errors. For
some reason the makefile isn't working. I am not programmer so not sure
what issue is or how to correct.
On Jun 30, 2014 5:25 PM, "Tilly" <email address hidden> wrote:

> Thank you David Gordon for the link!
> For me it worked as well.
> However, the modules are not loading automatically when I boot. If I load
> them automatically (via /etc/modules) they are not loaded correctly it
> seems as wlan doesn't work (lsmod shows they are all loaded). Is there any
> obvious mistake?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
Frog23 (frog23) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

regarding the problem
  bash: ./load.sh: Permission denied
that some people have reported, try this (while being su)
  chmod +x load.sh
  ./load.sh

So the complete steps should now be
cd MT7630E_Wi-Fi_BT_Source_V3.14_20140625
sudo su
mv MT7630E_Wi-Fi_BT_Source\ Release_20140625 MT7630E_Wi-Fi_BT_Source_Release_20140625
cp firmware/Wi-FI/MT7650E234.bin /lib/firmware/
cd rt2x00
make
chmod +x load.sh
./load.sh

I hope I didn't forget anything. Thanks to everybody who helped figuring this out.
Bye
  Frog23

Revision history for this message
Spessotto (spessotto) wrote :

Hello, I'm using an Asus F552C laptop. I correctly built and loaded the modules, but still I cannot get my wifi card to work. Simply I cannot turn it on either by the network manager applet nor bu rfkill unblock. Any suggestion? maybe I should black-list some other module?

Revision history for this message
Spessotto (spessotto) wrote :

I solved with this:
# echo "options asus_nb_wmi wapf=4" > /etc/modprobe.d/asus.conf

Is there any way to load the modules on startup?

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

HP440G1 MediaLink MT7630e driver installation - (In case `make` didn't solve the issue)
======================================================================

First Download the Driver Package from: http://www.mediatek.com/en/downloads/mt7630-pcie/

01. extract the "MT7630E_Wi-Fi_BT_Source Release_20140625.zip"
02. cd to the extracted location.
03. copy the "MT7650E234.bin" under "firmware/Wi-FI/" into /lib/firmware/
04. edit the file "rt2x00.h" directory located under 'rt2x00' and replace the following line as below.
-----------------------------------------------------------------------------------------------------
#define DRV_VERSION "2.3.1"

05. Now rename the "rt2x00" directory located under 'rt2x00' as rt2x00-VV, where "VV" should be replace as below E.g.
--------------------------------------------------------------------------------------------------------------------
$ uname -r
3.13.0-30-generic
- Now replace the directory as "rt2x00-3.13" -

06. Copy this directory(rt2x00-3.13) into "/usr/src"
07. cd into /usr/src/
08. Now you should have that copied directory. Lets cd into that (rt2x00-3.13) and make a file named "dkms.conf" and paste following lines.
###NOTE### PACKAGE_VERSION="3.13" - this field must match with your kernel version. (use $ uname -r)
------------------------------------------------------------------------------------------------------------------------------------------
PACKAGE_NAME="rt2x00"
PACKAGE_VERSION="3.13"
AUTOINSTALL="yes"
OBSOLETE_BY=""
BUILD_EXCLUSIVE_KERNEL=""
POST_INSTALL=""
POST_REMOVE=""

BUILT_MODULE_NAME[0]="rt2x00lib"
DEST_MODULE_LOCATION[0]="/updates"

BUILT_MODULE_NAME[1]="rt2x00pci"
DEST_MODULE_LOCATION[1]="/updates"

BUILT_MODULE_NAME[2]="rt2x00mmio"
DEST_MODULE_LOCATION[2]="/updates"

BUILT_MODULE_NAME[3]="rt2800lib"
DEST_MODULE_LOCATION[3]="/updates"

BUILT_MODULE_NAME[4]="rt2800pci"
DEST_MODULE_LOCATION[4]="/updates"

09. Lets install "dkms" with $ sudo apt-get install dkms
10. Now do the following
---------------------------------------------------------
# sudo dkms add –m rt2x00 –v VV
# sudo dkms build –m rt2x00 –v VV
# sudo dkms install –m rt2x00 –v VV
# sudo dkms install –m rt2x00 –v VV --force

11. As a final step, lets add following kernel modules into "/etc/modules", so that they will load when the system boots up.
$ sudo vi /etc/modules
----------------------------------------------------------------------------------------------------------------------------
eeprom
eeprom_93cx6
crc-ccitt
cfg80211
mac80211
rt2x00lib
rt2x00pci
rt2x00mmio
rt2800lib

### - reboot the system and see if your wireless interfaces is available - ###

TIP: incase something not right, check $ less /var/log/kern.log to find some debugs...

Revision history for this message
Rishabh Upadhyay (ris-upadhyay) wrote :

Adter installing the driver downloded from : http://www.mediatek.com/en/downloads/mt7630-pcie/

Wifi and Bluetooth was working fine .... but after rebooting the system bluetooth is working fine BUT wireless interface is not available ????

Any Suggestion ... what should i do ????

Changed in linux (Ubuntu):
status: Confirmed → New
status: New → Confirmed
Revision history for this message
David Gordon (david-gordon-hughes) wrote :

The procedure from #125 looks promising, but as a novice there appears to be some things left out that someone who is more familiar with terminal commands may know. Like how to create the .conf file, etc.
I followed FROG23's instructions and got the furthest yet but with of "could not insert module" errors. Some were invalid parameters, some file exists.
What a useless piece of crap driver and from the manufacture even!

Revision history for this message
Frog23 (frog23) wrote :

@David (and everybody else who is having the same problem): I was able to recreate your error. I don't know what caused this, but I found a way to prevent it. I also had a fresh install of 14.4 but of Kubuntu (but I hope this shouldn't matter in this context). When I first tried to run make, I got an error telling me that gcc was missing, so I just installed it directly, without anything else, like build-essentials. After that it build and installed correctly. So the obvious other step that you did was installing build-essentials et al. So I installed them and tried to run make again, and got the same error as you did. So I removed those packages again and it worked again. Somehow one of those other packages causes the error. I don't know why but for now this is not important to me. Anyway ...

Long story short: try this:
(start with a fresh directory, just to be sure)
sudo apt-get remove -y build-essential kernel-package libncurses5-dev bzip2
sudo apt-get install gcc

and then do all the other steps from my previous post.

If you want to you can install the removed packages afterwards again, if you need them for any other project.
I hope this helps.
Cheers
  Frog23

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

@Frog23, Thanks for the assistance. Still does not work I am getting same errors after ./load.sh
See below

root@ryan-X550CA:/home/ryan/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00# ./load.sh
insmod: ERROR: could not insert module /lib/modules/3.13.0-30-generic/kernel/drivers/misc/eeprom/eeprom.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-30-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-30-generic/kernel/lib/crc-ccitt.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-30-generic/kernel/net/wireless/cfg80211.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-30-generic/kernel/net/mac80211/mac80211.ko: File exists
insmod: ERROR: could not insert module ./rt2x00lib.ko: File exists
insmod: ERROR: could not insert module ./rt2x00pci.ko: Unknown symbol in module
insmod: ERROR: could not insert module ./rt2x00mmio.ko: Invalid parameters
insmod: ERROR: could not insert module ./rt2800lib.ko: File exists
insmod: ERROR: could not insert module ./rt2800pci.ko: Invalid parameters
root@ryan-X550CA:/home/ryan/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00#

Revision history for this message
Frog23 (frog23) wrote :

@David: First of all: restart your computer and then call load.sh again.
If this error occurs again, try calling rmmod for each file that shows the "File exists" error, but in reverse order.
So from your error log, this would be:
rmmod ./rt2800lib.ko
rmmod ./rt2x00lib.ko
rmmod /lib/modules/3.13.0-30-generic/kernel/net/mac80211/mac80211.ko
rmmod /lib/modules/3.13.0-30-generic/kernel/net/wireless/cfg80211.ko
rmmod /lib/modules/3.13.0-30-generic/kernel/lib/crc-ccitt.ko
rmmod /lib/modules/3.13.0-30-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
rmmod /lib/modules/3.13.0-30-generic/kernel/drivers/misc/eeprom/eeprom.ko

I think you don't need to run make again, it seems to be only a problem with loading the modules. But I am not an expert in this, so I could be mistaken.
Again, I hope this helps.
Cheers
  Frog23

P.S. I still have to run load.sh again after I restarted my computer, I haven't come around to test the proposed method by keshara yet, or find another permanent solution. But this is only a minor inconvenience for me compared to a non-working wifi card. Just so you know.

Revision history for this message
Dinko Osmankovic (dinko-metalac) wrote :

Oh boy :D great we have this finally. But it really eats up the battery. ksoftirqd is using 100% CPU which translates to almost one hour less with wifi on :/ 4W consumption by wifi chip is just silly.

Revision history for this message
David Gordon (david-gordon-hughes) wrote :

@Frog23, I finally had success but I had to completely reinstall system to make it work. I don't know what the issue was but I in frustration just wiped and reinstalled and it worked. I am working on an Asus P550C and had to do the same as in post#124 after successfully getting the drivers to install and load. Thanks for all your help.

On a side note, I assume that everytime there is a kernel update this will need to be done again?

Revision history for this message
Крылов Прохор (proxoraleksandrovich) wrote :

@Frog23 Sorry for my english! Asus x550cc I have the same problem, after reboot every time they run load.sh.
You can not solve this problem?

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

anyone who could not succeed with $ ./load.sh, try with what i suggested in '#125' above. I had the same prob with ./load.sh.

Revision history for this message
Payo Manuel (manueq) wrote :

Hello and first thank you for help us!! Second excuse me because I'm french and my english is not very good.
My problem is that I don't have wifi on my computer asus r510c to install driver MEDIATEK Corp. MT7630e

I try to do what you say on the post # 125 but i have a problem when I try to do the step 10:

10. Now do the following
---------------------------------------------------------
# sudo dkms add –m rt2x00 –v VV
# sudo dkms build –m rt2x00 –v VV
# sudo dkms install –m rt2x00 –v VV
# sudo dkms install –m rt2x00 –v VV --force

Do i have to change VV by 3.13 to?

I try and it return's me

# sudo dkms add –m rt2x00 –v 3.13
: I do not know how to handle rt2x00.
: I do not know how to handle –v.
: I do not know how to handle 3.13.
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

or

# sudo dkms add –m rt2x00-3.13
: I do not know how to handle rt2x00-3.13.
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

or

# sudo dkms add –m rt2x00 -3.13
: I do not know how to handle rt2x00.
Error! Unknown option: -3.13
Usage: /usr/sbin/dkms [action] [options]
  [action] = { add | remove | build | install | uninstall | match | autoinstall
               | mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp | mkdeb | status }
  [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
              [-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
              [--templatekernel=kernel] [--directive='cli-directive=cli-value']
              [--config=kernel-.config-location] [--archive=tarball-location]
              [--kernelsourcedir=source-location] [--no-prepare-kernel] [--no-initrd]
              [--binaries-only] [--source-only] [-r release (SuSE)] [--verbose]
              [--size] [--spec=specfile] [--media=floppy|iso|tar] [--legacy-postinst=0|1]

I don't know what I have to do
Thanks

Revision history for this message
Payo Manuel (manueq) wrote :

I posted here to: http://forum.ubuntu-fr.org/viewtopic.php?id=1618421
 and yo can see all I did

Revision history for this message
mycodef (mycodef) wrote :

log out from root and enter this command as regular user:

xxx@xxx:~$ sudo dkms add –m rt2x00 –v 3.13

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
Download full text (3.7 KiB)

- before precede to step 10 make sure you installed "dkms" with $ sudo
apt-get install dkms

- next rename the "rt2x00" directory thats comes with download package to
rt2x00-VV, where "VV" should be repace according to your kernel version:
for E.g. do;
$ uname -r
3.13.0-30-generic
- Now replace the directory as "rt2x00-3.13" -

- in step 8, I stated to do some change into dkms.conf file. Make sure to
do that according to your kernel version.

- Now as step 10, do dkms commands, for example see the attachment...

God luck...
*Keshara.*

On Sun, Jul 13, 2014 at 5:35 PM, Payo Manuel <email address hidden> wrote:

> Hello and first thank you for help us!! Second excuse me because I'm
> french and my english is not very good.
> My problem is that I don't have wifi on my computer asus r510c to install
> driver MEDIATEK Corp. MT7630e
>
> I try to do what you say on the post # 125 but i have a problem when I
> try to do the step 10:
>
> 10. Now do the following
> ---------------------------------------------------------
> # sudo dkms add –m rt2x00 –v VV
> # sudo dkms build –m rt2x00 –v VV
> # sudo dkms install –m rt2x00 –v VV
> # sudo dkms install –m rt2x00 –v VV --force
>
>
> Do i have to change VV by 3.13 to?
>
> I try and it return's me
>
> # sudo dkms add –m rt2x00 –v 3.13
> : I do not know how to handle rt2x00.
> : I do not know how to handle –v.
> : I do not know how to handle 3.13.
> Error! Invalid number of arguments passed.
> Usage: add <module>/<module-version> or
> add -m <module>/<module-version> or
> add -m <module> -v <module-version>
>
> or
>
> # sudo dkms add –m rt2x00-3.13
> : I do not know how to handle rt2x00-3.13.
> Error! Invalid number of arguments passed.
> Usage: add <module>/<module-version> or
> add -m <module>/<module-version> or
> add -m <module> -v <module-version>
>
> or
>
> # sudo dkms add –m rt2x00 -3.13
> : I do not know how to handle rt2x00.
> Error! Unknown option: -3.13
> Usage: /usr/sbin/dkms [action] [options]
> [action] = { add | remove | build | install | uninstall | match |
> autoinstall
> | mkdriverdisk | mktarball | ldtarball | mkrpm | mkkmp |
> mkdeb | status }
> [options] = [-m module] [-v module-version] [-k kernel-version] [-a arch]
> [-d distro] [-c dkms.conf-location] [-q] [--force] [--all]
> [--templatekernel=kernel]
> [--directive='cli-directive=cli-value']
> [--config=kernel-.config-location]
> [--archive=tarball-location]
> [--kernelsourcedir=source-location] [--no-prepare-kernel]
> [--no-initrd]
> [--binaries-only] [--source-only] [-r release (SuSE)]
> [--verbose]
> [--size] [--spec=specfile] [--media=floppy|iso|tar]
> [--legacy-postinst=0|1]
>
> I don't know what I have to do
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubu...

Read more...

Revision history for this message
Payo Manuel (manueq) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

hello thank you for helping!!

@mycodef it returns me the same if i'm as a regular user

manuel@jaleo:/usr/src/rt2x00-3.13$ sudo dkms add –m rt2x00 –v 3.13
: I do not know how to handle rt2x00.
: I do not know how to handle –v.
: I do not know how to handle 3.13.
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

@keshara Dorakumbura

I think I do all you said.
here is my kernel
manuel@jaleo:~$ uname -r
3.13.0-30-lowlatency
I think is correct to put rt2x00-3.13 isn't it?

here is my dkms.conf
###NOTE### PACKAGE_VERSION="3.13" - this field must match with your kernel version. (use $ uname -r)
------------------------------------------------------------------------------------------------------------------------------------------
PACKAGE_NAME="rt2x00"
PACKAGE_VERSION="3.13"
AUTOINSTALL="yes"
OBSOLETE_BY=""
BUILD_EXCLUSIVE_KERNEL=""
POST_INSTALL=""
POST_REMOVE=""

BUILT_MODULE_NAME[0]="rt2x00lib"
DEST_MODULE_LOCATION[0]="/updates"

BUILT_MODULE_NAME[1]="rt2x00pci"
DEST_MODULE_LOCATION[1]="/updates"

BUILT_MODULE_NAME[2]="rt2x00mmio"
DEST_MODULE_LOCATION[2]="/updates"

BUILT_MODULE_NAME[3]="rt2800lib"
DEST_MODULE_LOCATION[3]="/updates"

BUILT_MODULE_NAME[4]="rt2800pci"
DEST_MODULE_LOCATION[4]="/updates"

I see that you have let: PACKAGE_NAME="rt2x00" and not PACKAGE_NAME="rt2x00-3.13" so I do the same.

Please tell me where i'm wrong
Thank's a lot

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Ok, if you could set me up an SSH onto your system, i can look into this...

Revision history for this message
Payo Manuel (manueq) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@ keshara Dorakumbura
excuse my ignorance but i don't know what is an SSH
is it a command on terminal?

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

No bro, its an protocol which allows way of connecting remotely between
hosts. Basically, i can log into your system's command line thru internet..

But saying that, first you have to have "SSH-server" installed on your
system.

On Mon, Jul 14, 2014 at 8:29 PM, Payo Manuel <email address hidden> wrote:

> @ keshara Dorakumbura
> excuse my ignorance but i don't know what is an SSH
> is it a command on terminal?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

--

*Keshara Dorakumbura* *|*
Tel: +94-77-3334953 *.*

Revision history for this message
Payo Manuel (manueq) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

I don't know about that and it seems a little bit dificult for me to install and configure that...
Is there an other solution?

Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

Moreover, never ever give access to your system to an unknown person. Even if he looks nice and helpful. It is a sane best practice to keep away from troubles.

Keshara, as a person who is willing to help, you should even not have asked for it. There are many ways to help him without a shell access.

Payo, if stuff here looks difficult for you, you would better be patient and wait for a kernel update from Ubuntu.
Or just change of hardware (WiFi card). Due to this trouble and several more, I personally ended switching my lame HP laptop for a Thinkpad (S540). Now everything works flawlessly and out of the box.

Revision history for this message
Payo Manuel (manueq) wrote :

@Jean-Christophe Baptiste
Ok thank you Jean-Christophe.

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
Download full text (3.6 KiB)

Hi,

If your intentions are just to load drivers at boot time, I have another
temporary solution. I am using this solution, and its working fine.

1.) Run 'visudo' and add following line into it:
       <your user name> ALL=(ALL) NOPASSWD: ALL
     This will enable to run any sudo command without any password prompt.
If its safe for you, please proceed ahead, otherwise drop here.

2.) Create a file 'wifi_bt_drivers' with following statements.
     cd
/<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/btloader
     sudo insmod ./mt76xx.ko
     cd
/<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00
     sudo sh ./load.sh

3.) Give it executable permissions.
     chmod 777 wifi_bt_drivers

4.) Add this file in the list of startup applications. <Press 'super' and
type 'startup'>

But right now, I am more worried about CPU uses. My battery backup is
reduced to around 1.5 hours from 3 hours. Also, during video playback,
system hangs due to heavy CPU load. If anyone has suggestion for it, please
let me know.

regards,
Abhishek Vershney,

On Mon, Jul 14, 2014 at 8:42 PM, keshara Dorakumbura <email address hidden>
wrote:

> No bro, its an protocol which allows way of connecting remotely between
> hosts. Basically, i can log into your system's command line thru internet..
>
> But saying that, first you have to have "SSH-server" installed on your
> system.
>
>
> On Mon, Jul 14, 2014 at 8:29 PM, Payo Manuel <email address hidden> wrote:
>
> > @ keshara Dorakumbura
> > excuse my ignorance but i don't know what is an SSH
> > is it a command on terminal?
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1220146
> >
> > Title:
> > Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
> >
> > Status in HWE Next Project:
> > Confirmed
> > Status in HWE Next trusty series:
> > Confirmed
> > Status in The Linux Kernel:
> > Confirmed
> > Status in “linux” package in Ubuntu:
> > Confirmed
> > Status in “linux” source package in Raring:
> > Incomplete
> > Status in “linux” source package in Saucy:
> > Incomplete
> > Status in “linux” package in Fedora:
> > New
> >
> > Bug description:
> > This device is appearing in some OEM machines, but driver is not yet
> > available in mainline.
> >
> > The driver seems to be present in machines with pre-installed OS, but
> > isn't available on the download-and-install versions!
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
> >
>
>
> --
>
> *Keshara Dorakumbura* *|*
> Tel: +94-77-3334953 *.*
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
>...

Read more...

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote :

Hi,

If your intentions are just to load drivers at boot time, I have another
temporary solution. I am using this solution, and its working fine.

1.) Run 'visudo' and add following line into it:
       <your user name> ALL=(ALL) NOPASSWD: ALL
     This will enable to run any sudo command without any password prompt.
If its safe for you, please proceed ahead, otherwise drop here.

2.) Create a file 'wifi_bt_drivers' with following statements.
     cd
/<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/btloader
     sudo insmod ./mt76xx.ko
     cd
/<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/rt2x00
     sudo sh ./load.sh

3.) Give it executable permissions.
     chmod 777 wifi_bt_drivers

4.) Add this file in the list of startup applications. <Press 'super' and
type 'startup'>

But right now, I am more worried about CPU uses. My battery backup is
reduced to around 1.5 hours from 3 hours. Also, during video playback,
system hangs due to heavy CPU load. If anyone has suggestion for it, please
let me know.

regards,
Abhishek Vershney,

Revision history for this message
Armin Jacob (armin-jacob) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

I've just looked at the Website of Mediatek.
And there is a linux module for MT7630 PCIe.
Am I wrong or isn't that what we're looking for?

http://www.mediatek.com/en/downloads/mt7630-pcie/

Revision history for this message
Payo Manuel (manueq) wrote :

@Armin
Hello, you're not wrong, i have downloaded the driver but it don't work and that's what we're trying to do.

@Abhishek Vershney
Thank you I want to try what you said in #148 but I have a question.
I tried to do what said on #125 and so now the folder rt2x00 is rt2x00-3.13.
My question have I to reinstall the driver? have I just to change the name of the folder? Excuse my english and my level on computer is so bad.
I don't anderstand when you say:
"Create a file 'wifi_bt_drivers' with following statements.
     cd
/<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/btloader"
Have I to create a folder named btloader into the folder MT7630E_Wi-Fi_BT_Source_Release_20140625, and create the file wifi_bt_drivers into this folder?
Thank you for helping

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Hi Payo,

If you see the MT7630E_Wi-Fi_BT_Source_Release_20140625 folder, it must
already has btloader folder. This folder contains bluetooth drivers. If you
are not interested into bluetooth, you can skip these two lines.

You can create wifi_bt_drivers file anywhere, a good place can be inside
the MT7630E_Wi-Fi_BT_Source_Release_20140625/ folder. Also, you need to
change folder name back to rt2x00. By the way, a fresh untar and
compilation of drivers wont take much time, but it will recreate original
folders structure. In this case, the above written script will work fine.

Basically, what I am trying to do is to write a script that contains all
steps required to load drivers, i.e. run load.sh and load bluetooth drivers
using insmod. So, whenever your machine will come up, it will execute all
instructions written in wifi_bt_drivers script and load the drivers
automatically.

regards,
Abhishek Vershney,
+91-9910892111

On Tue, Jul 15, 2014 at 11:30 PM, Payo Manuel <email address hidden> wrote:

> @Armin
> Hello, you're not wrong, i have downloaded the driver but it don't work
> and that's what we're trying to do.
>
> @Abhishek Vershney
> Thank you I want to try what you said in #148 but I have a question.
> I tried to do what said on #125 and so now the folder rt2x00 is
> rt2x00-3.13.
> My question have I to reinstall the driver? have I just to change the name
> of the folder? Excuse my english and my level on computer is so bad.
> I don't anderstand when you say:
> "Create a file 'wifi_bt_drivers' with following statements.
> cd
>
> /<path_to_drivers>/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source_Release_20140625/btloader"
> Have I to create a folder named btloader into the folder
> MT7630E_Wi-Fi_BT_Source_Release_20140625, and create the file
> wifi_bt_drivers into this folder?
> Thank you for helping
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
Payo Manuel (manueq) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Ok thank you!!!
Another question, I have two places possibles:
The folder where I downloaded the driver: /home/manuel/Téléchargements/MT7630E_Wi-Fi_BT_Source_V3.14_20140625/MT7630E_Wi-Fi_BT_Source Release_20140625/btloader/

Or the place where it's installed: /usr/src/rt2x00-3.13/
But in this folder ther is not the folder btloader.

So I suppose that I have to do that in the first folder, is it corrcet? And it will reinstall the driver and create the rt2x00 folder automaticly?
Thanks

Revision history for this message
Payo Manuel (manueq) wrote :

@ Abhishek Vershney
Hello,
I tried to create a file : wifi_bt_drivers
And it contain:
cd /home/manuel/MT7630E_Wi-Fi_BT_Source-Release_20140625/btloader
     sudo insmod ./mt76xx.ko
cd /home/manuel/MT7630E_Wi-Fi_BT_Source-Release_20140625/rt2x00
sudo sh ./load.sh
I saved it in my home folder.

But it don't works for me.

Here is the file load.sh:
insmod /lib/modules/$(uname -r)/kernel/drivers/misc/eeprom/eeprom.ko
insmod /lib/modules/$(uname -r)/kernel/drivers/misc/eeprom/eeprom_93cx6.ko
insmod /lib/modules/$(uname -r)/kernel/lib/crc-ccitt.ko
insmod /lib/modules/$(uname -r)/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/$(uname -r)/kernel/net/mac80211/mac80211.ko
insmod ./rt2x00lib.ko;
insmod ./rt2x00pci.ko;
insmod ./rt2x00mmio.ko;
insmod ./rt2800lib.ko;
insmod ./rt2800pci.ko nohwcrypt;

I see that in the btloader's folder ther is 3 files:
Makefile
mt76xx.c
mt76xx.h

It don't contains a ./mt76xx.ko file. Is that normal?

I don't anderstand why it don't works

Revision history for this message
Euangelos (euangelos88) wrote :

Thank you all, now I've got it working.... Expecially thanks to #125 procedure... By the way, for my ASUS F550C it wasn't enough:

iwconfig had wlan0 in the list, lshw -c network said DISABLED, ifconfig wlan0 up gave me an rfkill issue, rfkill unblock all/wifi didn't help becuse situation of rfkill list was and kept being

phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: yes
and such asus wireless stuff totally unblocked

tried even rm /dev/rfkill didn't work (I hope I won't regret for this removing), but I finally found on http://forum.ubuntu-fr.org/viewtopic.php?id=1429631 the solution for me.

with terminal, create a file (or edit if already exists)
 sudo gedit /etc/modprobe.d/asus.conf

and adding/correcting the line
 options asus_nb_wmi wapf=4

that forces the wireless activation (my hardware switch was keyboard dependent, Fn+F2). Now I've got Wireless active, although led is not working properly (but, sincerely, i don't care).

Hope that could help some one
Lino

Revision history for this message
nunu (nunu0009) wrote :

I'm new in Linux world, everything what for you very simple is for me is willy hard. I have wifi working but bluetooth work not, visibility I can't turn on, over usb bluetooth working fine. Laptop is asus x552v, for asus-bluetooth in terminal softblocked say no, hardblocked no?! I have Linux Mint 17 installed.

Revision history for this message
YEN TING CHEN (yachtingchen) wrote :

Thanks to #125 and #154
My ASUS laptop (X550V) WIFI works now

Revision history for this message
Edoardo Rossi (edd-rossi) wrote :

Thank you so much for your incredible help.

On this Asus X552C and Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter the #125 and #154 solved the problem.

But...

I'm noticing a strange and continuos spike in the CPU activity:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
  21 root 20 0 0 0 0 R 100.0 0.0 16:10.98 ksoftirqd/1

'/1' depends on the CPU used obviously.
If I disable the WiFi connection, everything comes back to normal.

I hope this can be useful... any suggestion?

Linux linuxbox 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Dinko Osmankovic (dinko-metalac) wrote :

@edd-rossi: AFAIK, this is due to adapter trying to keep the connection alive. Or, to put it this way, when it comes to power management this driver is a piece of shit. But, at least we have something...

Revision history for this message
Heinz Werner Kramski (kramski) wrote :

I noticed that http://www.mediatek.com/en/downloads/mt7630-pcie/ now offers a new driver version: MT7630E_Wi-Fi_BT_Source_V3.14_20140625_v2.tar.gz (instead of MT7630E_Wi-Fi_BT_Source_V3.14_20140625.tar).

I was able to run make, but load.sh hangs my machine on "insmod ./rt2800pci.ko".

So current choices are: Old driver as of 20140625: Working but constant 100% cpu load. New v2 driver: Not working.

Will stick to my noname WLAN stick for now...

Revision history for this message
Michal Korbela (kabell999) wrote :

I downloaded the new driver v2, I was able to compile and run load,sh.
The driver work as good as the previous driver: cpu load is allways 100%, no change.
I run diff to all .c files and there are only different comments :(

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I downloaded the original driver from http://www.mediatek.com/en/downloads/mt7630-pcie/ and modified it for easy installtion. I have uploaded it to github:
https://github.com/mdjahidulhamid/MT7630E

It's working on my laptop.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I forgot to mention that the easy installation modification also includes autostart/load at startup.

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

@jahidulhamid with this version do you have problem with cpu load?

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

No, I don't.
Actually I never had any cpu load as others have pointed out, neither with the previous mt7630-master driver found in the github ((https://github.com/anthonywong/mt7630)) nor with the original driver I downloaded from mediatek.

And I have downloaded only the recent version of the official driver from mediatek recently, not the previous one. So I don't know how that would work on my system. But the recent version works without raising cpu load.

Revision history for this message
nunu (nunu0009) wrote :

@jahidulhamid
I can't make my bluetooth working, wifi is ok, can you explain me step by step please because I'm new in Linux world?

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

How you installed the package? did you installed my package from https://github.com/mdjahidulhamid/MT7630E/archive/master.zip

There's a readme file there which explains the installaion. Or did you downloaded from mediatek official site?

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

Anyway download it from https://github.com/mdjahidulhamid/MT7630E/archive/master.zip

and extract it in your Downloads folder. Then open a terminal and enter codes one by one:

cd ~/Downloads/MT7630E-master
sudo chmod -R 777 *
./install.sh

Revision history for this message
Payo Manuel (manueq) wrote :

Thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
Jahidul Hamid (jahidulhamid) YOU'RE THE BOSS!!!!!!!!!!!!!!!!!!!!!!!!!
WIFI works now on my computer :) and it canot be more easy to install !!!
Thanks Thanks Thanks Thanks Thanks Thanks a lot!!!!

Revision history for this message
Michal Korbela (kabell999) wrote :

I'm sad, because the driver allways eats my CPU. I have a fresh install of ubuntu 14.04, and installed the driver from your repo. Result is the same as before. I tried both kernels 3.13 and 3.14.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

@Michal Korbela (kabell999)
I'm sad, because the driver allways eats my CPU. I have a fresh install of ubuntu 14.04, and installed the driver from your repo. Result is the same as before. I tried both kernels 3.13 and 3.14.

That's likely to be, I haven't changed anything other than the installation method....

And I haven't tried this driver on ubuntu yet. I am running Linux Mint 17 now. Though I had run the previous driver (github, anthonywong) in Kubuntu, but that wasn't a resource hog for me either. My be I am just lucky, I guess....:)

Revision history for this message
Tobias Marczewski (mtoboid) wrote :

I installed the driver from #161 on my wife's Asus Vivobook K551LN. Wifi works, bluetooth doesn't. When wifi is enabled, however, CPU load of ksoftirqd/2 ramps to 100% and stays there. I guess this is the CPU load problem reported before.

Revision history for this message
anagor (anagor) wrote :

I know it's completely off topic and doesn't help in resolving the software part of this bug,
however, it takes between $10 to $20 usd for a new wi-fi/bluetooth mini pci-e half size card, which is what is used in laptops and 10 minutes of your time to swap it out, without any specific technical knowledge.
I did just that and now all is good :)

Revision history for this message
tobiasBora (tobias-bora) wrote :

To make the bluetooth module working you need to add in btloader/mt76xx.c the two lines with ******* (remove them when you copy them) in

    /* Mediatek MT7650 */
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7650, 0xe0, 0x01, 0x01) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7650, 0xff, 0xff, 0xff) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7630, 0xe0, 0x01, 0x01) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7630, 0xff, 0xff, 0xff) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x763e, 0xe0, 0x01, 0x01) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x763e, 0xff, 0xff, 0xff) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0489, 0xe069, 0xe0, 0x01, 0x01) },**************
    { USB_DEVICE_AND_INTERFACE_INFO(0x0489, 0xe069, 0xff, 0xff, 0xff) }, ****************
    /* Mediatek MT662 */
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7662, 0xe0, 0x01, 0x01) },
    { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7632, 0xe0, 0x01, 0x01) },
    { } /* Terminating entry */
     };

Source : An email from Mediatek given here : http://forum.xubuntu-fr.org/viewtopic.php?id=1659661&p=1

Revision history for this message
nunu (nunu0009) wrote :

@jahidulhamid
From official Mediatek source.

@tobiasBora
That's it!!!! #173

Thx everybody! :-)

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I have updated my modified package with the correction as stated by tobiasBora (#173).
https://github.com/mdjahidulhamid/MT7630E/archive/master.zip

If you have both bluetooth and wifi working, then you don't need to reinstall.

Revision history for this message
tobiasBora (tobias-bora) wrote :

@Jahidul Hamid: Your way to load the module works, but is it the proper way to proceed ? I usually hear people talking about dkms when they want to load a module in the kernel... I used a method with dkms to install the module, but I've just one fear : that the wifi doesn't work anymore when a new kernel is installed. Do you have a way to avoid this problem by keeping using dkms ?

NB : for people interesting in the DKMS method to load these modules, I made a documentation here : https://doc.ubuntu-fr.org/wifi_bt_mt7630e. It's in french but you can use google translate or even keep using the french, it's not very important.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I can't say if it's the proper way to load module, but the official readme file tells to use the same way.... So I don't think there's anything wrong with that.

And, every time you update kernel (major update) you need to reinstall the driver. That's a catch, but the installation process is pretty easy now, isn't it......:)

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@tobiasBora: DKMS builds kernel module for a particular kernel version. So
if you upgrade your kernel version it wont support that module and you will
have to build it again. DKMS basically duplicate tree, , outside of the
kernel source, that holds the source and compiled binaries for a particular
module.

So if you have built a kernel module with a `$ make`command, thats
probably the best way.

On Thu, Sep 4, 2014 at 4:10 AM, tobiasBora <email address hidden>
wrote:

> @Jahidul Hamid: Your way to load the module works, but is it the proper
> way to proceed ? I usually hear people talking about dkms when they want
> to load a module in the kernel... I used a method with dkms to install
> the module, but I've just one fear : that the wifi doesn't work anymore
> when a new kernel is installed. Do you have a way to avoid this problem
> by keeping using dkms ?
>
> NB : for people interesting in the DKMS method to load these modules, I
> made a documentation here : https://doc.ubuntu-fr.org/wifi_bt_mt7630e.
> It's in french but you can use google translate or even keep using the
> french, it's not very important.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

--

*Keshara Dorakumbura* *|*
Tel: +94-77-3334953 *.*

Revision history for this message
tafazzi87 (tafazzi-87) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Unfortunaly I've always CPU 100% load...

Revision history for this message
rm (rizannemamdouh) wrote :

@jahidulhamid
Thanks for your tip so much. Now my Ubuntu can see wireless networks, however it never connects to them. It keeps asking for the password forever and doesn't connect at all, does anyone know a solution for this, I would be grateful if anyone could help.
Thanks

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

Are you using WEP for authentication? I faced the same issue. I changed
the authentication to WPS/WPS2 and it worked.
On Sep 7, 2014 12:15 PM, "rm" <email address hidden> wrote:

> @jahidulhamid
> Thanks for your tip so much. Now my Ubuntu can see wireless networks,
> however it never connects to them. It keeps asking for the password forever
> and doesn't connect at all, does anyone know a solution for this, I would
> be grateful if anyone could help.
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
rm (rizannemamdouh) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@varshneyabhi
Thanks a lot for your reply. The security type is WPA-Personal. How can I change it to WPS/WPS2 ?

Revision history for this message
Abhishek Varshney (varshneyabhi) wrote : Re: [Bug 1220146] Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

I am sorry. I also meant WPA. You can verify if your laptop connects with
some other wifi router. In my case. it was the issue with my old wifi
router. I faced the similar issue.
On Sep 7, 2014 2:11 PM, "rm" <email address hidden> wrote:

> @varshneyabhi
> Thanks a lot for your reply. The security type is WPA-Personal. How can I
> change it to WPS/WPS2 ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
>
> Status in HWE Next Project:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Confirmed
> Status in “linux” source package in Raring:
> Incomplete
> Status in “linux” source package in Saucy:
> Incomplete
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.
>
> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
rm (rizannemamdouh) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@varshneyabhi
Thanks for your help anyways :)

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

@rm
sorry for late reply.
Do you use dual boot with windows, or ubuntu is the only system....

As I have a dual boot system with windows and xubuntu now, the same thing happens to me (checks password for long and doesn't connect) when I go to windows and return to xubuntu.

I have worked around it be simply shutting down xubuntu once and starting again. Reboot porabably don't work.

Had the same problem with Linux Mint 17 cinnamon and Linux Mint 17 XFCE too...

Revision history for this message
Erik (erkapsa) wrote :
Download full text (4.1 KiB)

I try to install MT7630E-master drivers from jahidulhamid on Kubuntu v.14.04 (64-bit) but it doesnt work. When I start "install.sh" in terminal the result is following (i copy code from terminal):

make -C /lib/modules/3.13.0-24-generic/build M=/home/erik/Downloads/MT7630E-master/rt2x00 clean
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
  CLEAN /home/erik/Downloads/MT7630E-master/rt2x00/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make -C /lib/modules/3.13.0-24-generic/build M=/home/erik/Downloads/MT7630E-master/rt2x00 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
/usr/src/linux-headers-3.13.0-24-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-24-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found
  CC [M] /home/erik/Downloads/MT7630E-master/rt2x00/rt2x00dev.o
/bin/sh: 1: gcc: not found
make[2]: *** [/home/erik/Downloads/MT7630E-master/rt2x00/rt2x00dev.o] Error 127
make[1]: *** [_module_/home/erik/Downloads/MT7630E-master/rt2x00] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [all] Error 2
make -C /lib/modules/3.13.0-24-generic/build M=/home/erik/Downloads/MT7630E-master/btloader clean
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
  CLEAN /home/erik/Downloads/MT7630E-master/btloader/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make -C /lib/modules/3.13.0-24-generic/build M=/home/erik/Downloads/MT7630E-master/btloader modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
/usr/src/linux-headers-3.13.0-24-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-24-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found
  CC [M] /home/erik/Downloads/MT7630E-master/btloader/mt76xx.o
/bin/sh: 1: gcc: not found
make[2]: *** [/home/erik/Downloads/MT7630E-master/btloader/mt76xx.o] Error 127
make[1]: *** [_module_/home/erik/Downloads/MT7630E-master/btloader] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [all] Error 2
cp: cannot stat ‘rt2x00/*.ko’: No such file or directory
cp: cannot stat ‘btloader/*.ko’: No such file or directory
update-rc.d: warning: /etc/init.d/load.sh missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
 System start/stop links for /etc/init.d/load.sh already exist.
insmod: ERROR: could not insert module /lib/modules/3.13.0-24-generic/kernel/drivers/misc/eeprom/eeprom.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-24-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko: File exists
insmod: ERROR: could not insert module /lib/modules/3.13.0-24-generic/kernel/lib/crc-ccitt.ko: File exists ...

Read more...

Revision history for this message
Erik (erkapsa) wrote :

I solved my problem after I had updated my Kubuntu. but wifi still doesnt work after installing the driver :(

Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie saucy. The bug task representing the saucy nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Saucy):
status: Incomplete → Won't Fix
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This bug was nominated against a series that is no longer supported, ie raring. The bug task representing the raring nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Raring):
status: Incomplete → Won't Fix
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote : Re: Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]

@ Omnicomment:

I have a fix for comment 18: http://i39.servimg.com/u/f39/16/19/87/90/hp10.png

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

so "won't fix" it means that this bug will never fixed?

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

@Erik (erkapsa)
First gcc was not properly installed (specifically the libc6-dev package)....

Secondly i don't get it why wifi isn't working on you, because i am on kubuntu 14.04 (64bit) now...and both are working.

My laptop is HP ProBook 440 G1

no longer affects: linux (Ubuntu Raring)
no longer affects: linux (Ubuntu Saucy)
summary: - Need support for new Ralink Wifi card - Mediatek 7630 [14c3:7630]
+ Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
Changed in linux:
importance: Undecided → Unknown
status: Confirmed → Unknown
tags: added: kernel-wifi-needsdriver utopic
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

with the latest kernel ver (3.16), kernel module for Mediatec 7630 load automatically at boot, but still there is the High CPU usage issue exist...

- Need some further tweaks - Canoniacal team.!

Revision history for this message
Jean (jbernon) wrote :

Hi everyone,
Got the same issue with an ASUS K551LN laptop + Mediatek 7630 card using Debian. I first fixed it with #125 recipe applied to 3.13 kernel. Since I installed 3.16 kernel, my wifi didn't work anymore. I used a new recipe https://github.com/lwfinger/mt7630. It almost works. I see my card and wireless networks, but I can't connect to any network. Authentication issue. Got it even with free network without security check. Has someone encountered the same issue ? Solved it ? Thanks
Jean

Revision history for this message
Ievgen (hexvolt) wrote :

The same issues with Mediatek 7630 on HP Probook 470 G1 (Ubuntu 14.04)! Official driver works but only with low speeds. The speed of wifi is unstable and is always jumping between only 1-15 Mbps. Besides when wifi card is active - ksoftirqd loads the CPU.
I didn't found any solutions, please fix it ASAP! Thanks

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

For kernel Ver 3.16 and later, i found some workin solution only to install the kernel module. All you have to do is just download the GIT repo
https://github.com/lwfinger/mt7630
and do
$ cd into the extracted dir
$ sudo make
$ sudo make install

Eventhough it installs the kernel module, it still needs some modification as it cannot connect to a AP.

-Hope someone will look into this...

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

@krs4keshara but how is cpu load?

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

No prob bro, i was able to connect it only for a once and at that period no CPU issue detected. But as i alredy mentioned, it has some problem to connect to an AP. I tried several time with two APs, but no luch. It was only one time i could connect.

If anyone can modifie this, i think, this would be OK.

Revision history for this message
Zlatan (z-webb) wrote :

plz help.

i try to instal drivers on 14.10

cp: cannot stat ‘rt2x00/*.ko’: No such file or directory
insserv: warning: script 'K01load.sh' missing LSB tags and overrides
insserv: warning: script 'load.sh' missing LSB tags and overrides
insmod: ERROR: could not load module /lib/modules/3.16.0-23-generic/kernel/drivers/misc/eeprom/eeprom.ko: No such file or directory
insmod: ERROR: could not load module /lib/modules/3.16.0-23-generic/kernel/drivers/misc/eeprom/eeprom_93cx6.ko: No such file or directory
insmod: ERROR: could not load module /lib/modules/3.16.0-23-generic/kernel/lib/crc-ccitt.ko: No such file or directory
insmod: ERROR: could not load module /lib/modules/3.16.0-23-generic/kernel/net/wireless/cfg80211.ko: No such file or directory
insmod: ERROR: could not load module /lib/modules/3.16.0-23-generic/kernel/net/mac80211/mac80211.ko: No such file or directory
insmod: ERROR: could not insert module ./rt2x00lib.ko: Invalid module format
insmod: ERROR: could not insert module ./rt2x00pci.ko: Invalid module format
insmod: ERROR: could not insert module ./rt2x00mmio.ko: Invalid module format
insmod: ERROR: could not insert module ./rt2800lib.ko: Invalid module format
insmod: ERROR: could not insert module ./rt2800pci.ko: Invalid module format
insmod: ERROR: could not insert module ./mt76xx.ko: File exists

:((

Revision history for this message
Jean (jbernon) wrote :

Hi Zlatan,

Did you use this package https://github.com/lwfinger/mt7630 ? Or the Mediatek package http://www.mediatek.com/en/downloads/mt7630-pcie/ ?

If installing on 14, the second one is better.
But your kernel seems to be 16, not 14. Then the first package is theorically better. "Theorically" means that I could correctly compile modules, load modules, see the Wifi networks, but I couldn't connect anyone (same issue #198). Pratically I bought a Realtek USB wifi TL-WN725N (6 euros) and it worked fine (but low signal) immediately. Now I am waiting for a better driver for mt7630.

Revision history for this message
Zlatan (z-webb) wrote :

I tried both , but in either case throws an error that we are missing files

on 14.04 evrything worked fine after install 14.10 no more wifi :(

Revision history for this message
Jean (jbernon) wrote :

The output you sent shows that the load.sh you run is looking for kernel 16 missing modules, not kernel 14 and that the modules built at the run are invalid. Looks like trying to insert kernel 14 modules into a kernel 16.

description: updated
Revision history for this message
Jakub Grzeszczuk (jakub-grzeszczuk) wrote :

when can we expect a push to a kernel update on 14.04? Iam not that good at IT - Ido not know how to "compile", etc... :(

Revision history for this message
Denka (den-nechaev) wrote :

For ubuntu 14.10 after small changes in code downloaded from mediatek site wifi work.

 /rt2x00/rt2800usb.c

line 766 PREPARE_WORK(&rt2x00dev->txdone_work, rt2800usb_work_txdone);
---> INIT_WORK(&rt2x00dev->txdone_work, rt2800usb_work_txdone);

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

Denka on ubuntu 14.10 with this changes how is cpu load? always 100%?

Revision history for this message
Denka (den-nechaev) wrote :

Yah, CPU load. Process ksoftirqd.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

Here's a fork of my repo which was done by poupougnac and he claims that it removes the syslog outputs and prevent overload and hang... I haven't tested it yet but think worth a try....

https://github.com/poupougnac/MT7630E

Revision history for this message
Heinz Werner Kramski (kramski) wrote :

Had to fix some minor syntax problems before poupougnac's files compile. Still 100% CPU for ksoftirqd after loading on Mint 17 :-(

Revision history for this message
mika (mikavour) wrote :

The wifi card Mediateck MT7630E is not working in a new ausus tp500la, under ubuntu 14.04 and kernel version 3.13.0-40-generic 64bit.
After I install the drivers https://github.com/poupougnac/MT7630E I have the wifi on, but NO bluetooth, although bluetooth seems to be on

Revision history for this message
lsddao (lsddao) wrote :

Confirm, 100% CPU load on ksoftirqd. Maybe somebody has guess how to fix without waiting official fix? Maybe changing 1-2 lines in source code? :)

Revision history for this message
Spessotto (spessotto) wrote :

@mika, try as in comment #124

Revision history for this message
james (thejamesbradwell) wrote :

I managed to get wifi working following the steps in comment #125. Of course I have high CPU load with ksoftirqd.

I also got Bluetooth working, but only temporarily. I compiled from the btloader directory in https://github.com/poupougnac/MT7630E (this appears to be just the same as other versions of the driver). So Bluetooth actually worked for some time, but now it's gone. I can't bring it back by reproducing my steps. Did anyone manage to get Bluetooth working permanently?

Spessotto, I tried your suggestion:

# echo "options asus_nb_wmi wapf=4" > /etc/modprobe.d/asus.conf

Still no bluetooth.

# hciconfig -a
hci0: Type: BR/EDR Bus: USB
 BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
 DOWN
 RX bytes:10 acl:0 sco:0 events:2 errors:0
 TX bytes:3 acl:0 sco:0 commands:1 errors:0
 Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 Packet type: DM1 DH1 HV1
 Link policy:
 Link mode: SLAVE ACCEPT

# hciconfig hci0 up
Can't init device hci0: Device or resource busy (16)

Revision history for this message
james (thejamesbradwell) wrote :

So after I tried Spessotto's suggestion, I left it, then tried blacklisting btusb (/etc/modprobe.d/blacklist), rebooted, removed btusb from blacklist, removed asus.conf, rebooted, once again entered the command

# echo "options asus_nb_wmi wapf=4" > /etc/modprobe.d/asus.conf

Rebooted... and, suddenly,

# hciconfig -a
hci0: Type: BR/EDR Bus: USB
 BD Address: EC:0E:C4:69:DA:C2 ACL MTU: 1021:4 SCO MTU: 128:2
 DOWN
 RX bytes:558 acl:0 sco:0 events:28 errors:0
 TX bytes:355 acl:0 sco:0 commands:28 errors:0
 Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
 Link policy: RSWITCH HOLD SNIFF PARK
 Link mode: SLAVE ACCEPT

# hciconfig hci0 up

This brought bluetooth up... But gnome-bluetooth was not recognizing it. It turned out that I needed to roll back bluez5 to bluez4. I did so and now it's working. So that leaves only the high cpu load.

Revision history for this message
tobiasBora (tobias-bora) wrote :

I tried #204 and it works for me on my 3.16 kernel, thank you ! I added too the modification that make bluetooth working and added it in this repository : https://github.com/tobiasBora/MT7630E_3.16 .

To try it just run :
  make load

and if it works and if you want to install it permanently run :
  make install

If you want to uninstall it just run :
  make uninstall

Hope it can be usefull.

Revision history for this message
tobiasBora (tobias-bora) wrote :

I tried my code on kernel 3.14 and it works too ! So https://github.com/tobiasBora/MT7630E_3.16 can be used to install Wifi and Bluetooth on a 3.14 (Ubuntu 14.04) and 3.16 (Ubuntu 14.10) kernel with a simple command just above on #214 !

Revision history for this message
lsddao (lsddao) wrote :

I just fixed several compilation errors in https://github.com/poupougnac/MT7630E (locally) and installed, BUT it didn't solve issue with 100% CPU load on ksoftirqd. So it must be not an issue with verbose output.

Revision history for this message
exzR (exzr) wrote :

I just install Kubuntu 14.04, after install "https://github.com/tobiasBora/MT7630E_3.16" my wifi stay on Hard Blocked: yes, without success i can enable it but iwconfig see wlan0... anyone know what do to unlock it? (rfkill unblock all doesn't work)
Thanks for your work

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

tobias-bora with your code how is cpu load for ksoftirqd?

Revision history for this message
exzR (exzr) wrote :

i'm using tobias-bora code and i don't have 100% cpu load (used in two scenarios, wpa2 classic and wap2 enterprise with leap). for hard block i used this code:

sudo nano /etc/modprobe.d/asus_nb_wmi.conf

and then write:

options asus_nb_wmi wapf=4

i know if there are any other way to unblock wlan0 (rfkill doesn't work)

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

with hp probook 430 g1 also tobias-bora code has 100% cpu load for ksoftirqd :(

Revision history for this message
tobiasBora (tobias-bora) wrote :

@tafazzi87 : It's pretty strange : sometimes it works great, and sometimes I have a 100% cpu load... I don't know if it comes from a bad load of the module or from the module itself, I'll try to do some tests when I have the time.

Revision history for this message
tobiasBora (tobias-bora) wrote :

Well after some tests I can't manage to have again a non 100% cpu load, so yes, this bug is always a problem and I don't have enough knowledge in that field to solve it... The only thing I can say is that "make wifi_unload" remove the CPU problem... but of course remove too the wifi.

Revision history for this message
Tugay (temroa) wrote :

#222 can you help me at installing your driver for gnome ubuntu 14.10 ? i could not opened makefile and others in the submenu.

Revision history for this message
Marko (marko-kauzlaric) wrote :

with tobiasbora 100% cpu on asus x750l

Revision history for this message
james (thejamesbradwell) wrote :

I've noticed a strange behavior w/r/t the high CPU load.

With wifi enabled, ksoftirqd will use 100% CPU even if I am not connected to a network. However, if I create an ad-hoc network, ksoftirqd will stop. Disconnect the ad-hoc network and it stays that way, no CPU load, UNTIL connecting to a wifi network again. Then the CPU load will again reach 100%.

Here's hoping that this will help somebody get to the bottom of the problem.

Revision history for this message
Kent (kentwendy) wrote :

 I have installed the firmware from Tobias Bora MT7630E_3.16 on kernel 3.19 (siduction) with success. I am not seeing any increased cpu load. Unfortunately the Bluetooth doensn't seem to work but the wifi is working well so far.

Revision history for this message
Kent (kentwendy) wrote :

On closer inspection one of my cores is running at 100%.

Zaka (zaka304)
Changed in linux (Ubuntu):
assignee: nobody → Zaka (zaka304)
assignee: Zaka (zaka304) → nobody
Revision history for this message
Heinz Werner Kramski (kramski) wrote :

I gave up an bought an INTEL Dual Band Wireless-AC 7260 (27 EUR) for my HP Probook 430 G1.

Works ootb on Win 8.1 and Linux Mint 17 AND I have 5 Ghz and 802.11ac now (bitrates up to 866 Mbit/s.)

Revision history for this message
Peter Silva (peter-bsqt) wrote :

I bough an Asus G771, and it uses this chip for bt, wireless, and copper ethernet, and none of the work properly. The ethernet seems to work, but every few minutes it hangs, and comes back after a minute or so. plugged in a third-party usb->gig for now. Without that, no networking at all.

Revision history for this message
Peter Silva (peter-bsqt) wrote :

the ethernet problem is fixed now, was caused by my network (duplicate IP assignment), not the driver. the wireless seems to work, but if the radio is on, even if not associated to an AP, I lose a whole cpu (100% ksoftirq) drives the cpu temperature up 10 degrees C, so I can only imagine what it does to battery life.

Revision history for this message
George Moutsopoulos (gmoutso) wrote :

with tobiasbora solution i also get 100% cpu on ksoftirqd
I am not sure if it helps but trying acpi=off the module does not load and I get a multitude of the messages

===>rt2x00lib_start
genirq: Flags mismatch irq 0. 00000080 (0000:03:00.0) vs. 00015a00 (timer)
phy0 -> rt2x00lib_start: Error - IRQ 0 allocation failed (error -16).

As an aside, would it help if more people contact mediatek? I sent a question on their webform but haven't received a reply.

Revision history for this message
Peter Silva (peter-bsqt) wrote : Re: [Bug 1220146] Re: Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

me too with losing a cpu to ksoftirq. Also, battery life on my Asus G771
goes from 2:40 to 1:30 when I turn on wifi.

On Sat, Mar 21, 2015 at 10:02 PM, George Moutsopoulos <
<email address hidden>> wrote:

> with tobiasbora solution i also get 100% cpu on ksoftirqd
> I am not sure if it helps but trying acpi=off the module does not load and
> I get a multitude of the messages
>
> ===>rt2x00lib_start
> genirq: Flags mismatch irq 0. 00000080 (0000:03:00.0) vs. 00015a00 (timer)
> phy0 -> rt2x00lib_start: Error - IRQ 0 allocation failed (error -16).
>
> As an aside, would it help if more people contact mediatek? I sent a
> question on their webform but haven't received a reply.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
Ievgen (hexvolt) wrote :

> As an aside, would it help if more people contact mediatek? I sent a question on their webform but haven't received a reply.
 I sent them this mail about a week ago:

"""
Hey, guys

do you realize how many problems have you done to thousands of 'lucky' users that had bought a laptop with your MT7630 wifi/bluetooth card inside? Your drivers for this card are awful (either Windows or Linux based)! I met the people using this on windows8.1 and complained for periodical device disappearing.

I'm personally trying to use this device on Linux (different versions of Ubuntu) - it somehow works but eats 100% cpu load, discharging my battery and increasing cpu temperature all the time! Just look at this thread: (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1220146) - actually it is about your guys drivers for MT7630 - all the people have the same problems on linux. Look how long it is discussed - and there is still no decision. Are you not supporting your own products? The last linux driver is V3.14 from 6/25/2014 - but still the same problems, 100% cpu load, any updates, like it's all ok. Have you tested this before releasing to the market at all? A lot of people can't deal with this, changing their laptops, writing complaints to retailers, buying new wifi-cards, spending their money for services (just look through that link I've provided) - and that's all because of your great drivers for your widely used wifi card. Please, answer me, I'm very disappointed
"""

---
Still no answer. I think the only thing we can do is to write complaints to our laptop's manufacturers just to prevent them using Mediatek cards in future.

Revision history for this message
Ievgen (hexvolt) wrote :

Heinz Werner Kramski (kramski), what about HP whitelists? did you meet any problems during replacing your old wifi card to new one? Should I check HP whitelist first before buying AC wifi card?

Revision history for this message
Heinz Werner Kramski (kramski) wrote :

@Ievgen: No BIOS problems, no driver problems, I simply swapped the hardware. Bluetooth and WiFi work out of the box.

May be specific to my model (HP Probook 430 G1), as the very similar "Intel Dual Band Wireless-N 7260AN" is listed as a spare part in the maintenance guide.

Revision history for this message
Massimo (minervini-massimo) wrote :

I experienced the same problem reported in this thread on an Asus N751JK, equipped with network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter.

Eventually, on kernel 3.16.0-33 I solved by following the procedure reported in #214, i.e. using the driver provided by tobias-bora at: https://github.com/tobiasBora/MT7630E_3.16

I'm not observing any high CPU load.

Revision history for this message
Ievgen (hexvolt) wrote :

Massimi, just look in System Monitor -> Processes -> All processes to ksoftirqd/ service. I bet it will be high % CPU. Probably it will eat one of yours CPU cores to handle interrupts from wifi card. So if you have 8 cores, for instance, ksoftirqd/ will consume about 12%.

Revision history for this message
Ievgen (hexvolt) wrote :

@Heinz Werner Kramski, thanks.

Guys, I also gave up and ordered module "Intel Dual Band Wireless-AC 7260 Network Adapter (7260.HMWWB.R)" for $25.86 to replace MT7630E in my HP Probook 470 G1. Will post the results when I'll get it.

Revision history for this message
George Moutsopoulos (gmoutso) wrote :

Thanks to Jakub Kicinski from linux-wireless upstream who went out of his way to fix this

https://github.com/kuba-moo/mt7630e solves my 100% CPU problem

Make sure your module rt2800pci is clean too. I used a clean upgraded kernel 3.16-0.33 for this to work.

As I understand, this is not a kernel bug because the driver is closed source. But ubuntu can perhaps support the solution with its propitiatory drivers. Can we expediate ubuntu's attention? BTW, Jakub's repo works fine but still has too many dmesg messages, maybe someone can fix this as before? Also, I did not test BT since I am too happy for that.

@levgen I send a message to mediatek every now and then. Last one was on their google+. I will also email Asus to complain in general. On a question about whether the card can be replaced, they replied about not supporting linux etc. I think replacing the card is not an option on the asus TP500LN because it is integrated.

Revision history for this message
Jakub Kicinski (moorray) wrote :

@gmoutso thanks for bringing this to my attention. It's pure luck that I had a MT7630E device laying around ;) What particular dmesg output is annoying to you? I think that messages are only printed during load/unload and establishing connection. Once connection is established there shouldn't be too much of them...

I hope my changes to the driver at https://github.com/kuba-moo/mt7630e are enough to fix the 100% CPU usage issue, if someone can still see the problem please report. Also I didn't have time today to check BT, can anyone test it as well?

I would appreciate if any errors and problems with the driver were reported directly on GitHub (as Issues) because it would make the development easier for me. Thanks!

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

thanks @moorray your drivers works fine and i've no more 100% use of cpu from ksoftirq process, when i've time i test also BT but now wifi works!!! thanks again

Revision history for this message
Jean (jbernon) wrote :

Thank you very much Jakub. Install is very easy and this is the first time that Wifi is working very fine (I don't know for BT which I dont't use) on my ASUS K551LN X0401H with Debian Jessie.

Jean

----- Mail original -----

De: "Jakub Kicinski" <email address hidden>
À: <email address hidden>
Envoyé: Jeudi 2 Avril 2015 00:17:47
Objet: [Bug 1220146] Re: Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

@gmoutso thanks for bringing this to my attention. It's pure luck that I
had a MT7630E device laying around ;) What particular dmesg output is
annoying to you? I think that messages are only printed during
load/unload and establishing connection. Once connection is established
there shouldn't be too much of them...

I hope my changes to the driver at https://github.com/kuba-moo/mt7630e
are enough to fix the 100% CPU usage issue, if someone can still see the
problem please report. Also I didn't have time today to check BT, can
anyone test it as well?

I would appreciate if any errors and problems with the driver were
reported directly on GitHub (as Issues) because it would make the
development easier for me. Thanks!

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1220146

Title:
Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

Status in HWE Next Project:
Confirmed
Status in HWE Next trusty series:
Confirmed
Status in The Linux Kernel:
Unknown
Status in linux package in Ubuntu:
Triaged
Status in linux package in Fedora:
New

Bug description:
This device is appearing in some OEM machines, but driver is not yet
available in mainline.

The driver seems to be present in machines with pre-installed OS, but
isn't available on the download-and-install versions!

The driver that upstream is working on can be found at
https://github.com/lwfinger/mt7630.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions

Revision history for this message
George Moutsopoulos (gmoutso) wrote :

Hi Jakub,
it is great you can support development further!

The dmesg verbosity I mentioned is the constant
[ 1982.527072] ==>rt2800_config_channel_rf7630 ch6
[ 1982.527304] SwitchChannel#6
[ 1982.751165] BW=20 EXTCHA_NONE
before connecting and after connecting
ch6 gets cycled ch1->ch14 but for some reason ch6 appears more often. And checking iwlist scanning wlan0 voila, my wifi is at channel 6.

I compiled the bt succesfully, there is no strange behavour. However my kde bluetooth applet says "no bluetooth devices". I have never used bluetooth before so I don't know if I need to configure kde for this to work properly.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I have updated my repository https://github.com/neurobin/MT7630E
taking source from https://github.com/kuba-moo/mt7630e by Jakub Kicinski
and checked on my system, even though I haven't had any problem so far with the previous one.
This new one works on my system. And for my own convenience, I have added some install script:

Installation is like this:

Download it from https://github.com/neurobin/MT7630E/archive/release.zip and extract, say it's in Downloads folder, then,

cd ~/Downloads
chmod +x install test uninstall
Now to install:
./install
To test without install:
./test
To uninstall:
./uninstall

Revision history for this message
Jakub Kicinski (moorray) wrote :

@tafazzi-87 @jbernon: thanks for testing guys, let me know on GitHub if something breaks.
@gmoutso: I removed the 3 messages you mentioned, update the driver (git pull) and they should be gone :)

About BT I tried it myself today and it seems like kernel needs some workaround to get it to work. I will look into in a week or so (after Easter holidays).

@neurobin: Please do the right thing here and if you want to have a fork of my code on your GH account then fork my repo instead of copying the code. If you just copy the code
(1) when users complain to you instead of me they will probably not get much help (see the 3 open issues you have - which BTW have nothing to do with the current code);
(2) by destroying git history you removed my copyrights which is rude.

Revision history for this message
Peter Silva (peter-bsqt) wrote :

KUBA-MOO Works for me! I just got an extra hour of battery life on my
laptop!
Thank you!

On Thu, Apr 2, 2015 at 6:39 PM, Jakub Kicinski <email address hidden> wrote:

> @tafazzi-87 @jbernon: thanks for testing guys, let me know on GitHub if
> something breaks.
> @gmoutso: I removed the 3 messages you mentioned, update the driver (git
> pull) and they should be gone :)
>
> About BT I tried it myself today and it seems like kernel needs some
> workaround to get it to work. I will look into in a week or so (after
> Easter holidays).
>
> @neurobin: Please do the right thing here and if you want to have a fork
> of my code on your GH account then fork my repo instead of copying the
> code. If you just copy the code
> (1) when users complain to you instead of me they will probably not get
> much help (see the 3 open issues you have - which BTW have nothing to do
> with the current code);
> (2) by destroying git history you removed my copyrights which is rude.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
Ievgen (hexvolt) wrote :

Awesome! @Jakub Kicinski you are genius, Mediatek sucks :) No 100% CPU load, WiFi speed significantly increased - it was about unstable 5-7 Mbit/s before, now it is about 20-25 Mbit/s stable in the same conditions.

tested on Ubuntu 14.04, kernel 3.13

this fork definitely must be pushed to ubuntu release.

Now it will be interesting to compare MT7630 with Intel 7260 I've ordered before this driver release :)

Revision history for this message
Peter Silva (peter-bsqt) wrote :

oh.. I just noticed no-one confirmed for bt yet, so:
 I use a bluetooth headset at the same time as the wireless, and it is
working fine as well (but the bt was working fine even before. It was only
the wlan causing the high cpu.)

On Sat, Apr 4, 2015 at 5:35 AM, Ievgen <email address hidden> wrote:

> Awesome! @Jakub Kicinski you are genius, Mediatek sucks :) No 100% CPU
> load, WiFi speed significantly increased - it was about unstable 5-7
> Mbit/s before, now it is about 20-25 Mbit/s stable in the same
> conditions.
>
> tested on Ubuntu 14.04, kernel 3.13
>
> this fork definitely must be pushed to ubuntu release.
>
> Now it will be interesting to compare MT7630 with Intel 7260 I've
> ordered before this driver release :)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
Peter Silva (peter-bsqt) wrote :

for what it's worth, although top show it is much better, when I look with
'powertop' the story still looks not to good (but definitely much better
than before Jakub's patch)
It still says 26.6 of 29.1 W (>90% ?) is going to the wlan ? Seems like a
heck of a lot of power for wireless lan? makes no sense. I'm not very
knowledgeable of powertop, perhaps I just do not understand the display.

by the way, this isn't streaming or anything, there is chrome running, with
a gmail window and some local terminals. No real network traffic at all.

--- screen copy/paste ----
The battery reports a discharge rate of 29.1 W
The estimated remaining time is 0 hours, 32 minutes

Summary: 966.8 wakeups/second, 16.0 GPU ops/seconds, 0.0 VFS ops/sec and
11.8% CPU use

Power est. Usage Events/s Category Description
  26.6 W 100.0% Device Radio device:
asus-nb-wmi
  6.71 W 100.0% Device Radio device: btusb
  1.53 W 5.4 ms/s 418.7 Process
 /opt/google/chrome/chrome
  475 mW 5.9 ms/s 130.3 Interrupt PS/2 Touchpad /
Keyboard / Mouse
  426 mW 59.5 ms/s 116.9 Process
 /opt/google/chrome/chrome --type=renderer --en
  257 mW 0.0 pkts/s Device Network interface:
eth0 (r8168)
  208 mW 1.3 ms/s 57.0 Timer hrtimer_wakeup
  144 mW 284.6 µs/s 39.5 kWork od_dbs_timer
  102 mW 1.4 ms/s 28.1 Interrupt [51] i915
  102 mW 1.9 ms/s 29.1 Process
 /opt/google/chrome/chrome --type=gpu-process -
 93.1 mW 2.6 ms/s 26.0 Process compiz
 91.

----

On Sat, Apr 4, 2015 at 10:20 PM, Peter Silva <email address hidden> wrote:

> oh.. I just noticed no-one confirmed for bt yet, so:
> I use a bluetooth headset at the same time as the wireless, and it is
> working fine as well (but the bt was working fine even before. It was only
> the wlan causing the high cpu.)
>
>
> On Sat, Apr 4, 2015 at 5:35 AM, Ievgen <email address hidden> wrote:
>
>> Awesome! @Jakub Kicinski you are genius, Mediatek sucks :) No 100% CPU
>> load, WiFi speed significantly increased - it was about unstable 5-7
>> Mbit/s before, now it is about 20-25 Mbit/s stable in the same
>> conditions.
>>
>> tested on Ubuntu 14.04, kernel 3.13
>>
>> this fork definitely must be pushed to ubuntu release.
>>
>> Now it will be interesting to compare MT7630 with Intel 7260 I've
>> ordered before this driver release :)
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1220146
>>
>> Title:
>> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>>
>
>

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

@Jakub Kicinski (moorray)

Sorry for copying without asking or not for using fork, but you see I just couldn't. Both have the same name and if I fork i would have to use another name for it and I don't want to end up with two repositoies with same thing inside. Instead I used my existing repo and moved my master to old-master. That way it contains both new and old driver in one place.

And for issues with new code, I will redirect them to you.........

Again, sorry for being rude...

Revision history for this message
Lubensius (lubensius) wrote :

+++ Working configuration on ASUS TP500LN +++

I just put my working bugfix MEDIATEK modules to
https://github.com/Lubensius/MT7630e-ASUSTP500LN-ubuntu

@Jakub Kicinski (moorray) and Jahidul Hamid (neurobin) and all other active developers
As I'm only active on holidays, please kindly review and add my changes to your git-branch, if you find them useful.

B.T.W. I'm currently down to 8.6W or less with WiFi connection

I hope together we can get a working module in the standard kernel.

Revision history for this message
Peter Silva (peter-bsqt) wrote :

@lubensius, thank you very much for your work, but it is very hard to
determine what there is to integrate. I tried to find your patches to
apply them to kubamoo. If you published a starting tree that was the
original mediatek code, and then committed your your changes, we could
understand the patches. It is very difficult to identify your changes
because it is just the whole tree, and the june 2014 driver is now hard to
find, because mediatek published an updated driver later in the year. It
is hard to compare with kubamoo work because Jakub re-structured the source
significantly, so the likelihood of being able to pick up your changes is
slim.

thanks.

On Sun, Apr 5, 2015 at 5:25 PM, Lubensius <email address hidden>
wrote:

> +++ Working configuration on ASUS TP500LN +++
>
> I just put my working bugfix MEDIATEK modules to
> https://github.com/Lubensius/MT7630e-ASUSTP500LN-ubuntu
>
> @Jakub Kicinski (moorray) and Jahidul Hamid (neurobin) and all other
> active developers
> As I'm only active on holidays, please kindly review and add my changes to
> your git-branch, if you find them useful.
>
> B.T.W. I'm currently down to 8.6W or less with WiFi connection
>
> I hope together we can get a working module in the standard kernel.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions
>

Revision history for this message
txutxifel (jesaenh) wrote :

I hve tested Bluetooth and with KUBA-MOO and Jakub git, It doesn't work. However Tora-bora git does. I replace temporaly the code and I have both working

Anyway thanks for your work

Cheers

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

@jesaenh thanks i've do this tweak, i've replace btfolder from @neurobin repo on @moorray repo and now also BT works fine
@peter-bsqt my powertop say : The battery reports a discharge rate of 7.01 W
I'm on hp probook 430 g1 so i think that is good

Revision history for this message
Jakub Kicinski (moorray) wrote :

@jesaenh @tafazzi-87 I added missing USB ids, can you test if my repo works for you now without the need to replace btloader/?

Revision history for this message
tafazzi87 (tafazzi-87) wrote :

@moorray now it works also bluetooth! thanks for your work

Revision history for this message
txutxifel (jesaenh) wrote :

Hi, bluetooth works for me too, thanks.

However I have a "little" problem with wifi drive . It doesn't load automatically. I have to do 'sudo modprobe mt7630e' manually to make it working.

I added 'modprobe mt7630e' in /etc/rc.local and now is fine

Any idea?

Thanks form your work!!!!!!!!!

PD . ksoftirqd is fine to me :)

Revision history for this message
Jakub Kicinski (moorray) wrote :

@jesaenh try running:
depmod -a
it should rebuild the database of kernel modules.

Revision history for this message
txutxifel (jesaenh) wrote :

@moorray I tried and I reinstalled my actual kernel and the headers, too. Any change. I need to use /etc/rc.local

I didn't see any strange in dmesg.

Thanks anyway

Revision history for this message
allam989@gmail.com (allam989-v) wrote :

please help
Mediatek MT7630E wireless LAN driver in Ubuntu 14.10 and 15.04

Revision history for this message
Ievgen (hexvolt) wrote :

I'm posting the results of replacing MT7630E to Intel 7260ac: works fine with laptop HP Probook 470 G1, so there is no whitelist in laptop (if someone ask himself with such question).

There were some problems with Ubuntu 14.04 and kernel 3.13 though. It worked out of the box, but not so stable and with huge amount of Tx excessive retries. I updated the kernel to 3.16 and downloaded new firmware and i works better now

However sometimes 'Tx excessive retries' and 'Invalid misc:' in iwconfig is still more than 0. I don't if it's OK (because I did't run iwconfig with my old MT7630E), but wifi works for me.

Revision history for this message
Imerion (imerion) wrote :

Hi! I just tried this updated driver version from cuba-moo, and finally got this network card to work!
Thanks to all involved!

Something is not entirely right though. If I leave my computer on for a minute without doing anything my CPU will go up to 100%.
If I touch anything it goes down to 1% again. Any ideas?

Revision history for this message
Imerion (imerion) wrote :

Never mind, I might have found a different cause. At least I believe this to be solved.

Revision history for this message
Quentin (quentindunand) wrote :

I buyed an Asus Vivobook s301la-dh084h and I have the same problem. I don't have Wi-Fi because I have shitty MT7630E Wi-Fi/bluetooth card.

Thanks to @moorray, my Wi-Fi is working but is much less powerful than on Windows 8 (I can not detect networks that I detected very well in Windows) and my bluetooth doesn't work at all :(

Is somebody can help me ?
Thanks in advance :)

Revision history for this message
Quentin (quentindunand) wrote :

Sorry for the double post, I have forget to say that I'm currently running Ubuntu Gnome 15.04 and my kernel is 3.19.0-18-generic ;)

Revision history for this message
txutxifel (jesaenh) wrote :

I have the same problem as Quentin. My computer cannot find some networks.

Has Anyone an idea about to fix it?

Cheers!!!

Revision history for this message
james (thejamesbradwell) wrote :

Want to confirm that Jakub Kicinski's fix, applied through Jahidul Hamid's script in #244, works like a charm. CPU load is back to normal and syslog output is also normal. Thank you guys!

tags: added: vivid
removed: utopic
no longer affects: ubuntu-gnome
Revision history for this message
Nicco (nicco-angioni) wrote :

Hello! I still have problems with both kuba-moo and neurobin drivers. I have an Asus x555la laptop running ubuntu-gnome 15.04.
The installation was fine and and connection worked, but:
-the divers don't load at startup.
-the system crashes when I disconnect from a network, so to disconnect without problems I have to switch of the router...
Any idea to fix this?
Thank you in advance!

Revision history for this message
biker (biker6886) wrote :

Hi, I have same problem of Nicco with Ubuntu 14.04 and kernel 3.19. When I try to manage wifi the system freezes, I have to force shutdown with power button.

Revision history for this message
dave (2ave) wrote :

This device still not working in Ubuntu 15.10. I had it working under 15.04 using neurobin code. Now when I try to make it I get a FIF_PROMISC_IN_BSS undeclared error.

A thousand curses to MediaTek for not offering proper support and ASUS for using the hardware.

Revision history for this message
Jean (jbernon) wrote :

Hi Dave,

Did you try Jakub Kicinski's update of the driver : https://github.com/kuba-moo/mt7630e ?
J ean

----- Mail original -----

> De: "dave" <email address hidden>
> À: <email address hidden>
> Envoyé: Vendredi 23 Octobre 2015 03:10:36
> Objet: [Bug 1220146] Re: Ralink Mediatek 14c3:7630 wi-fi card isn't
> supported out of the box

> This device still not working in Ubuntu 15.10. I had it working under
> 15.04 using neurobin code. Now when I try to make it I get a
> FIF_PROMISC_IN_BSS undeclared error.

> A thousand curses to MediaTek for not offering proper support and
> ASUS
> for using the hardware.

> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1220146

> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

> Status in HWE Next:
> Confirmed
> Status in HWE Next trusty series:
> Confirmed
> Status in Linux:
> Unknown
> Status in vivid:
> New
> Status in linux package in Ubuntu:
> Triaged
> Status in linux package in Fedora:
> New

> Bug description:
> This device is appearing in some OEM machines, but driver is not yet
> available in mainline.

> The driver seems to be present in machines with pre-installed OS, but
> isn't available on the download-and-install versions!

> The driver that upstream is working on can be found at
> https://github.com/lwfinger/mt7630.

> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1220146/+subscriptions

Revision history for this message
mycodef (mycodef) wrote :

> This device still not working in Ubuntu 15.10. I had it working under 15.04 using neurobin code. Now when I try to make it I get a FIF_PROMISC_IN_BSS undeclared error.

neurobin's driver (i.e. kuba-moo's driver with modified installer) is not compatible with kernel 4.2+. Try https://github.com/benjarobin/MT7630E, looks like this error is fixed here

Revision history for this message
dave (2ave) wrote :

Thanks Jean and mycodef, I did try kuba-moo without success, I am trying
benjarobin now.

benjarobin does appear to make, unfortunately I am not sure how to
install it.

Sorry to be a nuff nuff but would appreciate some instructions on what
to do next.

So far I have downloaded the zip, unzipped, opened terminal, and run
make in both MT7630-master/btloader and MT7630-master/rt2x00.

On 23/10/15 18:50, mycodef wrote:
>> This device still not working in Ubuntu 15.10. I had it working under
> 15.04 using neurobin code. Now when I try to make it I get a
> FIF_PROMISC_IN_BSS undeclared error.
>
> neurobin's driver (i.e. kuba-moo's driver with modified installer) is
> not compatible with kernel 4.2+. Try
> https://github.com/benjarobin/MT7630E, looks like this error is fixed
> here
>

Revision history for this message
dave (2ave) wrote :

I am indeed a nuff nuff.

I followed the instructions at kuba-moo and wireless is now working, In particular in addition to #273, I:

from MT7630-master issued the following commands.

sudo cp -v firmware/*/* /lib/firmware/

then load the drivers manually:

sudo modprobe rt2800pci
sudo insmod ./rt2x00/mt7630e.ko
sudo insmod ./btloader/mt76xx.ko

I tried to enable dynamic module build with dkms package with :

sudo make dkms

but get error "no build target". I have just installed dkms but get same error. Will try to figure it out.

Thanks for the help, most appreciated.

Revision history for this message
mycodef (mycodef) wrote :

> I tried to enable dynamic module build with dkms package with :

> sudo make dkms

> but get error "no build target"

copy two files "Makefile" and "dkms.conf" from kuba-moo's repo into benjarobin's one and run this command again

Revision history for this message
dave (2ave) wrote :

Ok I got wireless networking working using the MT7630 device under Ubuntu 15.10 by following the procedure below.

I used benjarobin for a working driver and kuba-moo to get hold of a couple of make files that simplify the installation.

Download the following files:

MT7630E-master.zip from https://github.com/benjarobin/MT7630E
mt7630e-master.zip from https://github.com/kuba-moo/mt7630e

I used the "Download ZIP" button in both cases which appears at the bottom of the RHS column of these pages.

Unzip both files and copy "Makefile" and "dkms.conf" from mt76303-master to MT7630E-master.

Open a terminal and get to the MT7630E-master directory and then follow the instructions at https://github.com/kuba-moo/mt7630e omitting the "clone repo" steps as you already have the source, (git clone didn't work for me due to a permission issue that I did not understand).

This procedure appeared to work for me, even after a computer restart, (I had got it working without loading on restart and dkms in posts 273 and 274, but hopefully nothing is required above what I describe in this post).

Thanks to kuba-moo, benjarobin and mycodef. Much appreciated.

Revision history for this message
chili555 (wrweston) wrote :

It compiles perfectly for me in 15.10 with this procedure:

git clone https://github.com/benjarobin/MT7630E.git
cd MT7630E/rt2x00
make
sudo make install
sudo modprobe mt7630e

Revision history for this message
Nicolas Pineda (genipila-1) wrote :

No, I tried what chili555 did:

git clone https://github.com/benjarobin/MT7630E.git
cd MT7630E/rt2x00
make
sudo make install
but, after:
make: *** No rule to make target 'install'. Alto.

Revision history for this message
Jocke (jocke-gustafsson) wrote :

That didn't work for me either (chili555's method). Got the same result as Nicolas above.
Tried dave's instructions in comment 276 and it worked!
Also I tried everything in here on fedora 22 but I couldn't get make to work. I think I got this one time:
make: *** No rule to make target 'install'.
then I gave up and installed ubuntu 15.10 and it worked. Might be worth to note I'm a complete linux noob.

Anyway thanks everyone for all the help!

Revision history for this message
Nicolas Pineda (genipila-1) wrote :

Same that Jocke. Dave's proceedure does work on my Asus K555L XX131. I just want to edit the part that says "Unzip both files and copy "Makefile" and "dkms.conf" from mt76303-master to MT7630E-master." and correct it by "Unzip both files and copy "Makefile" and "dkms.conf" from mt7630e-master to MT7630E-master.". Thanks everyone for all the help.

Revision history for this message
dave (2ave) wrote :

##can't figure out how to edit a post so here is #276 again with the correction from #280, thanks genipila-1.

Ok I got wireless networking working using the MT7630 device under Ubuntu 15.10 by following the procedure below.

I used benjarobin for a working driver and kuba-moo to get hold of a couple of make files that simplify the installation.

Download the following files:

MT7630E-master.zip from https://github.com/benjarobin/MT7630E
mt7630e-master.zip from https://github.com/kuba-moo/mt7630e

I used the "Download ZIP" button in both cases which appears at the bottom of the RHS column of these pages.

Unzip both files and copy "Makefile" and "dkms.conf" from mt76303e-master to MT7630E-master.

Open a terminal and get to the MT7630E-master directory and then follow the instructions at https://github.com/kuba-moo/mt7630e omitting the "clone repo" steps as you already have the source, (git clone didn't work for me due to a permission issue that I did not understand).

This procedure appeared to work for me, even after a computer restart, (I had got it working without loading on restart and dkms in posts 273 and 274, but hopefully nothing is required above what I describe in this post).

Thanks to kuba-moo, benjarobin and mycodef. Much appreciated.

Revision history for this message
Md. Jahidul Hamid (neurobin) wrote :

I have updated my repository with fixes, which is reported to work. I tested it with kernel 4.2.3.
https://github.com/neurobin/MT7630E

Revision history for this message
txutxifel (jesaenh) wrote :

First
Thank for your job. I used your last patch in my PC and wireless connection is more stable.

However,I have just updated my PC (Opensuse Leap 42.1 Kde) and I can't get my bluetooth working in the last kernel 4.1.12.

Linux PC003 4.1.12-1-default #1 SMP PREEMPT Thu Oct 29 06:43:42 UTC 2015 (e24bad1) x86_64 x86_64 x86_64 GNU/Linux

  I have done some test. It's like bluetouth didnt use mt76xx:

btusb 53248 0
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 532480 9 bnep,btbcm,btusb,btintel

I tried to blacklist btbtcm and btusb, but mt76xx is not used either.

With:
sudo hciconfig hci0 up
Can't init device hci0: Invalid request code (56)

With my old kernel (3.16) bluetooth is working well

Any Idea?

Cheers

Revision history for this message
Pandelis (padelis-and-21) wrote :

Md. Jahidul Hamid Thank you very much your fix did the work for me . !

Revision history for this message
Fabio Carrara (fabiocarrara) wrote :

Using the driver from https://github.com/neurobin/MT7630E on my ASUS S301LP with Ubuntu 15.10 and kernel 4.2.0...
Wifi is ok but bluetooth is not working.

When trying to bring the bluetooth device up, I get this error:

sudo hciconfig hci0 up
Can't init device hci0: Invalid request code (56)

I've used "sudo btmon" to trace HCI commands exchanged when trying to bring the device up, and it seems that the error is caused by an unsupported HCI command ("Read Local Supported Codecs" to which the device responds with "Unknown HCI Command").

The complete output of btmon is reported here: http://paste.ubuntu.com/13331174/

Hope it helps to identify the problem.

Revision history for this message
Pinaki Biswas (biswas-pinaki1708) wrote :

Neurobin driver is working for me as wifi is now accessible. Yet to test power consumption ,speed and stability scenarios. Laptop model# Asus A555LF xx229D on Fedora 4.2.3-300.fc23.x86_64 bit kernel .

Revision history for this message
George Moutsopoulos (gmoutso) wrote :

Latest update of neurobin makes wifi work with 16.04 and kernel 4.4.0-22-generic. I downloaded and installed latest from neurobin (thank you 3g phone) because after upgrade the previous neurobin/kuba-moo/etc versions did not work with the new kernel. https://github.com/neurobin/MT7630E

Revision history for this message
tobiasBora (tobias-bora) wrote :

For people having problem with bluetooth, you should try (tested on kernel 4.4) the following method : https://github.com/neurobin/MT7630E/issues/6#issuecomment-196090923

Here is a copy/paste :

You need to apply this patch :

--- drivers/bluetooth/btusb.c 2015-08-30 20:34:09.000000000 +0200
+++ ../linux-4.2.0/drivers/bluetooth/btusb.c 2016-03-13 21:06:23.393727580 +0100
@@ -60,6 +60,7 @@
 #define BTUSB_QCA_ROME 0x8000
 #define BTUSB_BCM_APPLE 0x10000
 #define BTUSB_REALTEK 0x20000
+#define BTUSB_MEDIATEK 0x40000

 static const struct usb_device_id btusb_table[] = {
    /* Generic Bluetooth USB device */
@@ -73,7 +74,7 @@
      .driver_info = BTUSB_BCM_APPLE },

    /* MediaTek MT76x0E */
- { USB_DEVICE(0x0e8d, 0x763f) },
+ { USB_DEVICE(0x0e8d, 0x763f), .driver_info = BTUSB_MEDIATEK },

    /* Broadcom SoftSailing reporting vendor specific */
    { USB_DEVICE(0x0a5c, 0x21e1) },
@@ -2796,6 +2803,10 @@
        set_bit(HCI_QUIRK_BROKEN_LOCAL_COMMANDS, &hdev->quirks);
    }

+ if (id->driver_info & BTUSB_MEDIATEK) {
+ set_bit(HCI_QUIRK_BROKEN_LOCAL_COMMANDS, &hdev->quirks);
+ }
+
    if (id->driver_info & BTUSB_INTEL_BOOT)
        set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);

and to do so you can run these commands :

sudo service bluetooth stop
sudo apt-get install build-essential linux-headers-$(uname -r)
cd to your prefered build dir
apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)
cd to the created source dir
cp "/boot/config-$(uname -r)" .config
cp "/usr/src/linux-headers-$(uname -r)/Module.symvers" .
edit drivers/bluetooth/btusb.c and apply the patch manually
make prepare
make modules_prepare
make M=scripts/mod
make modules_prepare
make M=drivers/bluetooth/ modules
sudo cp drivers/bluetooth/btusb.ko /lib/modules/$(uname -r)/kernel/drivers/bluetooth
sudo service bluetooth start

Enjoy !

For Wifi, I have some trouble with wifi that crash sometimes, and I need to restart network manager. Depending on the network it can happened every 10 seconds or every 4 hours. I tried the branch 2.0.3a-1 which solved some problems, but not all. If someone manage to solve this problem please tell me ! Here is the Issue and some logs : https://github.com/neurobin/MT7630E/issues/18

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-lts-xenial (Ubuntu):
status: New → Confirmed
Revision history for this message
daneb0e (dlxphantom) wrote :

This also affects ASUS X200-LA, unfortunately.

Revision history for this message
Jean (jbernon) wrote :

Hello,

Back to this bug not totally resolved.
I am using this solution https://github.com/kuba-moo/mt7630e
It is working fine for Wifi with Debian Jessie, working partially for BT (I can send files, but cannot keep a connection).
Owner of a new BT headphone, I tried to connect it unsuccessfully.
I tried the new solution alledgedly fixing the BT issue https://github.com/neurobin/MT7630E, the "bpatch" included, whithout success
Here is the result of "systemctl status bluetooth" command.

root@pc-jean-debian:/home/jean/Téléchargements/mt7630e/btloader# systemctl status -l bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since dim. 2016-10-30 22:58:53 CET; 15min ago
Docs: man:bluetoothd(8)
Main PID: 2591 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─2591 /usr/lib/bluetooth/bluetoothd

oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: Bluetooth daemon 5.23
oct. 30 22:58:53 pc-jean-debian systemd[1]: Started Bluetooth service.
oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: Starting SDP server
oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: Bluetooth management interface 1.6 initialized
oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: Sap driver initialization failed.
oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: sap-server: Operation not permitted (1)
oct. 30 22:58:53 pc-jean-debian bluetoothd[2591]: hci0 Load Connection Parameters failed: Unknown Command (0x01)

Has anyone an idea ? Has anyone different BT devices fully connected with the mt7630 and how did he get it ?

Thanks very much for answers.

Jean

Revision history for this message
Sean (sean-mc-polin) wrote :

Hello Jean,

I have had many difficulties trying to find the right match between a distro, driver and this card.
I have finally settled with debian jessie (linux 3.16) and this easy installable driver : https://github.com/tobiasBora/MT7630E_3.16
I am using xfce, installed blueman and pulse audio and te bluetooth module for pulse audio.
Now I can use my bluetooth audio receiver i connected to my hifi system.
All is working fine now except that wifi and bluetooth interfere with each others' bandwidth, for instance when I update a package or watch a video, the music played through bluetooth just stutters or even becomes silent. But I guess that's just a low quality peice of hardware in the end.

Sean

Revision history for this message
Nato Boram (nato-boram) wrote :

By using this solution, I am able to use the network card. However, my Ethernet port is damaged and this solution requires an Internet connexion.
http://askubuntu.com/q/377050/620831

Changed in hwe-next:
status: Confirmed → Fix Released
Revision history for this message
awawi (awawi) wrote :

This bug still exist, why the status changed to → Fix Released

Revision history for this message
Pablo (pjpmosteiro97) wrote :

This is not fixed, here, asus X554L, ubuntu 18.04, can't find the adapter.

Revision history for this message
Anthony Wong (anthonywong) wrote :

Pablo, do you mind opening a new bug for your problem? Need your system's log files to see what's wrong and putting them in a new bug will be easier to follow. Thanks.

Revision history for this message
Jean (jbernon) wrote :

Hello, the kuba-moo / benjarobin driver+patches worked fine until today when I migrated from Debian Stretch to Debian Buster. I could get wifi working, but not bluetooth, because the 'bpatch' try to uninstall the current linux-image and replace it by 5 others packages, which could break my system. Something appears to be changed in the way of using kernel source, but I don't know enough to understand how to manage it. Does anyone use mt7630e with Debian Buster and can help me ? Thanks a lot.

Revision history for this message
Ievgen (hexvolt) wrote :
Download full text (3.7 KiB)

I feel like I have to share my experience with this WiFi adapter and
ubuntu. I'm in this thread for a few years. In the beginning, I tried
everything, all permutations of kernel versions and driver versions and
sometimes it worked a little better than not working at all, sometimes it
was working but dead slow, but in any way after the next software update,
you would have to start this journey again. Bluetooth never worked
properly. Almost always, nothing was stable. It was like I was spending
days trying to hack the system and make basic vital things work, despite
the fact I spent quite some money on my Ubuntu-based laptop.

Then I gave up and, after googling a lot, I bought another WiFi module
Intel 7620. WiFi was finally stable. Bluetooth never was stable either
though, so I didn't use it and by that time I was just happy to have a
stable WiFi. But after each software update, I held my breath and rechecked
if it still works properly and not lagging at 1MBpS speed. As to Bluetooth
- you can still forget about it.

This is my advice: if you need everything to work properly and stable, and
you need the same Unix eco-system for work\programming (or just because you
like it), my advice - just buy Mac next time you will be upgrading your
hardware. Unfortunately, that's the only way to have Unix-based user
machine (not talking about servers) with working hardware and peripherals.
Ubuntu's driver's system has a major flaw in design because of its hard
dependency on kernel versions. That's why this will *always* happen -
broken drivers, unstable devices etc etc with every update. And that's why
hardware manufacturers don't produce linux drivers much - it's just too
expensive to maintain and redevelop them for each combination of kernel\OS
versions you have.

TLDR: Unfortunately, this is the endless problem you will ALWAYS have in
linux, not just with this WiFi module. No matter how hard the community or
manufacturers commit to Linux's driver's base. If you want a proper
Unix-based system with stable hardware and peripherals, buy Mac and ditch
Ubuntu. Unless you are getting fun digging into kernels and hacking the OS
on a regular basis.

On Mon, Jul 8, 2019 at 1:15 PM Jean <email address hidden> wrote:

> Hello, the kuba-moo / benjarobin driver+patches worked fine until today
> when I migrated from Debian Stretch to Debian Buster. I could get wifi
> working, but not bluetooth, because the 'bpatch' try to uninstall the
> current linux-image and replace it by 5 others packages, which could
> break my system. Something appears to be changed in the way of using
> kernel source, but I don't know enough to understand how to manage it.
> Does anyone use mt7630e with Debian Buster and can help me ? Thanks a
> lot.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1220146
>
> Title:
> Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box
>
> Status in HWE Next:
> Fix Released
> Status in HWE Next trusty series:
> Won't Fix
> Status in Linux:
> Unknown
> Status in vivid:
> New
> Status in linux package in Ubuntu:
> Triaged
> Status in linux-lts-xenial package in Ub...

Read more...

Revision history for this message
Ievgen (hexvolt) wrote :
Download full text (4.0 KiB)

That was my personal experience and conclusion after being in this thread
for *years* and being an Ubuntu user for even more years. So save yourself
some time - that's my message.

On Mon, Jul 8, 2019 at 4:22 PM hexvolt <email address hidden> wrote:

> I feel like I have to share my experience with this WiFi adapter and
> ubuntu. I'm in this thread for a few years. In the beginning, I tried
> everything, all permutations of kernel versions and driver versions and
> sometimes it worked a little better than not working at all, sometimes it
> was working but dead slow, but in any way after the next software update,
> you would have to start this journey again. Bluetooth never worked
> properly. Almost always, nothing was stable. It was like I was spending
> days trying to hack the system and make basic vital things work, despite
> the fact I spent quite some money on my Ubuntu-based laptop.
>
> Then I gave up and, after googling a lot, I bought another WiFi module
> Intel 7620. WiFi was finally stable. Bluetooth never was stable either
> though, so I didn't use it and by that time I was just happy to have a
> stable WiFi. But after each software update, I held my breath and rechecked
> if it still works properly and not lagging at 1MBpS speed. As to Bluetooth
> - you can still forget about it.
>
> This is my advice: if you need everything to work properly and stable, and
> you need the same Unix eco-system for work\programming (or just because you
> like it), my advice - just buy Mac next time you will be upgrading your
> hardware. Unfortunately, that's the only way to have Unix-based user
> machine (not talking about servers) with working hardware and peripherals.
> Ubuntu's driver's system has a major flaw in design because of its hard
> dependency on kernel versions. That's why this will *always* happen -
> broken drivers, unstable devices etc etc with every update. And that's why
> hardware manufacturers don't produce linux drivers much - it's just too
> expensive to maintain and redevelop them for each combination of kernel\OS
> versions you have.
>
> TLDR: Unfortunately, this is the endless problem you will ALWAYS have in
> linux, not just with this WiFi module. No matter how hard the community or
> manufacturers commit to Linux's driver's base. If you want a proper
> Unix-based system with stable hardware and peripherals, buy Mac and ditch
> Ubuntu. Unless you are getting fun digging into kernels and hacking the OS
> on a regular basis.
>
> On Mon, Jul 8, 2019 at 1:15 PM Jean <email address hidden> wrote:
>
>> Hello, the kuba-moo / benjarobin driver+patches worked fine until today
>> when I migrated from Debian Stretch to Debian Buster. I could get wifi
>> working, but not bluetooth, because the 'bpatch' try to uninstall the
>> current linux-image and replace it by 5 others packages, which could
>> break my system. Something appears to be changed in the way of using
>> kernel source, but I don't know enough to understand how to manage it.
>> Does anyone use mt7630e with Debian Buster and can help me ? Thanks a
>> lot.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs...

Read more...

Revision history for this message
Jean (jbernon) wrote :

Thanks you reply, @levgen. But I don't agree with your global appreciation. I have been using Debian for nearly fifteen years and it works fine. With the kuba-moo&benjarobin driver my ASUS wifi and bluetooth have been stable for four years. Your are right that I had to reinstall only this driver with each kernel version, but it was very simple and it is the first time that the install script doesn't work for bluetooth. Changing to Mac doesn't look serious. I don't change the car when the ashtray is full.

Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Jeffrey Seguerra (jepong) wrote :

Please re-open this hardware bug. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.