[PATCH] Use internal pm check for smart poll
Phillip Susi
psusi at ubuntu.com
Wed Nov 6 19:21:44 PST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 11/05/2013 03:36 AM, Tomasz Torcz wrote:
> On Mon, Nov 04, 2013 at 07:49:30PM -0500, Phillip Susi wrote:
>> libatasmart apparently has a bug where it will wake up a disk
>> from sleep just trying to open it, so use our own code to check
>> the pm state to avoid this.
>
> Why won't you fix libatasmart?
Ahh, didn't see this until now because you didn't reply-to-all.
I'm not sure how to fix libatasmart. It seems that it is looking for
an environment variable that does not exist and I can find no code in
the universe that ever was supposed to set it, and if it is not found,
issues an IDENTIFY DEVICE command. Easier to just avoid the bug, plus
I'm also planning on patching udisks to check the new kernel runtime
pm first before trying to issue the CHECK POWER command, which causes
the runtime pm to wake up.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCgAGBQJSewdIAAoJEJrBOlT6nu75C78H/2/gJJKw68VPFXSrfC6EXRc8
0pWhbXno8KHIytjSPdgZpiCr4qlnZq9Lvcpu8jSQb9K62yaP7zXiRBUm6UbPBr89
oIw3yIrutIU5FHtGHXL1j0jwak8GYIzWgOl75LCvnFHbpr3MJjtVJ8Hs5eyGrVY5
lG8zzr+U8jxgDSfDOG6xIcWVb0l62E87kO1Qoz/+mOLh0iQgsWdL4VYp9SsBK1mF
JAELjGrt/u+YMYMfGLhbC8TVsGomwy8dJqyYG3Ek593ck81QvUxBh8LkmOpHGFJZ
BTrgpJj8/ToVPGeUhZw0e/zT1mcCnmYGpX0lkD8CCN1bQ7RXrAH4ykyLv9fQheo=
=13Vd
-----END PGP SIGNATURE-----
More information about the devkit-devel
mailing list