A package to feed to HAL to get synaptics support

svn path=/nixpkgs/trunk/; revision=18299
This commit is contained in:
Michael Raskin 2009-11-08 22:12:55 +00:00
parent 24162c6b4a
commit 6722c6c22f
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,19 @@
{stdenv}:
stdenv.mkDerivation {
name = "hal-info-synaptics";
buildCommand = ''
mkdir -p $out/share/hal/fdi/information/15-osvendor/
cat << EOF > $out/share/hal/fdi/information/15-osvendor/10-x11-synaptics.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="Synaptics TouchPad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.AlwaysCore" type="string">true</merge>
<merge key="input.x11_options.Protocol" type="string">event</merge>
</match>
</device>
</deviceinfo>
EOF
'';
}

View File

@ -2498,8 +2498,6 @@ let
inherit fetchurl stdenv sqlite ruby ;
};
scsh = import ../development/interpreters/scsh { inherit stdenv fetchurl; };
spidermonkey = import ../development/interpreters/spidermonkey {
inherit fetchurl stdenv readline;
};
@ -5339,6 +5337,10 @@ let
inherit fetchurl stdenv pkgconfig;
};
hal_info_synaptics = import ../os-specific/linux/hal/synaptics.nix {
inherit stdenv;
};
hdparm = import ../os-specific/linux/hdparm {
inherit fetchurl stdenv;
};