Hi if you can give me a patch for the source code and submit a pull request upstream (github), I can find with git log the configure.ac patches, add the Debian dependencies again and reupload on unstable.<div id="yMail_cursorElementTracker_0.7410740584600717"><br></div><div id="yMail_cursorElementTracker_0.7410740584600717">Thanks</div><div id="yMail_cursorElementTracker_0.7410740584600717"><br></div><div id="yMail_cursorElementTracker_0.7410740584600717">G.<br><br><div><a href="https://overview.mail.yahoo.com/mobile/?.src=Android">Sent from Yahoo Mail on Android</a></div> <br> <blockquote style="margin: 0 0 20px 0;"> <header style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Wed, 16 Dec, 2015 at 0:34, Preston Maness</div><div><aspensmonster@riseup.net> wrote:</div> </header> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> <div id="msgSandbox_ACIJDNkAABJhVnCj7Qd6EK32oK8_TEXT" class="msgSandbox" style="padding: 1.5em 0.5em 0.5em 1.2em; word-wrap: break-word;">-----BEGIN PGP SIGNED MESSAGE-----<br clear="none">Hash: SHA512<br clear="none"><br clear="none">An update:<br clear="none"><br clear="none">Re-incorporating the XSS idle-detection code works as expected. I<br clear="none">scrapped the DPMS code and only kept the XSS code. Inclusion of<br clear="none"><br clear="none">#include <X11/extensions/scrnsaver.h><br clear="none"><br clear="none">in "client/hostinfo_unix.cpp" ultimately pulls in a conflicting<br clear="none">definition of "Always" between X-related code and boinc's<br clear="none">"lib/prefs.h", fixed by renaming boinc's declaration. After this, the<br clear="none">boinc-client and boincmgr compile and idle detection works as expected<br clear="none">(keyboard and mouse inputs are appropriately detected, and computation<br clear="none">is suspended).<br clear="none"><br clear="none">Working on cleaning up the changes, hopefully getting upstream to<br clear="none">reinstate the XSS code, and determining how best to get the fix into<br clear="none">the Debian packages. From what I can tell, an additional dependency on<br clear="none">"libxss1" would be necessary.<br clear="none"><br clear="none">Cheers,<br clear="none">Preston<br clear="none"><br clear="none">On 12/14/2015 07:28 AM, Preston Maness wrote:<br clear="none">> Whelp, it looks like the X-based idle detection --with the <br clear="none">> XScreenSaver API?-- was removed in this commit:<br clear="none">> <br clear="none">> ==================<br clear="none">> <br clear="none">> bfae1032e5c1ac73f2d8d92f222293d8383a6cee<br clear="none">> <br clear="none">> <a shape="rect" href="https://github.com/BOINC/boinc/commit/bfae1032e5c1ac73f2d8d92f222293d8" target="_blank">https://github.com/BOINC/boinc/commit/bfae1032e5c1ac73f2d8d92f222293d8</a><br clear="none">38<br clear="none">><br clear="none">> <br clear="none">3a6cee<br clear="none">> <br clear="none">> ==================<br clear="none">> <br clear="none">> The commit message indicates that /dev/input/* devices are the <br clear="none">> intended way to determine idle time on Linux now. However, it<br clear="none">> seems that X-based inputs don't update the /dev/input/* devices. Or<br clear="none">> at least, anything the X server is doing isn't updating the atime<br clear="none">> on those files, which is what is being utilized to determine if<br clear="none">> the system is idle or not. Working in a terminal updates the atime<br clear="none">> on the relevant files --correctly triggering BOINC to suspend<br clear="none">> computation-- but just typing this email, or wiggling the mouse<br clear="none">> around the desktop area, doesn't.<br clear="none">> <br clear="none">> Granted, this code was present earlier, so I don't know if simply <br clear="none">> re-introducing it will solve anything. But that's my first plan of <br clear="none">> attack. I've also looked into other varying methods of idle<br clear="none">> detection. The XSS API is the most common, but there is a more<br clear="none">> convoluted (asynchronous?) Xsync option that might also be possible<br clear="none">> too. I don't know too much about X, but I'll be giving a few<br clear="none">> different possibilities a go in the coming days.<br clear="none">> <br clear="none">> Cheers, Preston<br clear="none">> <br clear="none">> On 12/11/2015 09:44 AM, Preston Maness wrote:<br clear="none">>> Howdy howdy,<br clear="none">> <br clear="none">>> I think I deserve a slow clap for such a slow<br clear="none">>> response/addresssing of a bug. Indeed my response is so slow that<br clear="none">>> I've since changed email address and GPG keys.<br clear="none">> <br clear="none">>> Needless to say, when running BOINC 7.6.12 from testing, some <br clear="none">>> progress seems to have been made on idle detection. If I open a <br clear="none">>> terminal and begin working in it, *sometimes*, the idle detection<br clear="none">>>  kicks in. I can't tell whether it's working as intended or not.<br clear="none">>>  Regardless, keeping boinc running non-stop doesn't pose any<br clear="none">>> issues thanks to the scheduling. I can happily use my machine for<br clear="none">>> just about anything and not even notice that BOINC is running.<br clear="none">> <br clear="none">>> I'm presently unemployed, so really, I have nothing but time and<br clear="none">>> no real excuses not to give this bug another go and see if I can<br clear="none">>> just determine once and for all if things are fixed/how to fix<br clear="none">>> them :P<br clear="none">> <br clear="none">>> It looks like the BOINC project has moved from their own git <br clear="none">>> infrastructure onto github:<br clear="none">> <br clear="none">>> <a shape="rect" href="https://boinc.berkeley.edu/trac/wiki/SourceCodeGit" target="_blank">https://boinc.berkeley.edu/trac/wiki/SourceCodeGit</a><br clear="none">> <br clear="none">>> <a shape="rect" href="https://github.com/BOINC/boinc" target="_blank">https://github.com/BOINC/boinc</a><br clear="none">> <br clear="none">>> Looking at the git log for hostinfo_unix.cpp (a la "git log <br clear="none">>> client/hostinfo_unix.cpp" from the project root), it looks like <br clear="none">>> there was a commit that included changes from Gianfranco:<br clear="none">> <br clear="none">>> ==================<br clear="none">> <br clear="none">>> commit 0811886cbb1d282376e2dfd017ab39e34cd7d8ea Author: David <br clear="none">>> Anderson <<a shape="rect" ymailto="mailto:davea@ssl.berkeley.edu" href="javascript:return">davea@ssl.berkeley.edu</a>> Date:   Mon Feb 3 12:46:43 2014<br clear="none">>>  -0800<br clear="none">> <br clear="none">>> client: fix for idle detection on Linux (from Gianfranco)<br clear="none">> <br clear="none">> <br clear="none">>> ==================<br clear="none">> <br clear="none">>> and some later refactoring of the unix HOSTINFO code:<br clear="none">> <br clear="none">>> ==================<br clear="none">> <br clear="none">>> commit cda6bd334bf036349f471a0c4eb7c25de8098262 Author: David <br clear="none">>> Anderson <<a shape="rect" ymailto="mailto:davea@ssl.berkeley.edu" href="javascript:return">davea@ssl.berkeley.edu</a>> Date:   Tue Nov 25 14:46:58<br clear="none">>> 2014 -0800<br clear="none">> <br clear="none">>> client: get static host info items only on startup<br clear="none">> <br clear="none">>> On Android, the way we were getting os_version (Linux version + <br clear="none">>> Android version) didn't work because get_host_info() was getting<br clear="none">>>  called before every scheduler RPC, and it overwrote the Android<br clear="none">>>  version part.<br clear="none">> <br clear="none">>> Solution: divide host info into dynamic (disk usage, network<br clear="none">>> info) and static (everything else). Computer the static part only<br clear="none">>> at startup.<br clear="none">> <br clear="none">>> Also factor the Unix HOST_INFO code into multiple functions.<br clear="none">> <br clear="none">>> ==================<br clear="none">> <br clear="none">>> As it stands, BOINC's Event Log does show periodic "Suspending <br clear="none">>> computation - computer is in use" messages. Show I'm operating on<br clear="none">>>  the assumption that something is working.<br clear="none">> <br clear="none">>> Cheers, Preston Maness<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none"><br clear="none">-----BEGIN PGP SIGNATURE-----<br clear="none"><br clear="none">iQIcBAEBCgAGBQJWcKN0AAoJEFpzcfOOuHp0vY8QAM21NXoSO0S73rsL5Ci5WEZL<br clear="none">D2RbjefCRb+ojSGCFRtRG8fnLVS88P9Kyj5EfwvQPzQhHIsv2aZCfvl3JkPz49A0<br clear="none">khjaKr7DxgM2DtCxkTbq6HNeYtyr2YQounyZdhEOn/vYp4SmeOVxgC/2j31WYY95<br clear="none">3XsMZ6Pe1SpCmhab5jyRBlVUKVTUT2Ekbq7buvMHkEvLSryM3ax32K3PXC8gNbFL<br clear="none">YuVvPYkiQZUlpFrPRqjjoJTBO/MziTYSWw1U9dIXurD0jB8sBitWH7JLkSAmyAjh<br clear="none">dusx6rKFSR1XmPv0P+4D9qaKsy4lES4erxp2FUcPaX5L+D5fw7qAkTrgH+Vmbz+E<br clear="none">fCtgTiZz91KqpImlYyMjuzKPqpfMl2+O4qBoHTrXoasvFR0z8toP/gLIMibEb+OA<br clear="none">aD4MZO5IOQ+Orc1qPO+G9p6agDVmQePGk6S7jED3u/iklUI+865xYjbkAyiq4iwp<br clear="none">xVplNgaufJHD0dzRghB3IqSGI1EqEBXKQsBuJeShf2b8FdreVBwmgEWhL2uekhMv<br clear="none">187UBr6j9ERgjWSbY6QLbXb6y4+qjpINmMfAMkMjplDyB8ozUiYf6QvRjMZdBqUG<br clear="none">dYDq8Bt26M4u1MlMUbYQbZB1A9jn1pHC0CF13l2up8GmeRQzj+1emPKpK18H/5bl<br clear="none">BfkujLktRP+FinR3iDV8<br clear="none">=AW/A<div class="yQTDBase yqt6425899880" id="yqtfd81152"><br clear="none">-----END PGP SIGNATURE-----</div><br clear="none"><br clear="none">-- <br clear="none">pkg-boinc-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:pkg-boinc-devel@lists.alioth.debian.org" href="javascript:return">pkg-boinc-devel@lists.alioth.debian.org</a><br clear="none"><a shape="rect" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-boinc-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-boinc-devel</a><div class="yQTDBase yqt6425899880" id="yqtfd38805"><br clear="none"></div></div> </div> </blockquote></div>