I don't know but this is the worst package in AUR. /home couldn't be mounted for some reason with this package installed. Also PC crashes after 10sec of downloading something through the dongle.
Search Criteria
Package Details: dkms-mt7601u-latest v3.0.0.4-5
Package Actions
| Package Base: | dkms-mt7601u-latest |
|---|---|
| Description: | Driver for Ralink MT7601U chipset wireless adaptors |
| Upstream URL: | http://www.ralinktech.com |
| Category: | kernels |
| Licenses: | |
| Submitter: | Chipsterjulien |
| Maintainer: | Chipsterjulien |
| Last Packager: | Chipsterjulien |
| Votes: | 5 |
| First Submitted: | 2014-06-27 09:52 |
| Last Updated: | 2015-02-12 15:40 |
Dependencies (2)
Required by (0)
Sources
Latest Comments
Comment by eimis
Comment by jpike
It'd be great to add a patch to stop this driver logging so much. It spams the kernel ring buffer to death and makes it impossible to use console.
Comment by Chipsterjulien
I tried all possible solutions but only one work so I returned to the starting solution. I commented the other drivers and simply edit the PKGBUILD before compilation if needed. If you find a solution, please let me share.
I even added a part to uninstall the module before compiling
Comment by Chipsterjulien
I try to find an issue but installing take long time on RPi
Comment by asdfaoeu
Had same problem as koyal13 got it to manually compile by setting LINUX_SRC in the Makefile. It seems to try to set it from LINUX_DIR but that appears not to be set.
Comment by Chipsterjulien
I'm back and i try to find a solution
Comment by koyal13
I'm having problems to install this dkms driver on Raspberry Pi 1 (armv6h), I'm getting all time bad exit status 2. Here is the output of module build:
Building module:
cleaning build area......(bad exit status: 2)
make KERNELRELEASE=3.18.6-1-ARCH....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.18.6-1-ARCH (armv6l)
Consult /var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/make.log for more information.
modprobe: WARNING: Module mt7601Usta not found.
All the output error is in Pastebin with make.log file too. Please, fix it when you will get some of free time ;)
http://pastebin.com/HAiuQPjd
Comment by eimis
Even after removing patch #3 as per @nous recommendation it still doesn't work for me. So currently using v3.0.0.4-2 at the moment. Works fine with both Rpi and x64. Using 148f 7601 dongle by the way. I just change pkgrel=2 to 3 so that it gets updated straight into 4 instead of into the broken 3.
v3.0.0.4-2 PKGBUILD:
http://pastebin.com/22VpetRn
Comment by Chipsterjulien
I look as soon as possible because I have a lot of work
Comment by nous
I'm getting and error compiling this:
[...]
make -C SUBDIRS=/var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/os/linux modules
make[1]: *** SUBDIRS=/var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/os/linux: No such file or directory. Stop.
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
However, /var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/os/linux does exist. Disabling patch 003 fixes the issue.
I also second @eimis' request for adding 760b ID. I use a PKGBUILD with and additional sed for this, as last line in build():
sed -i '/0x7601/a \\t{USB_DEVICE\(0x148f,0x760b\)}, \/* 360 WIFI *\/' common/rtusb_dev_id.c
Comment by Chipsterjulien
I try to contact each other but i have not had a reply
I update with all patch
Comment by nous
All packages below provide the same module; please contact each other and consider merging:
https://aur.archlinux.org/packages/dkms-mt7601/
https://aur.archlinux.org/packages/dkms-mt7601u/
https://aur.archlinux.org/packages/dkms-mt7601u-latest/
Comment by nous
Please, include the patch from https://github.com/porjo/mt7601.
Comment by eimis
Hey!
Here's how to make 148f:760b Ralink USB WiFi adapter work:
add "{USB_DEVICE(0x148f,0x760b)}" to
/var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/common/rtusb_dev_id.c
# cd /var/lib/dkms/dkms-mt7601u-latest/v3.0.0.4/build/
# make && make install
# dkms uninstall dkms-mt7601u-latest/v3.0.0.4 -k $(uname -r)
# dkms install --force dkms-mt7601u-latest/v3.0.0.4 -k $(uname -r)
Comment by Chipsterjulien
Have you install linux-raspberrypi-headers ?
Comment by charloalberto
tried to install it on a raspberry pi, it gave me the following error during package install (pacman -U):
Error! echo
Your kernel headers for kernel 3.12.24-1-ARCH cannot be found at
/usr/lib/modules/3.12.24-1-ARCH/build or /usr/lib/modules/3.12.24-1-ARCH/source.
Error! echo
Your kernel headers for kernel 3.12.24-1-ARCH cannot be found at
/usr/lib/modules/3.12.24-1-ARCH/build or /usr/lib/modules/3.12.24-1-ARCH/source.
modprobe: WARNING: Module mt7601Usta not found.
error: command failed to execute correctly
Comment by queenmedley
thanks. It works well.
I didn;t know some patch needed.