Skip to content

Commit

Permalink
New fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Apr 2, 2015
0 parents commit 027ae96
Show file tree
Hide file tree
Showing 57 changed files with 50,458 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.PHONY: all clean install uninstall

KDIR ?= /lib/modules/`uname -r`/build
DST_DIR ?= /lib/modules/`uname -r`/kernel/drivers/net/wireless/

all:
$(MAKE) -C $(KDIR) M=$(CURDIR)/rt2x00 modules
$(MAKE) -C $(KDIR) M=$(CURDIR)/btloader modules

clean:
$(MAKE) -C $(KDIR) M=$(CURDIR)/rt2x00 clean
$(MAKE) -C $(KDIR) M=$(CURDIR)/btloader clean

install:
cp -v firmware/*/* /lib/firmware/
cp rt2x00/mt7630e.ko $(DST_DIR)
cp btloader/mt76xx.ko $(DST_DIR)
depmod

uninstall:
rm -vf /lib/firmware/mt76x0.bin /lib/firmware/MT7650E234.bin
rm -vf $(DST_DIR)/mt7630e.ko
rm -vf $(DST_DIR)/mt76xx.ko
depmod
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
MT7630E
=======
Easy installation package for the official driver at http://www.mediatek.com/en/downloads/mt7630-pcie/


***************************************************************************************************************************
Mediatek MT7630E Combo Linux Driver User Guide
***************************************************************************************************************************

1. Component
------------

* rt2x00: Wi-Fi driver source code
* btloader: Bluetooth firmware loader source code
* firmware: Firmware binary code (MT7650E234.bin is for Wi-Fi, mt76x0.bin is for Bluetooth)


2. Installation
----------------

First give some file execution permission:

chmod +x install test uninstall
Now to install it, run:

./install
To test it without installing, run:

./test
To uninstall, run:

./uninstall


The driver will automatically load at startup....

Source:
-------

This copy of driver was taken from https://github.com/kuba-moo/mt7630e

Webpage:
--------
http://mdjahidulhamid.github.io/MT7630E/
8 changes: 8 additions & 0 deletions btloader/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
obj-m := mt76xx.o

KDIR ?= /lib/modules/`uname -r`/build

all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean
Loading

0 comments on commit 027ae96

Please sign in to comment.