Hello,
James Teh, le Mon 15 Sep 2008 09:21:47 +1000, a écrit :
> * Even with this serial:com4 configuration, powering down the display
> causes problems. I see
> Baum Powerdown: power switch
> Subsequently, brltty starts chewing massive amounts of CPU.
I've had some issues with my irda serial port as well: brltty dies
because it divides by brl.x which is 0 in that case. The attached patch
fixed the issue for me.
Samuel
Index: Programs/brltty.c
===================================================================
--- Programs/brltty.c (r�vision 3923)
+++ Programs/brltty.c (copie de travail)
@@ -516,11 +516,16 @@
static void
placeWindowHorizontally (int x) {
- p->winx = x / brl.x * brl.x;
+ if (!brl.x)
+ p->winx = 0;
+ else
+ p->winx = x / brl.x * brl.x;
}
static void
trackCursor (int place) {
+ if (!brl.x)
+ return;
#ifdef ENABLE_CONTRACTED_BRAILLE
if (contracted) {
p->winy = scr.posy;
_______________________________________________
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