Help with powerbutton handling

2014-10-06 Thread Dario Piantanida
Hello, I have an LG NAS based on Debian 6, armel arch. I have root access on it. I recently broke a couple of things on it, but now it's almost back. I found it is highly customized about services to start and other system handling. The last thing I haven't been able to restore is the handling

Re: Help with powerbutton handling

2014-10-06 Thread Dario Piantanida
A little step forward. There's a buttond_service.pyc that seems to be able to handle the button pressing: class ButtondService(persistent_service.PersistentService): Buttond Service Class [...] def _worker(self): _worker method (override from superclass)

Re: Help with powerbutton handling

2014-10-06 Thread Dominique Dumont
On Monday 06 October 2014 10:18:01 Dario Piantanida wrote: The last thing I haven't been able to restore is the handling of the powerbutton: before me touching things, I could turn it off keeping it pressed for 2/3 seconds; a longer press would turn it off immediately. Make sure that

Re: Help with powerbutton handling

2014-10-06 Thread Dario Piantanida
I checked current system status with an old backup and I would say the acpi packages are as before, when it worked... As I said, it is very custom and I'd prefer to stick with their implementations, if I get to understand it. On Mon, Oct 6, 2014 at 10:59 AM, Dominique Dumont

Re: Help with powerbutton handling

2014-10-06 Thread Paul Wise
On Mon, Oct 6, 2014 at 4:18 PM, Dario Piantanida wrote: Hello, I have an LG NAS based on Debian 6, armel arch. BTW, Debian 6 is EOL and is no longer security supported at all on armel (i386/amd64 have LTS support). I strongly suggest you upgrade to Debian 7 (wheezy). I found some ACPI scripts

Re: Help with powerbutton handling

2014-10-06 Thread Lennart Sorensen
On Tue, Oct 07, 2014 at 09:21:02AM +0800, Paul Wise wrote: BTW, Debian 6 is EOL and is no longer security supported at all on armel (i386/amd64 have LTS support). I strongly suggest you upgrade to Debian 7 (wheezy). Are you sure this is ACPI based? I thought that systems of this vintage