You are not logged in.
I have atmel drivers for some wireless pcmcia cards. I hear they work with belkin. Sorry guys, 2.6.x kernels only. I had to patch the Makefile to get it to work, I don't feel like doing that for 2.4.x. If you really want a 2.4.x, your more than welcome to port it yourself :twisted: Here's the files...
PKGBUILD:
pkgname=atmelwlandriver
pkgver=3.3.5.6
pkgrel=1
pkgdesc="Drivers for many Atmel based pcmcia and pci wireless devices (Kernel 2.6.x)"
url="http://atmelwlandriver.sourceforge.net"
license=""
depends=(wxgtk)
makedepends=()
conflicts=()
replaces=()
backup=()
install=atmelwlandriver.install
source=(http://voxel.dl.sourceforge.net/sourceforge/atmelwlandriver/$pkgname-$pkgver.tar.bz2 makepatch)
md5sums=(dd9a11d175ba0fbb62cf7fec5426f5de)
kernelversion=$(uname -r)
build() {
cd $startdir/src/
patch atmelwlandriver/Makefile.kernelv2.6 < ./makepatch
cd $pkgname
mkdir -p ../../pkg/lib/modules/$kernelversion/kernel/drivers/net/pcmcia
mkdir ../../pkg/lib/modules/$kernelversion/kernel/drivers/usb
mkdir ../../pkg/bin
mkdir -p ../../pkg/usr/X11R6/bin
make pcmcia buildonly=release
make pci buildonly=release
#The USB drivers are broken. To try to compile them, uncomment the next line.
#make usb buildonly=release
make lvnet
make winter
make DESTDIR=$startdir/pkg/ install
}
atmelwlandriver.install:
# arg 1: the new package version
post_install() {
depmod -ae
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
depmod -ae
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
makepatch:
--- Makefile.kernelv2.6.old 2004-06-23 11:42:18.000000000 -0400
+++ Makefile.kernelv2.6.new 2004-06-23 11:41:27.000000000 -0400
@@ -10,12 +10,12 @@
tmpDES:=$(tmpDIR)/atmelwlandriver
LVNET = $(shell pwd)/src/apps/cmd_line
WINTER = $(shell pwd)/src/apps/winter
-
+DESTDIR = /
KERNEL_VERSION:=$(shell uname -r)
KERNEL_SOURCE:=/usr/src/linux-$(KERNEL_VERSION)
-PCMCIA_DES = /lib/modules/$(KERNEL_VERSION)/pcmcia
-PCI_DES = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/net
-USB_DES = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb
+PCMCIA_DES = $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/net/pcmcia
+PCI_DES = $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/net
+USB_DES = $(DESTDIR)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb
CCFLAGS := -DATMEL_WLAN
@@ -160,11 +160,10 @@
@if (ls $(OBJDIR)/pcm*/release/pcm*.ko >/dev/null 2>&1); then echo -e "Installing release pcmcia modules"; install -m 644 $(OBJDIR)/pcm*/release/pcm*.ko $(PCMCIA_DES); fi
@if (ls $(OBJDIR)/pci*/release/pcif*.ko >/dev/null 2>&1); then echo -e "Installing release pcmcia modules"; install -m 644 $(OBJDIR)/pci*/release/pci*.ko $(PCI_DES); fi
@if (ls $(OBJDIR)/usb*/release/usb*.ko >/dev/null 2>&1); then echo -e "Installing release pcmcia modules"; install -m 644 objs/usb*/release/usb*.ko $(USB_DES); fi
- @if [ -f $(OBJDIR)/lvnet ]; then echo -e "Installing lvnet"; install -m 755 $(OBJDIR)/lvnet /bin/; fi
- @if [ -f $(OBJDIR)/winter ]; then echo -e "Installing winter"; install -m 755 $(OBJDIR)/winter /usr/X11R6/bin/; fi
- @if [ -f $(SCRIPTSDIR)/fastvnet.sh ]; then install -m 755 $(SCRIPTSDIR)/fastvnet.sh /bin/; fi
- @bash $(SCRIPTSDIR)/append.sh
- @depmod -ae
+ @if [ -f $(OBJDIR)/lvnet ]; then echo -e "Installing lvnet"; install -m 755 $(OBJDIR)/lvnet $(DESTDIR)/bin/; fi
+ @if [ -f $(OBJDIR)/winter ]; then echo -e "Installing winter"; install -m 755 $(OBJDIR)/winter $(DESTDIR)/usr/X11R6/bin/; fi
+ @if [ -f $(SCRIPTSDIR)/fastvnet.sh ]; then install -m 755 $(SCRIPTSDIR)/fastvnet.sh $(DESTDIR)/bin/; fi
+ #@bash $(SCRIPTSDIR)/append.sh
@echo OK
else
# @echo -ne "33[0;31m"
Ahh, that took about an entire afternoon :twisted: enjoy!
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
EDIT: This package now supports PCMCIA and PCI devices. USB is broken.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline