You are not logged in.

#1 2008-06-04 15:07:47

Kane
Member
Registered: 2006-10-08
Posts: 220

Insert a module

Hi,
I use a custom kernel with only the hardware i use compiled in. However i've now got an ATI remote that i want to use.
It works fine with the default arch kernel, but i think i need the ati_remote module.

Is there anyway to install the module without having to recompile my custom kernel?
e.g. can i just copy it from /lib/modules/2.6.25-ARCH/kernel/drivers/input/misc/ati_remote.ko to my new kernel module dir?

Thanks

Offline

#2 2008-06-04 15:26:26

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Insert a module

Copying over is not a good idea. You should recompile the driver against the new kernel (not the whole kernel, just that driver). If ati_remote came installed via pacman, just have a look at various PKGBUILDs in AUR, which compile drivers against custom kernels - and then modify ati_remote's PKGBUILD accordingly. Or you can compile it manually.

EDIT:  sorry, it seems that ati_remote comes with the standard kernel - which means that you need to turn on the correct kernel option. Maybe you already have it compiled in. If you forgot to compile it in (or as a module), then yes: you need to recompile the kernel.

Last edited by bender02 (2008-06-04 15:28:39)

Offline

#3 2008-06-04 15:39:42

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: Insert a module

i dont have it compiled in with my custom kernel, that is the problem.

I know i can fix it recompiling the kernel, i just wondered if there was a quicker way

Thanks anyway

Offline

#4 2008-06-04 16:40:48

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Insert a module

I don't think there's a quicker way.

Anyway, if you didn't delete the kernel sources together with what was compiled, a small change in .config causes only recompiling that one module, not the whole thing.

Offline

#5 2008-06-04 17:38:33

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: Insert a module

ah ok, well ive done it and its working now, if id have known that last part when i was stripping my kernel it would have made things alot quicker lol.

Thanks again smile

Offline

Board footer

Powered by FluxBB