On 18/10/2008 4:46 AM, Samuel Thibault wrote: >> It's actually that ReadFile(0) doesn't wait. >> The only sane way I could find is the attached patch: use >> ReadFile(1) and remember the character for later use. > I had forgotten to initialize pending... Could you give a try to this > patch instead? Nice. This works for me. I can power off my display and power it back up and brltty detects both correctly without excessive spinning.
Jamie -- James Teh Email: [EMAIL PROTECTED] WWW: http://www.jantrid.net/ MSN Messenger: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] Yahoo: jcs_teh _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
