Re: Acer travelmate acerhk.0.5.28 hotkey problem
I have compiled the kernel module and the extra keys now generate X events (as
shown by xev). So the driver itself works fine.
How to compile the acerhk module and create deb package
I assume you have a configured Linux kernel source in the <kernel-source>
directory and you have installed the module-assistant package.
- Add the following to your /etc/apt/sources.list
deb http://kanotix.com/files/debian/ unstable main contrib non-free
- Install the "acerhk-source" pacage. The source installs
in "/usr/src/acerhk.tar.bz2"
- Unpack the archive somewhere in your home dir. (e.g. <modules-dir>)
- $ export MODULE_LOC=<modules-dir>
- $ cd <kernel-source>
- $ fakeroot make-kpkg modules (This creates a .deb package in the parent
directory of <kernel-source>
- Install the package: $ dpkg -i <newly-created-deb>
- Load the module: $ modprobe acerhk
- You also want to include it in the "/etc/modules" file so it loads
automatically on boot.
Now the second part of the problem is how to assign the keyboard events to
some actions. I haven't dne that before - can anyone help?
Hope this helps.
vlcak
Reply to: