alex-gus a écrit :J'en sais rien du tout.
Tu ne sais pas quel est le problème et tu espères que ça résolve... Mouais...
En tous cas, voilà le
PKGBUILD, à priori:
Code : Tout sélectionner
pkgname=('ath5k-calibration')
pkgver=3.3.0
pkgrel=1
pkgdesc="ath5k kernel module patched to correct some trouble about calibration."
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('linux-headers' 'linux')
options=('!strip')
install=ath5k.install
source=(
'http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.3.tar.xz'
'base.c.patch::http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff_plain;h=62e2c102cc1d2600381410c089ca9a37359577d2'
'phy.c.patch::http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff_plain;h=5c17ddc4a047c59638c7eb8537aa887a1ddb9b0b'
)
md5sums=('7133f5a2086a7d7ef97abac610c094f5'
'5008eaf2bb0fb4fddf1aff85a019d043'
'cc54a459c16053df9864da20c033fab4')
mod_dir=/lib/modules/`uname -r`/updates/drivers/net/wireless/ath/ath5k
build() {
cd ${srcdir}/linux-3.3
patch -Np1 -i ${srcdir}/base.c.patch
patch -Np1 -i ${srcdir}/phy.c.patch
cd drivers/net/wireless/ath/ath5k
make -C /usr/src/linux-`uname -r`/ M=`pwd`
gzip -9 ath5k.ko
}
package() {
cd ${pkgdir}
mkdir -p ${pkgdir}/${mod_dir}
install -D -m 0644 ${srcdir}/linux-3.3/drivers/net/wireless/ath/ath5k/ath5k.ko.gz ${pkgdir}/${mod_dir}/ath5k.ko.gz
}
Et le
ath5k.install:
Code : Tout sélectionner
post_install() {
echo " > Running depmod now..."
depmod -a
echo " > Reloading ath5k module..."
echo " Please note that you may REBOOT your system to get it works!"
modprobe -r ath5k
modprobe ath5k
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
Ça se patche et ça compile... À toi de voir si ça résoud ton problème inconnu...
Je ne le mets pas sur Aur dans la mesure où les patchs figurant dans la branche stable il est probable qu'ils fassent leurs apparitions sur des prochaines mises de noyau (pas avant la 3.4 il semble).
Il te faut installer base-devel si ce n'est déjà fait, récupérer le PKGBUILD et le .install, les mettre dans un répertoire puis lancer
makepkg -si
(ça te donnera un paquet installé dans la foulée).
