Sleep Quirk Debugger |
Back to the main keymap page
To download the latest hal-info code, just do:
git clone git://git.freedesktop.org/git/hal-info
If you get the error bash: git: command not found
you need to install the git source control system.
You can do this doing:
[user@localhost ~]$ su -l Password: xxxxx [root@localhost ~]# yum -y install git gcc automake exit
or
[root@localhost ~]# sudo aptitude install git-core gcc automake
Then we need to copy the changes you made to the file in /usr/share/hal/fdi/information/10freedesktop/
to this local git tree.
For example, open the local file using:
cd hal-info gedit fdi/information/10freedesktop/30-keymap-lenovo.fdi
Then we can copy the xml from the locally installed fdi (in /usr/share
) to this local checked out version.
Editing the file in the same way here allows us to generate a patch file that we can sent to the mailing list.
Once you have edited your file, you can check the new addition using the checker scripts. These checker scripts run when you do
./autogen.sh make check ... Validate XML in 30-keymap-lenovo.fdi : ok ...
This will check the syntax of all the quirks (and your modification). You can then generate the patch against git, by doing something like:
git pull git diff master > ../hal-info-keymap-lenovo-t60.patch
Now the important bit: If that works, please send your matching data as an attachment to the mailing list (and please also CC richard[at]hughsie[dot]com) and we can add it to future updates to hal-info. This will make other laptop keyboards just work in the future and you can get a warm fuzzy feeling inside.
Back to the main keymap page