[node-patches] Change in ovirt-node[node-3.0]: init: Disable USB auto-suspend

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Dec 18 08:37:24 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Disable USB auto-suspend
......................................................................

init: Disable USB auto-suspend

USb auto-suspend is disabled at boot to prevent problems with e.g.
virtual keyboards.

Change-Id: I6667f07694484986e5c7b834f55a5a574c3d7f6f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=850785
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/01/22501/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 77b45b9..80d95f2 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -765,6 +765,9 @@
         esac
     done
 
+    # Disable USB power-saving
+    echo -1 > /sys/module/usbcore/parameters/autosuspend
+
     for hook in $ovirt_early; do
         pre="$EARLY_DIR/pre-$hook"
         if [ -e "$pre" ]; then


-- 
To view, visit http://gerrit.ovirt.org/22501
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6667f07694484986e5c7b834f55a5a574c3d7f6f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list