#!/bin/bash | |
# Copyright 2019 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
modify_kernel_command_line() { | |
{ | |
# Disable USB 3.0 LPM for Huddly Go | |
quirks="2bd9:0011:k" | |
# Disable USB 3.0 LPM for Huddly IQ in Boxfish mode | |
quirks+=",2bd9:0021:k" | |
# Disable USB 3.0 LPM for Huddly IQ in Clownfish mode | |
quirks+=",2bd9:0031:k" | |
# Aggregate and export | |
echo "usbcore.quirks=${quirks}" | |
} >> "$1" | |
} |