Author: jsuchome Date: Wed Nov 12 07:52:30 2008 New Revision: 53184 URL: http://svn.opensuse.org/viewcvs/yast?rev=53184&view=rev Log: - disabled autorepeat in XEN (bnc#371756, bnc#376945) - 2.17.25 Modified: trunk/country/VERSION trunk/country/keyboard/src/modules/Keyboard.ycp trunk/country/package/yast2-country.changes Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=53184&r1=53183&r2=53184&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Wed Nov 12 07:52:30 2008 @@ -1 +1 @@ -2.17.24 +2.17.25 Modified: trunk/country/keyboard/src/modules/Keyboard.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/keyboard/src/modules/Keyboard.ycp?rev=53184&r1=53183&r2=53184&view=diff ============================================================================== --- trunk/country/keyboard/src/modules/Keyboard.ycp (original) +++ trunk/country/keyboard/src/modules/Keyboard.ycp Wed Nov 12 07:52:30 2008 @@ -212,6 +212,9 @@ list keyboardprobelist = []; // List of all probed keyboards + // running in XEN? + boolean xen_is_running = nil; + // ---------------------------------------------------------------------- // END: Locally defined data // ---------------------------------------------------------------------- @@ -460,6 +463,13 @@ return kb; } +// check if we are running in XEN (autorepeat functionality not supported) +// seem bnc#376945, #371756 +boolean xen_running () { + if (xen_is_running == nil) + xen_is_running = (boolean) SCR::Read (.probe.xen); + return (xen_is_running == true); +} /** @@ -1136,7 +1146,8 @@ y2milestone ("Setting X11 keyboard to: <%1>", current_kbd ); y2milestone ("Setting X11 keyboard:\n %1", xkb_cmd ); SCR::Execute (.target.bash, xkb_cmd); - if (Stage::initial () || !Mode::live_installation ()) + if (Stage::initial () && !Mode::live_installation () && + !xen_running ()) { string cmd = "xset r rate 660 25"; y2milestone ("calling xset to fix autorepeat problem: %1", cmd); Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=53184&r1=53183&r2=53184&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Wed Nov 12 07:52:30 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 12 07:38:13 CET 2008 - jsuchome@suse.cz + +- disabled autorepeat in XEN (bnc#371756, bnc#376945) +- 2.17.25 + +------------------------------------------------------------------- Tue Nov 11 09:34:52 CET 2008 - jsuchome@suse.cz - workaround for autorepeat problem (bnc#371756) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org