Menu

#5 Continue to work after suspend/resume

Unstable (example)
open
nobody
None
5
2015-05-29
2015-05-29
No

g15daemon doesn't always recover from suspend/resume and never recovers from keyboard being replugged, despite having code to handle at least replugging. I've made a patch fix that. It does the following:
1) Changes re_initLibG15() to properly (and always) reset it's internal state.
2) Makes g15daemon to call re_initLibG15() on every libusb error (was only on ENODEV).
Please note, that there is a bug in libusb, that periodically makes g15daemon hang after resume. For more information please see this page: https://bugs.launchpad.net/ubuntu/+source/g15daemon/+bug/1357556

1 Attachments

Discussion


Log in to post a comment.