You are not logged in.

#1 2012-01-26 15:30:20

swiftdemise
Member
Registered: 2010-04-12
Posts: 17

Third-party drivers with kernel updates

I am using a third-party driver for my wireless card because the driver that comes with the kernel doesn't work too well. The problem is that whenever I update the kernel, the driver does not get included... it sits in the old kernel directory. Is there a way to have mkinitcpio grab drivers from an external folder location? Currently after every update, I have to make a symbolic link to the drivers and then run depmod -a, which is getting old.

I appreciate any help. Thanks!

Offline

#2 2012-01-26 21:36:01

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Third-party drivers with kernel updates

what third party driver? i dont think there is a provision to have the driver automatically built.

you are supposed to build the driver against the new kernel headers every time. not just symlink the .ko file in the new kernel modules directory. if its a binary blob. you might run into problems later on.

how did you get this  .ko module in the first place?

Offline

#3 2012-01-26 21:38:54

swiftdemise
Member
Registered: 2010-04-12
Posts: 17

Re: Third-party drivers with kernel updates

That's a pain! tongue

I'm using https://aur.archlinux.org/packages.php?ID=14558 because the default drivers because my wifi to cut out.

Offline

#4 2012-01-26 22:03:47

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Third-party drivers with kernel updates

that is ugly indeed. you are doing one of the things frown upon. (use a kernel module built by someone else blindly).

you should download a build the drivers from source instead.

at the least, just rebuild the package from aur which would install it in your new kernel.

Last edited by eldragon (2012-01-26 22:06:01)

Offline

#5 2012-01-26 22:06:56

swiftdemise
Member
Registered: 2010-04-12
Posts: 17

Re: Third-party drivers with kernel updates

I guess I'll write a little bash script to automate the process then... not ideal, but thanks for your time!

Offline

Board footer

Powered by FluxBB