WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WiFi Dongle  (Read 8677 times)

Offline onelife

  • Full Member
  • ***
  • Posts: 141
WiFi Dongle
« on: August 18, 2015, 06:50:38 AM »
Greetings all,

Hoping I can pick someone's brain and see what firmware or tcz's I need to get a new wifi dongle working.

When I look at my dmesg I see :

Code: [Select]
2.908957] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.020040] usb 1-1.2: New USB device found, idVendor=148f, idProduct=7601
[    3.020064] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.020076] usb 1-1.2: Product: 802.11 n WLAN
[    3.020086] usb 1-1.2: Manufacturer: MediaTek
[    3.020099] usb 1-1.2: SerialNumber: 1.0

When I do a lsusb I see :

Code: [Select]
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
The interesting part is the lsusb shows as Ralink BUT yet the dmesg shows as MediaTek.

I already have the ralink firmware installed but doing an "ifconfig -a" is not finding the adapter.

Any ideas on how I modprobe or other to get the new USB wifi dongle working?

BIG thanks on any ideas or suggestions.

Thanks

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: WiFi Dongle
« Reply #1 on: August 18, 2015, 07:11:03 AM »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: WiFi Dongle
« Reply #2 on: August 18, 2015, 03:13:49 PM »
Hi onelife,

  I've just been playing with one of these WiFi dongles with the same USB ID.

  The git repo I used for piCore 6.1 was https://github.com/porjo/mt7601, as the kuba-moo repo requires a kernel 3.19 or greater.

  I've created a kernel module that works, compiled against the 3.18.10_v7 kernel, and built an extension for it which I can post if you would like it.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: WiFi Dongle
« Reply #3 on: August 18, 2015, 06:35:20 PM »
piCore-7.0alpha1 is built on 4.1.4 kernel.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: WiFi Dongle
« Reply #4 on: August 18, 2015, 09:00:37 PM »
Hi
It seems like work has been done for supporting this in the official kernel:
https://github.com/raspberrypi/linux/issues/1090

Regards
Steen

Offline onelife

  • Full Member
  • ***
  • Posts: 141
Re: WiFi Dongle
« Reply #5 on: August 19, 2015, 03:39:32 AM »
Awesome - So at least I can see it's possible to get it working BUT wondering if I need to wait for the TC kernel to be updated? At the moment I'm on :

Linux snb 3.12.36-piCore+ #1 PREEMPT Mon Jan 19 22:46:45 CET 2015 armv6l GNU/Linux

So assume with the lower kernel version I'll need to build the driver and make it a tcz?

Sorry for sounding stupid, just want to make sure I'm doing the right thing and not just missing something easy.

Unless as mentioned perhaps I can get a tcz from version 7alpha that will work with 6.X?

Thanks
« Last Edit: August 19, 2015, 03:41:20 AM by onelife »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: WiFi Dongle
« Reply #6 on: August 19, 2015, 04:16:24 AM »
It is written that driver is part of the 4.2 kernel. For lower versions you need to build it. piCore 7.x is on 4.1 at the moment.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: WiFi Dongle
« Reply #7 on: August 19, 2015, 07:37:10 AM »
It is written that driver is part of the 4.2 kernel. For lower versions you need to build it. piCore 7.x is on 4.1 at the moment.

Hi Bela.

Actually the driver is included in kernel 4.1.y (as also written in the last comment and the comment by clivem six days ago.
So maybe it is already in the version you are using?


Regards
Steen

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: WiFi Dongle
« Reply #8 on: August 19, 2015, 09:35:44 AM »
I advice everyone to try 7.0. :)

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: WiFi Dongle
« Reply #9 on: August 20, 2015, 02:53:01 PM »
MT7601u support not in 4.1.4, added in 4.1.5 although unset, if my reading of the issues is correct.

Béla, any chance you can put the kernel source, .config etc for 4.1.4 on the server so I can build a Kernel module for it please, unless we're moving to 4.1.5+ in the next alpha/beta ;)

Cheers

  Jon

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: WiFi Dongle
« Reply #10 on: August 27, 2015, 09:47:40 AM »
Mediatek module is already in 4.1.6 kernel. Look for piCore-7.0alpha3 version in the next week or so.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: WiFi Dongle
« Reply #11 on: August 27, 2015, 04:46:11 PM »
Hi Belá

We probably need to include the firmware as well:

From this thread: https://github.com/raspberrypi/linux/issues/1090

Code: [Select]
clivem commented 14 days ago
Just a quick note.... The firmware I have been using is obtained from downloading the vendor (MediaTek) driver from http://www.mediatek.com/en/downloads1/downloads/mt7601u-usb/
Extract the archive and ....
cp DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/mcu/bin/MT7601.bin /lib/firmware/mt7601u.bin


So I think we need the mt7601u.bin as well. Should it go into the Ralink_firmware tcz package?

Regards
Steen

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: WiFi Dongle
« Reply #12 on: September 02, 2015, 03:09:26 AM »
Has anyone confirmed a MT7601 chipset wifi dongle working with piCore v7.0alpha3?

Thanks Belá for piCore v7.0alpha3, works very nicely.

regards
Greg

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: WiFi Dongle
« Reply #13 on: September 02, 2015, 04:01:40 PM »
I can confirm that MT7601 chipset wifi dongles work with piCore v7.0alpha3, providing the firmware as mentioned above is provided.

Cheers

  Jon

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: WiFi Dongle
« Reply #14 on: September 02, 2015, 06:18:20 PM »
Thanks Jon.