Remove README file. Add driver version. Add md5sums.

This commit is contained in:
Leo Neumeyer 2013-08-17 16:18:31 -07:00
parent c60b5bad2c
commit 1afab73e4f
4 changed files with 10 additions and 42 deletions

View file

@ -1,5 +1,5 @@
pkgname=dkms-mt7601
pkgver=v0.0.0
pkgver=v3.0.0.3
pkgrel=1
pkgdesc="Driver for Ralink MT7601 chipset wireless adaptors"
arch=('arm')
@ -13,8 +13,8 @@ _pkgname="mt7601"
source=("https://googledrive.com/host/0B_JlgOR4VNe0Sjg4ei0ySEY4aUE/DPA_MT7601U_LinuxSTA_3.0.0.3_20130717_LS.tar.bz2"
"dkms.conf")
md5sums=( 'SKIP'
'SKIP')
md5sums=('7597450f4374ecaa5798a8f60c956911'
'230952e09ff23d9725fc329a2e9522e3')
package() {

View file

@ -1,37 +0,0 @@
This is an Arch Linux dkms package for the wifi chipset Ralink7601 (MT7601)
I bought a wifi USB dongle from Logic Supply, they provide instructions for
buildign the driver:
http://www.logicsupply.com/products/uwn100
https://docs.google.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit
I tested on the BeagelBone Black SBC.
$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 660.76
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : Generic AM33XX (Flattened Device Tree)
$ uname -a
Linux bbb_001 3.8.13-8-ARCH #1 SMP Sun Aug 11 02:59:32 CDT 2013 armv7l GNU/Linux
#Create the package:
makepkg -A --asroot -f
#Install
pacman -Uv dkms-mt7601-v0.0.0-1-armv7h.pkg.tar.xz
NOTES:
* I was able to get the module to get loaded adn bring up the network over wifi.
* The build package probably needs improvement from someone who knows more than I.

View file

@ -1,7 +1,7 @@
post_install (){
MODULE="mt7601"
VERSION="v0.0.0"
VERSION="v3.0.0.3"
DKMS=$(which dkms)
MODPROBE=$(which modprobe)
CP=$(which cp)
@ -44,6 +44,11 @@ pre_remove (){
version=$(echo "$_line" | sed 's/mt7601,\([^,]*\)[,:].*/\1/;t;d')
$DKMS remove -m mt7601 -v $version --all
fi
RM=$(which rm)
RMDIR=$(which rmdir)
$RM -rf /etc/Wireless/RT2870STA
$RMDIR --ignore-fail-on-non-empty /etc/Wireless
}
post_remove () {

View file

@ -1,5 +1,5 @@
PACKAGE_NAME="mt7601"
PACKAGE_VERSION="v0.0.0"
PACKAGE_VERSION="v3.0.0.3"
AUTOINSTALL="yes"