As people say kernel 3.x driver for Realtek wifi-cards works worse than official one.
So I'll try to install it and see the difference.
Here is my PKGBUILD for Arch Linux. It's based on AUR package.
Here you'll find new driver (last from Realtek for kernel >= 2.6.35 official page) and some hack (thanks mhertz) to compile this driver.
# Maintainer: Techlive Zheng
# Contributor: Peter Bui
pkgname=rtl8192se
pkgdesc="Drivers for Realtek 8192SE wireless chipset"
pkgver=0003.0620.2011
pkgrel=5
license=("GPL")
depends=('linux>=3.0.0')
makedepends=('linux>=3.0.0')
install="${pkgname}.install"
source=("ftp://WebUser:r3iZ6vJI@95.130.192.218/cn/wlan/92ce_se_de_linux_mac80211_${pkgver}.tar.gz")
md5sums=('f6d488ef52ba284b859989de58d85839')
changelog=Changelog
arch=('i686' 'x86_64')
url="http://www.realtek.com.tw/"
build() {
cd ${srcdir}/rtl_92ce_92se_92de_linux_mac80211_${pkgver}
sed -i 's|RX_FLAG_TSFT|RX_FLAG_MACTIME_MPDU|g' base.c rtl8192{ce,se,de}/trx.c
make || return 1
}
package(){
cd ${srcdir}/rtl_92ce_92se_92de_linux_mac80211_${pkgver}
FW="${pkgdir}/lib/firmware"
DEST="${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireles/rtlwifi"
mkdir -p $FW/rtl8192{se,ce,de}
mkdir -p $DEST/rtl8192{se,ce,de}
#make FIRMWAREDIR=$FW MODDESTDIR=$DEST install
install -p -m 644 rtlwifi.ko $DEST
install -p -m 644 ./rtl8192se/rtl8192se.ko $DEST/rtl8192se
install -p -m 644 ./rtl8192ce/rtl8192ce.ko $DEST/rtl8192ce
install -p -m 644 ./rtl8192de/rtl8192de.ko $DEST/rtl8192de
cp -fr firmware/rtlwifi/ $FW/.
}
Комментариев нет :
Отправить комментарий