[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2020-07-05 Thread You-Sheng Yang
** Tags added: hwe-networking-wifi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2020-07-01 Thread Yanike
Tested and now my MT7601U USB Dongle (Ralink Technology, Corp. MT7601U Wireless 
Adapter) is working in Ubuntu 20.04 :)
https://askubuntu.com/questions/1205254/ralink-tech-mt7601u-wireless-adapter-on-xubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2020-01-23 Thread Thomas P.
Seems the fix was not accepted/applied. Just tried latest 18.04, 19.04
and finally 19.10 with kernel 5.3.0-26-generic #28-Ubuntu

 usb 1-3: new high-speed USB device number 2 using ehci-pci
 usb 1-3: New USB device found, idVendor=148f, idProduct=7601, bcdDevice= 0.00
 usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 1-3: Product: 802.11 n WLAN
 usb 1-3: Manufacturer: MediaTek
 usb 1-3: SerialNumber: 1.0
 mtp-probe: checking bus 1, device 2: 
"/sys/devices/pci:00/:00:1d.7/usb1/1-3"
 mtp-probe: bus: 1, device: 2 was not an MTP device
 cfg80211: Loading compiled-in X.509 certificates for regulatory database
 cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
 usb 1-3: reset high-speed USB device number 2 using ehci-pci
 mt7601u 1-3:1.0: ASIC revision: 76010001 MAC revision: 76010500
 mt7601u 1-3:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 
201302052146
 mt7601u 1-3:1.0: EEPROM ver:0c fae:00
 usb 1-3: USB disconnect, device number 2
 mt7601u 1-3:1.0: rx urb failed: -71
 mt7601u 1-3:1.0: Error: submit URB dir:128 ep:1 failed:-19
 usbcore: registered new interface driver mt7601u
 usb 1-3: new high-speed USB device number 3 using ehci-pci
 usb 1-3: New USB device found, idVendor=148f, idProduct=7601, bcdDevice= 0.00
 usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 1-3: Product: 802.11 n WLAN
 usb 1-3: Manufacturer: MediaTek
 usb 1-3: SerialNumber: 1.0
 usb 1-3: reset high-speed USB device number 3 using ehci-pci
 mt7601u 1-3:1.0: ASIC revision: 76010001 MAC revision: 76010500
 mt7601u 1-3:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 
201302052146
 mt7601u 1-3:1.0: EEPROM ver:0c fae:00
 mt7601u 1-3:1.0: rx urb failed: -71
 mt7601u 1-3:1.0: Error: MCU resp urb failed:-71
 mt7601u 1-3:1.0: Error: MCU resp evt:0 seq:5-4!
 mt7601u 1-3:1.0: rx urb failed: -71
 mt7601u 1-3:1.0: Error: MCU resp urb failed:-71
 mt7601u 1-3:1.0: Error: MCU resp evt:0 seq:5-4!
 mt7601u 1-3:1.0: rx urb failed: -71

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2019-07-24 Thread Brad Figg
** Tags added: cscc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2019-04-18 Thread Ubuntu Foundations Team Bug Bot
The attachment "patch for the driver" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2019-04-18 Thread Kai-Heng Feng
Please upstream the patch first so we can backport it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2019-04-18 Thread Martin Pichna
Hello folks,

I've experienced same problem with usb wifi (Tenda U2), which has the
same chip - mediatek mt7601u. The wifi dongle would not start and the
kern.log reports same errors:

Vendor request req:02 off:0080 failed:-110

I tested this with multiple ubuntu versions - 16.0.4, 14.04 and 18.04.
In all of these releases the behaviour is same. Fortunately I found a
solution for this and created a small patch mcu.patch - the file that
require patch is mcu.c. The patch file is attached.

Nevertheless the patch adds a module's parameter "vnd_reset" (by default
set to 1 - preserve current behaviour). But after the module is patched
and compiled, you can load the module like:

insmod mt7601u.ko vnd_reset=0

The above will bypass the problematic (for some dongles) function we call in 
the driver - mt7601u_vendor_reset().
By doing so, I was able to fix the issue for my usb dongle, it works now like a 
charm.


I'd like to ask Ubuntu community if this patch can be applied across all active 
ubuntu branches, so anyone who has issues like this can try to load the module 
with "vnd_reset=0" parameter and see if that fixes issues. By porting this 
extension to the driver, we'll avoid that the driver has to be re-compiled with 
a new kernel version.


thanks, martin

** Patch added: "patch for the driver"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/5256661/+files/mcu.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2018-10-29 Thread Vicenteoyanedel
The solution described here worked for me in Ubuntu 16.04 and 18.04:
https://github.com/kuba-moo/mt7601u/issues/64#issuecomment-352250127

I will reference it here:

Originally written by ingate.
Thanks to aleksander and Nidroide.
Tested on Ubuntu 14.04 (kernel 4.4), Ubuntu 17.10 (kernel 4.13) and Ubuntu 
18.04 (4.15.0-36-generic)

1. Download corresponding kernel source from kernel.org. For example: if you 
have 4.4.0-104-generic download version 4.4.
2. From archive unpack just folder drivers/net/wireless/mediatek/mt7601u
3. Edit phy.c. Find function mt7601u_init_cal and comment out call 
mt7601u_mcu_calibrate(dev, MCU_CAL_RXIQ, 0); like so:

//  ret = mt7601u_mcu_calibrate(dev, MCU_CAL_RXIQ, 0);
//  if (ret)
//  return ret;
//  ret = mt7601u_mcu_calibrate(dev, MCU_CAL_DPD, dev->dpd_temp);
//  if (ret)
//  return ret;

Find function mt7601u_phy_recalibrate_after_assoc and comment out call
mt7601u_mcu_calibrate(dev, MCU_CAL_DPD, dev->curr_temp); like so:

void mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev *dev)
{
//  mt7601u_mcu_calibrate(dev, MCU_CAL_DPD, dev->curr_temp);

mt7601u_rxdc_cal(dev);
}

4. Build module: make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
5. Remove device
6. sudo rmmod mt7601u
7. sudo insmod ./mt7601u.ko
8. Insert device
9. Check there are no errors in dmesg and interface appeared in ip link, check 
connection stability.
10. To make change persistent till next kernel upgrade: backup original module 
and replace with compiled. To find out where is original module run modinfo 
mt7601u (view string filename: 
/lib/modules/_KERNEL_VERSION_/kernel/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2018-01-16 Thread foxliu
In ubuntu 14.04,kernel 4.4.0-109-generic also has this issue,I tried
https://github.com/kuba-moo/mt7601u/issues/64 but is not work.lsusb show
Bus 003 Device 005: ID 148f:7601 Ralink Technology, Corp. MT7601U
Wireless Adapter,which model is TP-link w725n (Free drive).I have tried
many ways but still can't resolve it,however it works fine in Virtual
box win7 system.

dmesg:
...
[  263.432849] usb 3-8: reset high-speed USB device number 9 using xhci_hcd
[  263.563174] mt7601u 3-8:1.0: ASIC revision: 76010001 MAC revision: 76010500
[  263.776962] mt7601u 3-8:1.0: Firmware Version: 0.1.00 Build: 7640 Build 
time: 201308222153
[  267.245013] mt7601u 3-8:1.0: Vendor request req:07 off:09a8 failed:-110
[  270.365290] mt7601u 3-8:1.0: Vendor request req:02 off:09a8 failed:-110
[  273.489665] mt7601u 3-8:1.0: Vendor request req:07 off:0734 failed:-110
[  276.609922] mt7601u 3-8:1.0: Vendor request req:42 off:0230 failed:-110
[  279.734233] mt7601u 3-8:1.0: Vendor request req:07 off:0080 failed:-110
[  282.854578] mt7601u 3-8:1.0: Vendor request req:02 off:0080 failed:-110
[  285.974818] mt7601u 3-8:1.0: Vendor request req:02 off:0080 failed:-110
[  285.974859] mt7601u: probe of 3-8:1.0 failed with error -110

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-12-26 Thread Thomas P.
Retried with recent instructions from mrgromov in post 
https://github.com/kuba-moo/mt7601u/issues/64 and got it to work. 
Would it be possible to create a fix or is this particular device buggy?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-12-20 Thread Alexander Renn
The Windows driver that's on an adapter's embedded virtual CD contains 
FW_7662.bin (79216 bytes). I tried replacing the /lib/firmware/mt7601u.bin with 
that firmware. Driver loads the firmware onto the device: 
mt7601u 1-3:1.0: Firmware Version: 0.0.00 Build: 1 Build time: 201411280941

But then I get the same error: 
mt7601u 1-3:1.0: Vendor request req:02 off:0a44 failed:-110

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-12-10 Thread Thomas P.
Unfortunately the workaround from the previous post did not work for me.
Do still get the same error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-07 Thread Kai-Heng Feng
So it didn't work.

Apparently someone found ways to workaround this issue:
https://github.com/kuba-moo/mt7601u/issues/64

** Bug watch added: github.com/kuba-moo/mt7601u/issues #64
   https://github.com/kuba-moo/mt7601u/issues/64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-07 Thread Thomas P.
Thanks for all your efforts.

$ uname -a
Linux video-box 4.13.0-17-generic #20~lp1716301+corequirks SMP Mon Nov 6 
04:37:44 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
$ dmesg > dmesg_4.13.0-17.20~lp1716301+corequirks.txt

** Attachment added: "dmesg_4.13.0-17.20~lp1716301+corequirks.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/5005678/+files/dmesg_4.13.0-17.20~lp1716301+corequirks.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-06 Thread Kai-Heng Feng
Please try kernel here, I added some quirks for the device,
http://people.canonical.com/~khfeng/lp1716301-corequirks/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-06 Thread Thomas P.
Bought the device some days ago. Had no chance to test earlier Ubuntu
releases.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-06 Thread Kai-Heng Feng
Forgot to ask an important question, did the device work on on earlier
Ubuntu Release, e.g. Precise & Trusty?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-03 Thread Thomas P.
$ cat /proc/cmdline 
BOOT_IMAGE=/boot/vmlinuz-4.14.0-041400rc7-generic 
root=UUID=7c46b69f-ad98-4f49-93ac-2e5a68fbd6dc ro quiet splash 
usbcore.autosuspend=-1 vt.handoff=7

seems this didn't change anything

** Attachment added: "kernel_4.14.0-041400rc7_dmesg_autosuspend_off.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/5003094/+files/kernel_4.14.0-041400rc7_dmesg_autosuspend_off.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-02 Thread Kai-Heng Feng
Try if kernel parameter "usbcore.autosuspend=-1" helps.

The reset after probing is fishy here,
[  308.512689] usb 1-1: reset high-speed USB device number 5 using xhci_hcd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-02 Thread Thomas P.
Luckily I could convince the owner of the system that testing this
kernel wouldn't do any harm.

** Attachment added: "kernel_4.14.0-041400rc7_dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/5002529/+files/kernel_4.14.0-041400rc7_dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-02 Thread Kai-Heng Feng
Yea I can see same error.

Can you try latest mainline kernel?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-11-01 Thread Thomas P.
Attached dmesg output from a USB 3.0 system with kernel 4.4.0.

** Attachment added: "kernel_4.4.0_dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/5001909/+files/kernel_4.4.0_dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-31 Thread Kai-Heng Feng
Both of you plugged mt7601u into EHCI (USB 2.0) port.

Can you try plugging it into an XHCI (USB 3.0) port?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-29 Thread Thomas P.
Tried kernel 4.13.10 to no avail. Seems my adapter is slightly
different. It does not show up as disk. Instead it is recognized as WLAN
device immediately. Error msg is also different. Pls see attached file
dmesg_kernel_4.13.10 and let me know if you need more information or
want my to test further.

** Attachment added: "dmesg_kernel_4.13.10"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4999561/+files/dmesg_kernel_4.13.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: usb-modeswitch-data (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-15 Thread chenzero
A log:mt7601-1.pcapng caputured by Wireshark on Windows.

the adpater is connected on Port 4.
USBPcapCMD.exe output:
//--
1 \\.\USBPcap1
  \??\USB#ROOT_HUB20#4&282dcf3f&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[Port 1] Generic USB Hub
  .
  [Port 4] TP-LINK Wireless USB Adapter
//--


** Attachment added: "mt7601-1.pcapng"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4972390/+files/mt7601-1.pcapng

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-14 Thread chenzero
I am not sure if mt7601u is GMS modem or not, however, I guess Yes, because 
it's the only device related to wireless on my computer

Thanks. I will try usbmon or Wireshark later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-14 Thread Kai-Heng Feng
BTW, is mt7601u also a GSM modem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-14 Thread Kai-Heng Feng
You can use usbmon and Wireshark.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-14 Thread chenzero
Sorry the late.
Test Result on the new kernel:
same vendor request failed -110

Please see the attached: 4.14-delay-modeswitch.txt

BTW, do you know any tool that can monitor the USB traffic? if have this
kind of tool, I can capture some log on Win10 to find where is the
problem.

Thanks!


** Attachment added: "4.14-delay-modeswitch.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4970857/+files/4.14-delay-modeswitch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-10 Thread Kai-Heng Feng
The device probably requires a delay between modeswitch, it's pure guesswork 
though. Please try kernel here:
http://people.canonical.com/~khfeng/lp1716301-delay-quirk/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-06 Thread Kai-Heng Feng
Okay, I think it'll be better to debug yourself, it's hard to debug
without physical hardware access.

Looks like probe failed in __mt7601u_dma_fw().
You probably need to print some debug information to find out at which point 
the function fails.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-06 Thread chenzero
forget to mention test result: 
same vendor request failed with -110 event long timeout

BTW, this looks like this is a bad adapter, however, I tried this adapter in 
Win10, it definitely can work.
In Windows, it must install dirver files from another company named Tplink, but 
from lsusb, its chip is from Ralink, whether the Tplink driver in Win10 might 
use some different vendor specific request ? I meant, Tplink driver uses some 
different request to implement some function, however, Tplink still uses Ralink 
USB id(146f:7601), so, if this, timeout (-110) will occur.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-06 Thread chenzero
I tried the timeout value: 1
Please see the attached: 4.14-long-timeout.txt
Thanks


** Attachment added: "4.14-long-timeout.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4963509/+files/4.14-long-timeout.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-06 Thread Kai-Heng Feng
Can you try values even larger? e.g. 3000, 1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-06 Thread chenzero
Test result on kernel 4.14
1. same vendor request failed with -110
2. I notice that the Wire network(yes, Wire network) is also not work on 4.14. 
on kernel 4.4.0-91 (the kernel my mostly used), it's work

Please see the attached 4.14.txt
Thanks!


** Attachment added: "4.14.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4963405/+files/4.14.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-05 Thread Kai-Heng Feng
You can use modprobe conf to do that:

$ sudo -s
# echo "options mt7601u timeout=1000" >> /etc/modprobe.d/mt7601u.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-05 Thread chenzero
Hi, I am not sure where to add this timeout ?
in the /etc/sysctl.conf, or in the /boot/grub/grub.cfg
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-03 Thread Kai-Heng Feng
Please use the kernel here:
http://people.canonical.com/~khfeng/lp1716301/

I add a timeout parameter for mt7601u. The default timeout is 300ms.

Now you can try something like "mt7601u.timeout=1000".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-02 Thread chenzero
I tried on kernel 4.13. that's,

add "mt7601u.dyndbg=+p" into grub.cfg, so the lines are :
menuentry {
 .
 linux   /boot/vmlinuz-4.13.0-041300-generic 
root=UUID=f4f53ad3-0e42-46e5-a9f2-679314bf74bf ro  quiet splash $vt_handoff 
mt7601u.dyndbg=+p
 initrd  /boot/initrd.img-4.13.0-041300-generic
}
reboot,

$ cat /proc/cmdline   // the output shows that param is add 
BOOT_IMAGE=/boot/vmlinuz-4.13.0-041300-generic 
root=UUID=f4f53ad3-0e42-46e5-a9f2-679314bf74bf ro quiet splash vt.handoff=7 
mt7601u.dyndbg=+p

It seems that no much differences in the dmesg log.
Please see the attached kernel-param.txt

BTW, I also tried to add "mt7601u.dyndbg=+p" in the /etc/sysctl.conf,
reboot, however, it seems this doesn't have effect because "sudo sysctl
-a|grep mt" doesn't show the parameter.

Regards

** Attachment added: "kernel-param.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4960564/+files/kernel-param.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-10-02 Thread Kai-Heng Feng
Can you add "mt7601u.dyndbg=+p" to your kernel parameter and attach
dmesg here? Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-28 Thread chenzero
I tried the Artful image.
on the Artful image, it doesn't need to change any settings, the adapter is 
automatically recognized as 148f:7601, however, the same vendor request -110 
error in the dmesg log.

Please see the attached artful-image.txt

Thanks!


** Attachment added: "artful-image.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4958084/+files/artful-image.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-28 Thread Kai-Heng Feng
http://cdimages.ubuntu.com/daily-live/current/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-27 Thread chenzero
What do you mean "Artful live image" ? 
do you mean boot computer with the latest release ISO ?
Ubuntu 17.04 ISO on the page: https://www.ubuntu.com/download/desktop

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-27 Thread Kai-Heng Feng
Weird. Can you try Artful live image?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-26 Thread chenzero
I just fell a little strange that is , why some info log in mt7801u is not 
printed, 
e.g: in 09-26.2.txt, no any log about mt7601u. however, in mt7801u code, it 
printed those info

[  127.095245] mt7601u 1-1.4:1.0: ASIC revision: 76010001 MAC revision: 76010500
[  127.146876] mt7601u 1-1.4:1.0: Firmware Version: 0.1.00 Build: 7640 Build 
time: 201302052146

and I sometimes still can see on kernel 4.13 or  4.4.0-91
  Vendor request failed with -110.   

what's the differences between replying on system to automatically switch mode 
and I manually eject the disk , or if I run command 
sudo usb_modeswitch -v 148f -p 2878 -V 148f -P 7601 -K 

Thanks !

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-26 Thread chenzero
I tried kernel 4.13. however, no much diff with kernel 4.4.0-91.
I must mention that in both kernel, no ALAWAYS the adapter is automatically 
recoginized as 148f:7601, sometimes, it still mounted as 148f:2878, sometimes, 
it's 7601. ( I found the pattern is: unplug the adapter, wait a relative long 
time, e.g: 1 or 2 minutes, plug the adapter, then it's 7601. if immediately 
plug in the adapter, say just wait 10 seconds, mostly, it's mounted as usb 
stroage disk and will not change to 7601).

I can use following command to switch mode, with errors, but mode
changed to 7601.

chenzero@chenzero:/usr/share/usb_modeswitch$ sudo usb_modeswitch -v 148f -p 
2878 -V 148f -P 7601 -K
Look for target devices ...
 No devices in target mode or class found
Look for default devices ...
   product ID matched
 Found devices in default mode (1)
Access device 016 on bus 001
Current configuration number is 1
Use interface number 0
Use endpoints 0x08 (out) and 0x84 (in)
Error: could not get description string "manufacturer"
Error: could not get description string "product"

USB description data (for identification)
-
Manufacturer: 
 Product: 
  Serial No.: not provided
-
Sending standard EJECT sequence
Looking for active driver ...
 OK, driver detached
Set up interface 0
Use endpoint 0x08 for message sending ...
Trying to send message 1 to endpoint 0x08 ...
 OK, message successfully sent
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x08 ...
 OK, message successfully sent
Read the response to message 2 (CSW) ...
 Response reading failed (error -1)
 Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!


Please see the attached 09-26.2.txt

Thanks!


** Attachment added: "09-26.2.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4957218/+files/09-26.2.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-26 Thread Kai-Heng Feng
Now please go back to comment #3 to test kernel itself (again).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-26 Thread chenzero
This time, the adapter is first recognized as 148f:7601.
and the dmesg output is some different. 

Although still can not find any interface by "ifconfig -a", and can not
select wifi in the "Network Manager", it's promosing to let the adapter
work, at least the GMS modem work now.

Please see the attached 17-09-26.txt

Thanks!


** Attachment added: "17-09-26.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4957126/+files/17-09-26.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-25 Thread Kai-Heng Feng
Okay, you also need to add more data to
/usr/share/usb_modeswitch/configPack.tar.gz.

$ cat 148f\:2878 
# RaLink MT7601U
TargetVendor=0x148f
TargetProduct=0x7601
StandardEject=1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-25 Thread chenzero
@Kai-Heng Feng, 
I guess adding that line in the /lib/udev/rules.d/40-usb_modeswitch.rules is 
to automatically switch the adpater to wireless card mode, however, after added 
that line, 
and tried restart service udev (sudo service udev restart), the adpater is 
still first mounted 
as usb storage disk (yes, lsusb only show 148f:2878, I must click an icon on 
the Launch Bar to eject the disk, and lsusb changed to 148f:7601.

I even tried the line:
 ATTR{idVendor}=="148f", ATTR{idProduct}=="2878", RUN+="usb_modeswitch '%b/%k'"
because most other lines in that file using %b/%k
however, both no have any change( still first mount as usb disk)

Thanks for your help!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-25 Thread Kai-Heng Feng
Add the following to /lib/udev/rules.d/40-usb_modeswitch.rules:

# RaLink MT7601U
ATTR{idVendor}=="148f", ATTR{idProduct}=="2878", RUN+="usb_modeswitch '/%k'"

And see if the wifi driver still failed to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-25 Thread Kai-Heng Feng
Ok, after some digging, the kernel mode modeswitch was deprecated long
time along.

The data for this dongle is added 20170120:

20170120:
Added devices: [03f0:032a] HP LaserJet Professional P1102w, [03f0:9d1d]
HP lt4120, [0586:2030] ZyXel WAH1004/WAH3004, [148f:2878] RaLink
MT7601U, [19d2:0033] ZTE MF636DB, [19d2:0090] ZTE MU330, [2001:00a7]
D-Link DWM-157 C1, [2001:a809] D-Link DWM-157 A1, [2001:ab00] D-Link
DWM-222, [22de:6802] WeTelecom WM-D200A
Corrected/appended configs: [1004:6190] LG AD600, [19d2:1595] ZTE MF710
(Vietnam), [22de:6803] WeTelecom WM-D300
(collected and compiled by Lars Melin)

** Also affects: usb-modeswitch-data (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-22 Thread chenzero
Yes, it's first mounted as a readonly USB disk, including driver files for 
Windows.
and lsusb shows:
Bus 003 Device 002: ID 148f:2878 Ralink Technology, Corp. 

after eject disk, it shows:
Bus 003 Device 003: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless 
Adapter

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-20 Thread Kai-Heng Feng
Does 148f:7601 only appear after the disk gets ejected?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-11 Thread chenzero
I bought this adapter just few days ago and did not have a system
upgrade in recently week.

I tried the 4.13 kernel, the dmesg output is almost same:
Vendor request failed with -110.
Please see the attached file: 4.13.txt

Thanks !


** Attachment added: "4.13.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+attachment/4948257/+files/4.13.txt

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1716301] Re: wifi driver: mt7601u not work on 16.04

2017-09-11 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.13 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716301

Title:
  wifi driver: mt7601u not work on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1716301/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs