Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61423 - [tp_smapi] does not work

Attached to Project: Community Packages
Opened by Roman (romannikolai) - Wednesday, 16 January 2019, 07:39 GMT
Last edited by Balló György (City-busz) - Friday, 12 April 2019, 14:28 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

Description:

0.43-78


Hi, for a few months tp_smapi does not work anymore. There is also an error message a booting the system. "Failed to load kernel modules"


Steps to reproduce:

install tp_smapi and reboot
This task depends upon

Comment by Doug Newgard (Scimmia) - Wednesday, 16 January 2019, 07:40 GMT
What does uname -a return?
Comment by Roman (romannikolai) - Wednesday, 16 January 2019, 07:52 GMT
Linux roman-w500 4.20.1-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 9 20:25:43 UTC 2019 x86_64 GNU/Linux
Comment by Doug Newgard (Scimmia) - Wednesday, 16 January 2019, 07:58 GMT
And what happens, exactly, when you modprobe the module?
Comment by Roman (romannikolai) - Wednesday, 16 January 2019, 08:05 GMT
modprobe: ERROR: could not insert 'tp_smapi': No such device or address
Comment by Doug Newgard (Scimmia) - Wednesday, 16 January 2019, 08:10 GMT
So it would appear to not support your hardware
Comment by Roman (romannikolai) - Wednesday, 16 January 2019, 08:13 GMT
As far as i know it must be supported, its a ThinkPad W500, on my other ThinkPads (R500, T400, R400, X61) it also doesnt work anymore, but it should. On other Distros tp_smapi is fully funcional. In the past it also worked with Arch
Comment by Duna (A-Duna) - Friday, 01 February 2019, 17:22 GMT
I wanted to second Roman's claim. I have a thinkpad x200 and tp_smapi always fails to load when I boot. It's been like this for several months. I looked for solutions but can't find anything and I am sure tp_smapi supports the x200.
Comment by loqs (loqs) - Friday, 01 February 2019, 17:59 GMT
No such device or address should be from ENXIO, looking at the code the two obvious causes of ENXIO are
https://github.com/evgeni/tp_smapi/blob/a63729ab30d85430048f65c37f29188ab484cd52/tp_smapi.c#L1426
https://github.com/evgeni/tp_smapi/blob/a63729ab30d85430048f65c37f29188ab484cd52/tp_smapi.c#L1433
in dmesg what output are you seeing from tp_smapi?
Comment by Duna (A-Duna) - Friday, 01 February 2019, 18:17 GMT
I am not familiar with dmesg but simply typing in dmesg into the terminal gave me a lot of output but there were a few lines related to tp_smapi. Here's the output around tp_smapi.

[ 11.908355] audit: type=1130 audit(1549044180.476:48): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rpc-statd-notify comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 11.924096] tp_smapi 0.43 loading...
[ 11.924105] SMAPI not supported (ID=0x57)
[ 11.924107] tp_smapi init failed (ret=-6)!
[ 12.027227] tp_smapi 0.43 loading...
[ 12.027238] SMAPI not supported (ID=0x57)
[ 12.027240] tp_smapi init failed (ret=-6)!
[ 12.094492] audit: type=1130 audit(1549044180.663:49): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Comment by loqs (loqs) - Friday, 01 February 2019, 18:35 GMT
https://github.com/evgeni/tp_smapi/blob/a63729ab30d85430048f65c37f29188ab484cd52/tp_smapi.c#L133
0x57 != 0x5349 if the system really does support tp_smapi this issue needs to be addressed by the developer upstream.
https://github.com/evgeni/tp_smapi/issues
Comment by Duna (A-Duna) - Friday, 01 February 2019, 18:53 GMT
I think I found the reason tmp_smapi is not supported.

http://www.thinkwiki.org/wiki/Tp_smapi#Model-specific_status

See which version of tp_smapi is supported by your laptop and downgrade to that version.

However, for me I think it's because my x200 is librebooted. Should have included this fact but I am pretty sure smapi works with the lenovo bios which my x200 no longer has.

I found this thread which supports my claim. https://lists.gnu.org/archive/html/libreboot/2016-04/msg00042.html

Loading...