You are not logged in.

#1 2005-02-09 15:00:57

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Question about Kernel Drivers.

I've thought on making a small PKGBUILD for AcerHK (acer HotKey driver, actually i need this to get my extra-keys working on my NoteBook).

Is there any commmon way or posibility to provide a kerneldriver for more than one architecture. I mean - it of course compiles for every kernel, but i'd need to do an install script copying it to /lib/modules/uname -r/extra. But that would also copy a driver NOT built for the kernel version.

How's the "arch" way of it?

// STi


Ability is nothing without opportunity.

Offline

#2 2005-02-09 15:38:20

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Question about Kernel Drivers.

Assuming that you make your package for the default Arch kernel(s) then it's just a matter of using proper minimum version dependencies in the pkgbuild, and hardcode the /lib/modules/* dir because that depends on your driver and not on the currently running kernel.

You'd probably make multiple version of your package in the same way as there are multiple versions ofr Linux kernels now. So different ones for the 2.4 and 2.6 kernels, and with or without scsi (same for -mm etc).

Offline

Board footer

Powered by FluxBB