Am Donnerstag, 8. November 2012, 09:05:33 schrieb Ritesh Raj Sarraf:
> On Thursday 08 November 2012 08:52 AM, Daniel Koch wrote:
> > This also affects Version: 1.61-1
> > 
> > As you can see i have enabled verbose output.
> > 
> > When i start laptop-mode-tools and unplug my AC everything works fine
> > (laptop_mode is enabled).
> > Then when i plug my AC once again and unplug it the setting are as if
> > there is still an AC plugged in.
> 
> How frequent is the plug / un-plug?
> I mean did you immediately plug / un-plug the adapter ?

I was just doing it again and waited about 10 minutes between every state. But 
the same behavior:

1.: AC plugged  =       Options are as configured for AC
2.: AC unplugged =      Options are as configured for battery
3.: AC plugged  =       Options are as configured for AC
4.: AC unplugged =      Options are as configured for AC

> 
> 
> The reason you see the lock_retry() message is because another instance
> of LMT is already processing.
> 

What is the process name of LMT ?

> > When running laptop_mode from command line i am getting this output:
> > 
> > root@claw-t430:claw# laptop_mode
> > Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is
> > not readable, skipping.
> > Determining power state from /sys/class/power_supply/AC/online.
> > Not trying other options, already found a power supply.
> > Battery level polling is disabled.
> > Prelim lock acquisition on descriptor 8 with pid 18499
> > Couldn't acquire prelim lock on descriptor 9 with pid 18499
> > Now invoking lock_retry with arguments --
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > Couldn't acquire lock on descriptor 9 in lock_retry(). Retrying.... PID
> > is 18499
> > 
> > 
> > 
> > 
> > When i remove the lock files ( /var/lock/lmt-*) 'on my own' it works for
> > one more time.
> > I guess there is some problem on deleting the lock files when plugging
> > the AC again.
> > 
> > Anybody can reproduce this error on another system then mine ?
> > 
> > Note that there are some modifications on the configuration files i have
> > attached.
> > 
> > Thank you for your attention.
---
Daniel Koch
GPG: 83DE 2C48 5A9F 9992 843A 0EAD 3B2D 7E8F 13F4 9C39


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to