[laptop-mode] [PATCH] Laptop mode hangs indefinately when battery polling is used
Ritesh Raj Sarraf
rrs at researchut.com
Mon Jul 13 08:02:18 CEST 2009
--nextPart2785436.accxBh4ddH
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi Matthijs,
Thank you for the patch.
On Sunday 12 Jul 2009 20:20:07 Matthijs Kooijman wrote:
> To fix this, we should disconnect at least stdout from the polling daemon,
> but disconnecting all file descriptors is probably better. e.g.:
>
> /usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon \
> < /dev/null > /dev/null 2> /dev/null &
Since we are disconnecting it from all the descriptors, do we need the "&" ?
Also, this would have not been correct if we were using echo to print=20
messages. But since we use a logger now, it won't affect us.
Ritesh
=2D-=20
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
--nextPart2785436.accxBh4ddH
Content-Description: This is a digitally signed message part.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090713/d6820681/attachment.pgp>
--nextPart2785436.accxBh4ddH--
More information about the laptop-mode
mailing list