Accepting request 423888 from home:rudi_m:musthave
Add new new kernel module ftsteutates to let sensors work on recent Fujitsu mainboards. See Documentation ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/Fujitsu_mainboards-1-Sensors_HowTo-en-US.pdf Note this initial kmp package may need some more improvements. I'll do it when I know that this package would be accepted at all. I've tested this module with kernel 4.4.x from Leap 42.2 on openSUSE 13.1 and Leap 42.1. Fujitsu is trying to get this module into kernel upstream. I would really like to get this kmp package into Leap 42.2. OBS-URL: https://build.opensuse.org/request/show/423888 OBS-URL: https://build.opensuse.org/package/show/hardware/ftsteutates?expand=0&rev=1
This commit is contained in:
commit
0c32a9b4e0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
ftsteutates-module_20160601.zip
Normal file
3
ftsteutates-module_20160601.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:599e656e499e369e6220c2d8a074299e97486fa8e8ee1c82769bfafcdf6f3cca
|
||||||
|
size 24419
|
5
ftsteutates.changes
Normal file
5
ftsteutates.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 12 10:28:57 UTC 2016 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
- initial package ftsteutates version 20160601
|
||||||
|
|
78
ftsteutates.spec
Normal file
78
ftsteutates.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ftsteutates
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: ftsteutates
|
||||||
|
Version: 20160601
|
||||||
|
Release: 0
|
||||||
|
Summary: Kernel module ftsteutates
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Kernel
|
||||||
|
Url: ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/
|
||||||
|
Source0: ftsteutates-module_%{version}.zip
|
||||||
|
Source1: preamble
|
||||||
|
BuildRequires: kernel-source
|
||||||
|
BuildRequires: kernel-syms
|
||||||
|
BuildRequires: module-init-tools
|
||||||
|
BuildRequires: unzip
|
||||||
|
Requires: ftsteutates-kmp
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
ExclusiveArch: %ix86 x86_64
|
||||||
|
%suse_kernel_module_package -p %_sourcedir/preamble
|
||||||
|
|
||||||
|
%description
|
||||||
|
System monitoring and thermal management for
|
||||||
|
Teutates chips/Fujitsu mainboards (D34xx).
|
||||||
|
|
||||||
|
%package KMP
|
||||||
|
Summary: Kernel module ftsteutates
|
||||||
|
Group: System/Kernel
|
||||||
|
|
||||||
|
%description KMP
|
||||||
|
System monitoring and thermal management for Fujitsu mainboards (D34xx).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ftsteutates
|
||||||
|
mkdir source
|
||||||
|
mkdir obj
|
||||||
|
cp -a Makefile ftsteutates.c source/
|
||||||
|
|
||||||
|
%build
|
||||||
|
for flavor in %flavors_to_build; do
|
||||||
|
rm -rf obj/$flavor
|
||||||
|
cp -r source obj/$flavor
|
||||||
|
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
|
||||||
|
M=$PWD/obj/$flavor
|
||||||
|
done
|
||||||
|
|
||||||
|
%install
|
||||||
|
# install kernel modules
|
||||||
|
export INSTALL_MOD_PATH=%{buildroot}
|
||||||
|
export INSTALL_MOD_DIR=updates
|
||||||
|
for flavor in %flavors_to_build; do
|
||||||
|
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \
|
||||||
|
M=$PWD/obj/$flavor
|
||||||
|
done
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc assets test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user