You are not logged in.
Hello all,
I'm using a USB Wifi Adapter which has very bad support : D-Link DWA160 B2
I have followed the instruction from this excellent guide to add the driver sources to DKMS, to get it compiled automatically after all kernel update:
http://bernaerts.dyndns.org/linux/229-u … er-to-dkms
Unfortunatly the 2 last kernel upgrade did not trigger the driver compile.
There is no DKMS logs, and everything seems to be well configured.
My DKMS conf file:
/root/driver-dkms
[root@purelight driver-dkms]# more dkms.conf
MAKE="make KERNELDIR=/lib/modules/${kernelver}/build"
CLEAN="make clean"
BUILT_MODULE_NAME=rt5572sta
BUILT_MODULE_LOCATION=os/linux/
DEST_MODULE_LOCATION=/kernel/drivers/net/wireless/
PACKAGE_NAME=rt5572sta
PACKAGE_VERSION=2.601
REMAKE_INITRD=no[root@purelight 2.601]# pwd
/var/lib/dkms/rt5572sta/2.601
[root@purelight 2.601]# ls -lsa
total 24
4 drwxr-xr-x 6 root root 4096 Oct 17 20:54 .
4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 ..
4 drwxr-xr-x 3 root root 4096 Oct 6 20:44 3.5.4-1-ARCH
4 drwxr-xr-x 3 root root 4096 Oct 9 20:43 3.5.6-1-ARCH
4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 3.6.2-1-ARCH
4 drwxr-xr-x 11 root root 4096 Oct 17 20:54 build
0 lrwxrwxrwx 1 root root 24 Oct 6 20:42 source -> /usr/src/rt5572sta-2.601
[root@purelight 2.601]# dkms build -m rt5572sta -v 2.601
Module rt5572sta/2.601 already built for kernel 3.6.2-1-ARCH/4 It seems that there is nothing relevant in the logs:
[root@purelight log]# grep dkms /var/log/*
auth.log:Oct 17 20:52:53 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms build -m rt5572sta -v 2.601
auth.log:Oct 17 20:54:14 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms install -m rt5572sta -v 2.601
pacman.log:[2012-10-06 20:42] Running 'pacman -S dkms'
pacman.log:[2012-10-06 20:42] installed dkms (2.2.0.3-12)Any help would be nice, thanks!
広島のお好み焼きおたくです
Offline
I have no experience using DKMS under Arch but I doubt there is any automatism triggering rebuilds on kernel updates. You probably have to tell DKMS to rebuild your modules manually.
Offline
Are you using systemd? If so, you might have to reboot twice. The catalyst-dkms package (video driver for amd cards) in [community] currently has the same problems. I'd suggest for you to read the last few pages in that thread to see background information:
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Hi, I've been having some issues with dkms-bbswitch not being recompiled at new kernel install.
Please take a look at this thread, might shed a light, or even an answer!
Offline
Thanks guys, I'll have a look at all your advices and update this thread.
広島のお好み焼きおたくです
Offline
I have updated the wiki at https://wiki.archlinux.org/index.php/Dy … le_Support
Offline
Are you using systemd? If so, you might have to reboot twice. The catalyst-dkms package (video driver for amd cards) in [community] currently has the same problems. I'd suggest for you to read the last few pages in that thread to see background information:
Yes I do use systemd. Since I'm using a quite recent installation, it was included by default.
At the next kernel upgrade I'll try this trick of reboot twice, and see if it works.
Cheers!
広島のお好み焼きおたくです
Offline
I have updated the wiki at https://wiki.archlinux.org/index.php/Dy … le_Support
Thanks Lekensteyn!
I'll try the new tricks ;-)
Last edited by Syl (2012-10-21 16:49:52)
広島のお好み焼きおたくです
Offline
Ok, so I tested the following during the upgrade of my kernel (from version 3.6.2-1 to 3.6.3-1).
Before I launche the upgrade, I enabled the dkms service, just to be sure that it is up:
# systemctl enable dkms.serviceRight after I launched:
# dkms autoinstallBut nothing happened.
So I rebooted twice.
Nothing changed ...
So I had to re-compile the driver by hand.
Curisouly the logs do not show anything related to DKMS.
Thanks for your advices.
広島のお好み焼きおたくです
Offline
@Syl updated wiki, try appending "-k NEW_KERNEL_VER" where NEW_KERNEL_VER is something like 3.6.3-1-ARCH.
Last edited by Lekensteyn (2012-10-26 13:36:30)
Offline
@Syl updated wiki, try appending "-k NEW_KERNEL_VER" where NEW_KERNEL_VER is something like 3.6.3-1-ARCH.
Thanks Lekensteyn!
Will try it asap.
広島のお好み焼きおたくです
Offline
Ok, tried with the lastest kernel update (3.6.5-1), with the "-k NEW_KERNEL_VER" but nothing happen.
Nothing in the logs either.
Nothing visible or obvious.
広島のお好み焼きおたくです
Offline