tag 709239 -patch thanks On Wednesday 22 May 2013 01:37 AM, Marco wrote: > Dear Maintainer, > after the last laptop-mode-tool upgrade in testing I noticed that cpu > governor was not correctly set after boot (it was my kernel default, not as > set > in /etc/laptop-mode/conf.d/cpufreq.conf). Manually restarting laptop-mode via > invoke-rc.d restored the situation.
This could be caused by another service interfering. What other service are you running? And what Window manager are you on? They tend to control the cpu too. > > Now, I found out that in /usr/sbin/laptop_mode is taouched the file /var/run > /laptop-mode/enabled just because $ENABLE_LAPTOP_MODE_TOOLS is '1', regardless > of the fact that the script may have been called with 'stop' parameter. > > Since the same file is created/removed by the init.d script I tried to comment > out the line in /usr/sbin/laptop_mode (643) and this fixed the problem for me. > I'm not sure if this could break some other usecase though. The reliance on that file is not important now. We have kept it only for backward compatibility reasons. LMT now is events based. It acts on events generated by the kernel. Hence I have a strong feeling there's something else interfering with the settings. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature