如何禁用磁盘卸载/安装声音

如何禁用磁盘卸载/安装声音

我在 MacBook Pro 上运行 Ubuntu 18.04,当没有物理设备发生改变时,我会定期听到磁盘卸载然后立即再次安装的“敲敲”声。我已经在设置菜单中关闭了系统音效,但这似乎不会影响磁盘安装声音。如何禁用此音效?

编辑:我检查了系统日志,发现当声音发生时发生了 USB 断开/连接事件

May 26 19:03:48 Midgard kernel: [36412.160010] usb 2-4: USB disconnect, device number 29
May 26 19:03:48 Midgard kernel: [36412.160167] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
May 26 19:03:48 Midgard upowerd[1172]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0
May 26 19:03:48 Midgard upowerd[1172]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4
May 26 19:03:48 Midgard kernel: [36412.532184] usb 2-4: new SuperSpeed Gen 1 USB device number 30 using xhci_hcd
May 26 19:03:48 Midgard kernel: [36412.554871] usb 2-4: New USB device found, idVendor=05ac, idProduct=8406, bcdDevice= 8.20
May 26 19:03:48 Midgard kernel: [36412.554875] usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
May 26 19:03:48 Midgard kernel: [36412.554877] usb 2-4: Product: Card Reader
May 26 19:03:48 Midgard kernel: [36412.554879] usb 2-4: Manufacturer: Apple
May 26 19:03:48 Midgard kernel: [36412.554880] usb 2-4: SerialNumber: 000000000820
May 26 19:03:48 Midgard kernel: [36412.558095] usb-storage 2-4:1.0: USB Mass Storage device detected
May 26 19:03:48 Midgard kernel: [36412.558385] scsi host1: usb-storage 2-4:1.0
May 26 19:03:48 Midgard mtp-probe: checking bus 2, device 30: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4"
May 26 19:03:48 Midgard mtp-probe: bus: 2, device: 30 was not an MTP device
May 26 19:03:48 Midgard upowerd[1172]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0
May 26 19:03:48 Midgard upowerd[1172]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-4
May 26 19:03:49 Midgard kernel: [36413.574344] scsi 1:0:0:0: Direct-Access     APPLE    SD Card Reader   3.00 PQ: 0 ANSI: 6
May 26 19:03:49 Midgard kernel: [36413.574881] sd 1:0:0:0: Attached scsi generic sg1 type 0
May 26 19:03:49 Midgard kernel: [36413.576264] sd 1:0:0:0: [sdb] Attached SCSI removable disk

有什么想法可以阻止这种情况发生吗?

答案1

打开系统设置>声音>在这里您可以选择打开和关闭与特定应用程序/任务相关的功能。

相关内容