blob: 947a0be7b02cf1183c7ae1a98c395c22f956cac7 [file] [log] [blame]
# Copyright 2016 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.
description "Workaround for kernel MIDI driver bugs"
author ""
# This needs to finish before Chrome launches.
start on starting ui
# Workaround for MIDI devices not being detected if none have been
# connected before loading a Web MIDI page.
# See
# This was fixed in linux-3.19+.
modprobe -q snd_seq_midi \
|| logger -t "$UPSTART_JOB" "modprobe snd_seq_midi failed."
end script