first commit

This commit is contained in:
momen
2021-10-21 14:57:58 +08:00
parent ba65bf40aa
commit 8184931095
572 changed files with 3165246 additions and 305 deletions

View File

@@ -0,0 +1,29 @@
# 10.5 关闭错误报警蜂鸣声
1 检查模块是否启动lsmod |grep pcspkr
2 临时关闭sudo rmmod pcspkr
3 永久关闭:
4 方法一:
5 deepin-editor ~/.profile 添加下面三行内容
6 sudo -S rmmod pcspkr <<EOF
7 password(你的密码)
8 EOF
9 在Shell脚本中通常将EOF与 << 结合使用表示后续的输入作为子命令或子Shell的输入 直到遇到EOF为止再返回到主Shell,即将‘你的密码’当做命令的输入。
10 方法二:
11 sudo deepin-editor /etc/modprobe.d/nobeep.conf 添加 blacklist pcspkr
12 经测试虽然pcspkr不再自启动但电脑启动时会发出奇怪噪音错误报警声仍然存在。
13 备注:
14 如果开机画面屏幕输出”Driver 'pcspkr' is already registered “则可用方法二解决。