Evgeni Golov
bee13fd060
use tinyconfig with only the bits we need for building
2024-05-20 20:09:24 +02:00
Evgeni Golov
473a6cab7b
keep building 5.10 (debian oldstable) on 20.04
2024-05-20 20:03:39 +02:00
Evgeni Golov
a04748fdff
use Ubuntu 22.04 for building
2024-05-20 20:03:39 +02:00
dependabot[bot]
cbc77bda94
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 05:29:39 +02:00
Evgeni Golov
2a5ff796cb
update make set-version after rpm changes
...
Fixes: bf5c951473
2023-08-05 11:35:34 +02:00
Evgeni Golov
9876299d16
drop "make patch"
2023-08-05 11:35:13 +02:00
Evgeni Golov
bf5c951473
modernize rpm spec
2023-08-05 11:18:18 +02:00
Evgeni Golov
508dfd27ed
add packit
2023-08-05 08:31:32 +02:00
Evgeni Golov
6e80bb1752
release 0.44
2023-07-31 20:05:27 +02:00
Evgeni Golov
35be4ab60d
add 5.10 kernel to CI
2023-06-19 16:31:23 +02:00
Evgeni Golov
0c3398b1ac
update DEFINE_SEMAPHORE usage for linux 6.4+
...
Linux changed the DEFINE_SEMAPHORE macro in
48380368dec14859723b9e3fbd43e042638d9a76, making it take two parameters
instead of one. Pass an explicit 1 as on 6.4+.
2023-06-19 14:23:03 +02:00
Evgeni Golov
0bfa3a258b
add GHA based CI
2023-06-19 13:32:50 +02:00
Evgeni Golov
a63729ab30
release 0.43
...
closes : #32
2018-02-24 16:59:51 +01:00
Jan Nordholz
76c5120f7b
Adapt HDAPS driver to use the new timer_setup() interface.
...
Linux 4.15 removed the ancient init_timer() API and changed the signature
of the timer handler function.
Signed-off-by: Jan Nordholz <jnordholz@sec.t-labs.tu-berlin.de>
Closes : #31
2017-12-27 14:41:34 +01:00
Evgeni Golov
fc60d0da26
Merge pull request #29 from EdwardBetts/spelling
...
correct spelling mistake
2017-09-02 13:27:49 +02:00
Edward Betts
bee55a9b65
correct spelling mistake
2017-09-02 08:04:54 +01:00
Evgeni Golov
cfe115e895
document supported and unsupported models
2016-07-24 09:14:04 +02:00
Evgeni Golov
555fdb6c92
mark hdaps_whitelist as initconst instead of initdata
...
this fixes build issues with grsec enabled kernels:
DKMS make.log for tp_smapi-dkms-0.42 for kernel 4.6.4.201607112205-1-grsec (x86_64)
Sat Jul 16 01:31:14 EDT 2016
make -C /usr/lib/modules/4.6.4.201607112205-1-grsec/build M=/var/lib/dkms/tp_smapi-dkms/0.42/build O=/usr/lib/modules/4.6.4.201607112205-1-grsec/build modules
make[1]: Entering directory '/usr/lib/modules/4.6.4.201607112205-1-grsec/build'
make[2]: Entering directory '/usr/lib/modules/4.6.4.201607112205-1-grsec/build'
CC [M] /var/lib/dkms/tp_smapi-dkms/0.42/build/thinkpad_ec.o
/var/lib/dkms/tp_smapi-dkms/0.42/build/thinkpad_ec.o: warning: objtool: thinkpad_ec_exit(): can't find starting instruction
CC [M] /var/lib/dkms/tp_smapi-dkms/0.42/build/tp_smapi.o
/var/lib/dkms/tp_smapi-dkms/0.42/build/tp_smapi.o: warning: objtool: tp_exit(): can't find starting instruction
CC [M] /var/lib/dkms/tp_smapi-dkms/0.42/build/hdaps.o
/var/lib/dkms/tp_smapi-dkms/0.42/build/hdaps.c:738:33: error: constified variable ‘hdaps_whitelist’ placed into writable section ".init.data"
struct dmi_system_id __initdata hdaps_whitelist[] = {
^~~~~~~~~~~~~~~
make[3]: *** [/usr/lib/modules/4.6.4.201607112205-1-grsec/build/scripts/Makefile.build:298: /var/lib/dkms/tp_smapi-dkms/0.42/build/hdaps.o] Error 1
make[2]: *** [/usr/lib/modules/4.6.4.201607112205-1-grsec/build/Makefile:1437: _module_/var/lib/dkms/tp_smapi-dkms/0.42/build] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.6.4.201607112205-1-grsec/build'
make[1]: *** [Makefile:146: sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.6.4.201607112205-1-grsec/build'
make: *** [Makefile:46: modules] Error 2
thanks: Sean Behan <seanwbehan@riseup.net>
2016-07-24 09:00:07 +02:00
Evgeni Golov
d5837f2ae1
add W520 invert value
...
thanks arch!
https://aur.archlinux.org/cgit/aur.git/tree/hdaps.conf?h=hdaps_lenovo-w520
2016-05-01 10:19:45 +02:00
Evgeni Golov
eacaa1e008
fix typo in hdaps invert for W510
2016-05-01 10:18:45 +02:00
Evgeni Golov
697ac0bdb8
release 0.42, yay
2016-04-23 19:44:19 +02:00
Evgeni Golov
ee9344e555
set version in spec file too
2016-04-23 19:42:22 +02:00
Evgeni Golov
7c187cd310
Merge remote-tracking branch 'bboozzoo/master'
2016-04-23 19:34:47 +02:00
Evgeni Golov
4efaa7e262
drop include dir from readme
2016-04-23 19:30:55 +02:00
Evgeni Golov
9bb576fd5b
add changelog for 0.41
2016-04-23 19:22:27 +02:00
Joerg Mayer
8f40fcf3d9
change type of force_io to bool
...
v2: Fix the type warning the other way round as proposed by Bjorn Mork
Fix for the following warning:
CC [M] /home/jmayer/work/thinkpad/git/thinkpad_ec.o
In file included from /usr/src/linux-3.14.1-1.geafcebd/include/linux/module.h:17:0,
from /home/jmayer/work/thinkpad/git/thinkpad_ec.c:33:
/home/jmayer/work/thinkpad/git/thinkpad_ec.c: In function ‘__check_force_io’:
/usr/src/linux-3.14.1-1.geafcebd/include/linux/moduleparam.h:349:45: warning: return from incompatible pointer type [enabled by default]
static inline type *__check_##name(void) { return(p); }
^
/usr/src/linux-3.14.1-1.geafcebd/include/linux/moduleparam.h:395:35: note: in expansion of macro ‘__param_check’
#define param_check_bool(name, p) __param_check(name, p, bool)
^
/usr/src/linux-3.14.1-1.geafcebd/include/linux/moduleparam.h:127:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^
/home/jmayer/work/thinkpad/git/thinkpad_ec.c💯 1: note: in expansion of macro ‘module_param_named’
module_param_named(force_io, force_io, bool, 0600);
^
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
2014-05-06 07:54:55 +02:00
Evgeni Golov
a80f7f2834
update hdaps orientation quirks
...
Thanks to Maikel <mkllnk@web.de> and http://www.thinkwiki.org/wiki/Tp_smapi#Model-specific_status
Closes Debian Bug #735631
2014-01-17 08:06:11 +01:00
Maciej Borzecki
e831ede521
Makefile fix
2013-12-11 23:07:16 +01:00
Maciej Borzecki
41e2ee56b0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
dkms.conf
2013-12-11 23:07:00 +01:00
Evgeni Golov
2e9ca94dbb
add dkms support
...
closes #13
2013-04-07 19:14:45 +02:00
Evgeni Golov
dc26441f45
stop sed'ing around during make
2013-04-07 18:55:20 +02:00
Evgeni Golov
365c311a3b
allow building via kbuild
...
see https://www.kernel.org/doc/Documentation/kbuild/modules.txt
2013-04-07 18:45:21 +02:00
jmltp@loplof.de
a06157f3c9
Fix depmod to work with not-running kernels
...
depmod -a requires the directory /lib/modules/<currently-running-kernel>/
to exist. If it doesn't, depmod fails to create the temp files. Fix this.
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
2013-04-07 15:29:43 +02:00
jmltp@loplof.de
298e2c024e
Allow build of modules for not-running kernel versions
...
The current Makefile always sets KVER and some other variables to the
version of the currently running kernel and does not allow overriding
this value. So installing a newer kernel and building and installing
the modules for the new version will not work before activation of the
new kernel. With this patch, the following can be done:
export KVER=<newly-installed-kernel-version>
echo "Kernel version to build for: $KVER"
export MOD_DIR=/lib/modules/${KVER}/extra/
KVER=${KVER} MOD_DIR=${MOD_DIR} HDAPS=1 make
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
2013-04-07 15:29:07 +02:00
jmltp@loplof.de
72d23ff2af
Add gitignore
...
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
2013-04-07 15:26:19 +02:00
Maciek Borzecki
0f6e180333
add create-rpm target, check for VER when doing release targets
2012-09-23 14:03:18 +02:00
Maciek Borzecki
847fa91f41
specify group in RPM spec
2012-09-23 13:12:05 +02:00
Maciek Borzecki
8c86a7d438
adding RPM spec
2012-09-23 12:58:40 +02:00
Maciek Borzecki
79f92b36bd
Merge branch 'upstream-master'
2012-09-23 12:27:28 +02:00
Maciek Borzecki
60f092de65
add dkms support
2012-09-22 23:42:16 +02:00
Andreas Freimuth
9ec9ed71a4
add hdaps quirks for T410s and W510 ThinkPads
2012-01-20 18:32:39 +01:00
Andreas Freimuth
531f132448
power_supply_class.txt has moved to Documentaiton/power/
2012-01-20 18:31:47 +01:00
Damjan Georgievski
477c48daaa
Remove trailing whitespace
2011-10-26 20:36:37 +02:00
Damjan Georgievski
f720c556f8
Move drivers to drivers/platform/x86
...
Moved thinkpad_ec.h, thinkpad_ec.c and smapi.c to drivers/platform/x86/
2011-10-26 18:59:39 +02:00
Damjan Georgievski
98741257d8
hdaps.c is moved in recent kernels
...
Since some time (2.6.38?) hdaps.c is in drivers/platform/x86/ and not in drivers/hwmon/
2011-10-26 18:59:29 +02:00
Evgeni Golov
36d9887ba5
prepare 0.41
2011-07-28 19:06:30 +02:00
Evgeni Golov
8ba1e2cffc
git-archive → git archive
2011-07-28 19:05:30 +02:00
Evgeni Golov
e414eeafd1
remove stupid check for kernel >= 2.6.19
2011-07-28 19:03:35 +02:00
Evgeni Golov
b204fca522
fix compiler warning, our parameter is an unsigned long actually
2011-07-28 18:30:05 +02:00
Evgeni Golov
a61d8325be
chargecontrol fix by @ginkel
2011-07-28 18:00:56 +02:00