← Back to team overview

kernel-packages team mailing list archive

[Bug 1220146] Re: Ralink Mediatek 14c3:7630 wi-fi card isn't supported out of the box

 

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
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-lts-xenial package in Ubuntu:
  New
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


References