GNOME Bugzilla – Bug 432685
Using brltty can consume all the CPU
Last modified: 2007-05-03 17:02:21 UTC
When brltty is in use with Orca, we notice that the CPU usage of Orca can go towards 100%. The reason for this is that we're polling BrlAPI for braille input events via a gidle handler. In discussions with the BrlAPI maintainers, the recommendation for handling braille input events is to turn this into a callback mechanism versus a polling mechanism: gobject.io_add_watch(b.fileDescriptor, gobject.IO_IN, f, args...) See als http://www.pygtk.org/pygtk2tutorial/ch-TimeoutsIOAndIdleFunctions.html
Created attachment 87399 [details] [review] Patch to put an IO on the BrlAPI file descriptor instead of polling on gidle
Hermann on the list has reported that he is nolonger seeing this problem. I'm also testing with the latest and not noticing any problems. I think this one is OK to close.
Thanks. Closing as FIXED.