MIDI 设备(Yamaha 电子钢琴)约 15 秒后切断

MIDI 设备(Yamaha 电子钢琴)约 15 秒后切断

我在安装了 Ubuntu Studio 的 HP Pavilion 上运行 Kubuntu 18.04,通过 USB 连接到 Yamaha 电子钢琴。当我启动 Rosegarden 或aplaymidiMIDI 文件时,钢琴发出声音约 15 秒,然后停止。(程序继续运行并仍显示进度。)只有重新启动才能恢复声音。无论我尝试 Rosegaden 还是aplaymidi在停止后尝试,都没有关系。我很确定钢琴及其设置都没有问题,因为在 Windows 10 中使用 Yamaha 的 USB 驱动程序(这是一台双启动机器)时一切都正常工作,即使我在 Windows 和 Kubuntu 之间来回切换也是如此。

我怎样才能追踪到这个?

更新:我尝试/etc/default/grub按照回复中的建议进行修改:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="saved"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1 quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_SAVEDEFAULT="true"

然后我做了:

sudo update-grub
sudo grub-install /dev/sda

行为没有改变——大约一分钟后声音仍然停止。

相关内容