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

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 10 11:43:17 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/34/22234/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index d9218c7..4834dd5 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -807,6 +807,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/22234
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list