Re: [DNG] laptop lid switch

2016-03-23 Thread Mike Schmitz
On Wed, Mar 23, 2016 at 06:46:41AM +0100, Jaromil wrote:
> 
> dear Mike,
> 
> thanks for your small reminder on the lid suspend!

You're welcome

> we'll try to collect such short howtos on the https://talk.devuan.org

it really wasn't meant as a howto, just debugging info, as I it doesn't
suspend on the activation of the lid switch.

> website in the close future (while this list will stay for the general
> discussion of the DNG community), so if you are not too web forum
> adverse (which we can understand) please consider posting it there

I am a bit web forum adverse, but I am willing to help, and will post it
there (when things actually work).

> somewhere. It will also nicely integrate in the new website...




signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] laptop lid switch

2016-03-22 Thread Jaromil

dear Mike,

thanks for your small reminder on the lid suspend!

we'll try to collect such short howtos on the https://talk.devuan.org
website in the close future (while this list will stay for the general
discussion of the DNG community), so if you are not too web forum
adverse (which we can understand) please consider posting it there
somewhere. It will also nicely integrate in the new website...


On Tue, 22 Mar 2016, Mike Schmitz wrote:
> systemd is not installed:
> 
> dpkg -l | grep systemd
> 
> ii  libsystemd0:amd64
> 215-17+deb8u3amd64systemd utility
> library
> ii  systemd-shim9-1
> amd64shim for systemd
> 
> I suspect some systemd vestige is causing this.


yes, we did remove it from everywhere, but still left the packages in
the repo. They may be already removed from Ceres and they shall be
removed from Jessie during the Beta stage, which is very close now.

ciao

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] laptop lid switch

2016-03-22 Thread Mike Schmitz
I think I remember this being discussed before on this list, but I
couldn't find it in the archives. I apologize in advance if...

I installed alpha4 on my AspireOne over the weekend. I got suspend
working as a user with tweaks to polkit, and it shows up as an option in
the XFCE Power Manager dialog. I told it to suspend when closing the
lid.

I also proved that acpi knows when the lid is closed using this script:

#!/bin/sh

cat /proc/acpi/button/lid/LID/state  # state:   open
echo "Close lid now"
sleep 2
cat /proc/acpi/button/lid/LID/state  # state:   closed

systemd is not installed:

dpkg -l | grep systemd

ii  libsystemd0:amd64
215-17+deb8u3amd64systemd utility
library
ii  systemd-shim9-1
amd64shim for systemd

I suspect some systemd vestige is causing this.




signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng