Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: onelife 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 :
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 :
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
-
It may help:
https://github.com/kuba-moo/mt7601u
-
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.
-
piCore-7.0alpha1 is built on 4.1.4 kernel.
-
Hi
It seems like work has been done for supporting this in the official kernel:
https://github.com/raspberrypi/linux/issues/1090
Regards
Steen
-
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
-
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.
-
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
-
I advice everyone to try 7.0. :)
-
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
-
Mediatek module is already in 4.1.6 kernel. Look for piCore-7.0alpha3 version in the next week or so.
-
Hi Belá
We probably need to include the firmware as well:
From this thread: https://github.com/raspberrypi/linux/issues/1090
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
-
Has anyone confirmed a MT7601 chipset wifi dongle working with piCore v7.0alpha3?
Thanks Belá for piCore v7.0alpha3, works very nicely.
regards
Greg
-
I can confirm that MT7601 chipset wifi dongles work with piCore v7.0alpha3, providing the firmware as mentioned above is provided.
Cheers
Jon
-
Thanks Jon.
-
firmware-ralinkwifi.tcz updated by sbp with MT7601 firmware and added to repo.
Thanks Steen!