maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it? (https://talk.maemo.org/showthread.php?t=83855)

Daneel 2012-04-23 19:30

100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
I recently updated bunch of stuff only to notice huge battery drain.
The culprit is the following process: 786 root 2088 R /bin/sh -e -c echo 120 > /sys/class/i2c-adapte

Anyone know what it is? I don't want to kill it every time i restart my device.

freemangordon 2012-04-23 19:32

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
some script (most probably in /etc/event.d) is trying to max your fmtx power, no need to do it with KP50, it is by default 120.

Daneel 2012-04-23 19:49

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
Curiously, one of the updates was KP50.
Thanks for the answer, i'll start looking for the said script.
Any idea on how to find which file executed the process with PS, TOP or any other tool?

-edit-

Nevermind, found it. Its /etc/event.d/fmtxpower if anyone else is interested.

thanks again.

Daneel 2012-04-23 20:03

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
It wasn't it. Renamed the said script but the process still gets executed on the next boot.

Any ideas on how i could find the files asocciated with the process?

vi_ 2012-04-23 20:21

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
goto fapman and uninstall anything that says anything about boosting fm power i.e. fmboost. Then reboot. And check again.

freemangordon 2012-04-23 20:24

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
Quote:

Originally Posted by Daneel (Post 1196609)
It wasn't it. Renamed the said script but the process still gets executed on the next boot.

Any ideas on how i could find the files asocciated with the process?

it does not matter what is the name, as long as it is int /etc/event.d it will be executed upon boot. Move it somewhere else or simply delete it

Daneel 2012-04-23 20:32

Re: 100% cpu usage, process /bin/sh -e -c echo 120 > /sys/class/i2c-adapte , what is it?
 
So noobish of me, totally forgot about that. That is what i get from working in a all windows enviroment for the last 5 years.

Thanks again and sorry for taking your time.


All times are GMT. The time now is 10:55.

vBulletin® Version 3.8.8