Re: add lid status sensor to acpibtn

2013-08-14 Thread Vadim Zhukov
2013/8/14 Landry Breuil : > On Wed, Aug 14, 2013 at 01:55:27PM +0400, Vadim Zhukov wrote: >> 2013/8/13 Landry Breuil : >> > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: >> >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil >> >> wrote: >> > * _LID method. 0 means

Re: add lid status sensor to acpibtn

2013-08-14 Thread Landry Breuil
On Wed, Aug 14, 2013 at 01:55:27PM +0400, Vadim Zhukov wrote: > 2013/8/13 Landry Breuil : > > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil > >> wrote: > > * _LID method. 0 means the lid is closed and we > >

Re: add lid status sensor to acpibtn

2013-08-14 Thread Vadim Zhukov
2013/8/13 Landry Breuil : > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil wrote: >> > Hi, >> > >> > this diff adds a sensor for acpibtn to show lid status. This allows >> > userland to monitor/react on lid close/open events, in case

Re: add lid status sensor to acpibtn

2013-08-14 Thread Landry Breuil
On Tue, Aug 13, 2013 at 12:00:19AM +0200, Landry Breuil wrote: > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > > On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil > > wrote: > > > Hi, > > > > > > this diff adds a sensor for acpibtn to show lid status. This allows > > > userland to m

Re: add lid status sensor to acpibtn

2013-08-13 Thread Mark Kettenis
> Date: Tue, 13 Aug 2013 00:00:19 +0200 > From: Landry Breuil > > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > > On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil > > wrote: > > > Hi, > > > > > > this diff adds a sensor for acpibtn to show lid status. This allows > > > userland t

Re: add lid status sensor to acpibtn

2013-08-12 Thread Landry Breuil
On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil wrote: > > Hi, > > > > this diff adds a sensor for acpibtn to show lid status. This allows > > userland to monitor/react on lid close/open events, in case one is not > > using machdep.lids

Re: add lid status sensor to acpibtn

2013-08-12 Thread David Coppa
On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil wrote: > Hi, > > this diff adds a sensor for acpibtn to show lid status. This allows > userland to monitor/react on lid close/open events, in case one is not > using machdep.lidsuspend. I know sysutils/upower can make use of this, i > just need to add

add lid status sensor to acpibtn

2013-08-12 Thread Landry Breuil
Hi, this diff adds a sensor for acpibtn to show lid status. This allows userland to monitor/react on lid close/open events, in case one is not using machdep.lidsuspend. I know sysutils/upower can make use of this, i just need to add the corresponding code there. comments ? I wonder if/how the cas