hid-tmff2: init at v0.81
A linux module for Thrustmaste T300RS, T248 and TX(experimental) wheels.
ca168637fb
- Additionally, https://github.com/scarburato/hid-tminit is also required
for proper init of the driver.
- The driver has been updated to v0.81
- Fixed a typo in maintainer-list
- hid-tmff2 update sha256
- update hid-tmff2 version
Co-authored-by: Artturi <Artturin@artturin.com>
This commit is contained in:
parent
c0da39e7bb
commit
546fc20314
3 changed files with 39 additions and 1 deletions
|
@ -14428,7 +14428,7 @@
|
|||
name = "David McKay";
|
||||
};
|
||||
rayslash = {
|
||||
email = "stevemathewjoy@tutanota.cm";
|
||||
email = "stevemathewjoy@tutanota.com";
|
||||
github = "rayslash";
|
||||
githubId = 45141270;
|
||||
name = "Steve Mathew Joy";
|
||||
|
|
36
pkgs/os-specific/linux/hid-tmff2/default.nix
Normal file
36
pkgs/os-specific/linux/hid-tmff2/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, lib, fetchFromGitHub, kernel }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "hid-tmff2";
|
||||
# https://github.com/Kimplul/hid-tmff2/blob/ca168637fbfb085ebc9ade0c47fa0653dac5d25b/dkms/dkms-install.sh#L12
|
||||
version = "0.81";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kimplul";
|
||||
repo = "hid-tmff2";
|
||||
rev = "ca168637fbfb085ebc9ade0c47fa0653dac5d25b";
|
||||
hash = "sha256-Nm5m5xjwJGy+ia4nTkvPZynIxUj6MVGGbSNmIcIpziM=";
|
||||
# For hid-tminit. Source: https://github.com/scarburato/hid-tminit
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = kernel.makeFlags ++ [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"INSTALL_MOD_PATH=${placeholder "out"}"
|
||||
];
|
||||
|
||||
postPatch = "sed -i '/depmod -A/d' Makefile";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A linux kernel module for Thrustmaster T300RS, T248 and TX(experimental)";
|
||||
homepage = "https://github.com/Kimplul/hid-tmff2";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.rayslash ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -583,6 +583,8 @@ in {
|
|||
|
||||
hid-ite8291r3 = callPackage ../os-specific/linux/hid-ite8291r3 { };
|
||||
|
||||
hid-tmff2 = callPackage ../os-specific/linux/hid-tmff2 { };
|
||||
|
||||
} // lib.optionalAttrs config.allowAliases {
|
||||
ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18;
|
||||
hid-nintendo = throw "hid-nintendo was added in mainline kernel version 5.16"; # Added 2023-07-30
|
||||
|
|
Loading…
Reference in a new issue