我在安裝了 Ubuntu Studio 的 HP Pavilion 上運行 Kubuntu 18.04,透過 USB 連接到雅馬哈電鋼琴。當我啟動 Rosegarden 或aplaymidi
MIDI 檔案時,聲音從鋼琴發出約 15 秒,然後消失。 (程式繼續運作並仍顯示進度。)只有重新啟動才能恢復聲音。無論我嘗試 Rosegaden 還是aplaymidi
在剪掉之後都沒關係。我非常確定鋼琴及其設定都沒有問題,因為即使我在 Windows 和 Kubuntu 之間來回切換,在使用 Yamaha USB 驅動程式(這是雙啟動機器)的 Windows 10 中一切都可以正常工作。
我怎樣才能追蹤到這個?
更新:我嘗試/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
行為沒有改變——大約一分鐘後聲音仍然消失。