GNOME Bugzilla – Bug 639623
Use XRecord mode in syndaemon to preserve a bit power
Last modified: 2011-02-17 14:04:17 UTC
Created attachment 178408 [details] [review] mouse: Use event driven mode for syndaemon Subject: [PATCH] mouse: Use event driven mode for syndaemon In default polling mode syndaemon wakeups 5 times per second. That is pretty bad for power consumption with hungry laptop CPUs. If syndaemon was compiled to include XRecord extension -R parameter can be used to select even driven mode. Event driven mode wakeups only when there is KeyPress or KeyRelease event. In that time CPU is already running so impact for power consumption is lesser.
Pauli, patch works well! Thanks! Gnome developers, please get it to upstream!
Created attachment 180646 [details] [review] disable while typing time feature Patch makes touchpad-idle time configurable by editing gconf key. (but it is not configurable thought gnome-control-center because I confused by glade & gtk+). patch for gnome-settings-daemon-2.30.2 Sorry, for my English.
Comment on attachment 180646 [details] [review] disable while typing time feature First the patch is against 2.30, and we're coding for GNOME 3 now, which doesn't use GConf. That patch is missing schemas changes anyway. Secondly, it's unrelated to the original bug request.
Review of attachment 178408 [details] [review]: Any reasons why that's not the default mode when syndaemon is compiled with XRecord support?
(In reply to comment #4) > Review of attachment 178408 [details] [review]: > > Any reasons why that's not the default mode when syndaemon is compiled with > XRecord support? XRecord use to be broken fro a while (xserver 1.5-1.7 if I remember correctly) I guess that could be reason.
Peter, any comments on that patch? Looks fine to me, although I don't know how it would work if syndaemon was compiled without XRecord support.
syndaemon will automatically fall back to normal mode if record isn't compiled in. http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/tree/tools /syndaemon.c#n599 though it looks like it'll fail if record was requested and the X server doesn't support it. I'll go fix that up.
Attachment 178408 [details] pushed as f7071bf - mouse: Use event driven mode for syndaemon