[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Acer travelmate acerhk.0.5.28 hotkey problem



Martin Vlk wrote:

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.

Thanx a lot i like to trie this on monday morning and give you a responce

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?
Oh, this is easier. I know this, i have a fine disscription from http://www.duskzone.it/works/linux/c300howto/debianLinux_on_acer_travelmateC300.php

Hope this helps.
vlcak


regards
daniel



Reply to: