Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
更新至15.6之后登录时蜂鸣器响的临时解决办法
Experiences and Insight
870
views ·
2
replies ·
To
floor
Go
189******02
deepin
2018-06-18 05:50
Author
本帖最后由 lockdown 于 2018-6-17 22:20 编辑
表示目前并不了解登录时蜂鸣器会响的原因,不过大家可以尝试这个方法
系统启动时移除蜂鸣器的内核模块pcspkr即可,这样登录时就没有蜂鸣器的声音
1. 编辑 /etc/rc.local (没有就新建)
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export=PATH
rmmod pcspkr
exit 0
保存退出
2. 设置执行权限:
sudo chmod 755 /etc/rc.local
3. 启用rc-local服务
sudo systemctl start rc-local; sudo systemctl enable rc-local
4. 最后可以查看一下rc-local服务的运行状态
sudo systemctl status rc-local
看到:
● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/lib/systemd/system/rc-local.service; enabled-runtime; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
└─debian.conf
Active: active (exited) since Sun 2018-06-17 21:38:47 CST; 5min ago
Process: 1104 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/rc-local.service
说明OK了
接下来重启试试
Reply
Like 0
Favorite
View the author
All Replies
189******18
deepin
2018-06-18 06:09
#1
牛逼!!!
Reply
Like 0
View the author
VI~TONISEN
deepin
2018-06-18 06:21
#2
可以了,不呜了,
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Taskbar no longer shows popups
Four agent skills for laptop power, sleep, and honest bug reports
Popular Events
More
表示目前并不了解登录时蜂鸣器会响的原因,不过大家可以尝试这个方法
系统启动时移除蜂鸣器的内核模块pcspkr即可,这样登录时就没有蜂鸣器的声音
1. 编辑 /etc/rc.local (没有就新建)
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export=PATH
rmmod pcspkr
exit 0
保存退出
2. 设置执行权限:
sudo chmod 755 /etc/rc.local
3. 启用rc-local服务
sudo systemctl start rc-local; sudo systemctl enable rc-local
4. 最后可以查看一下rc-local服务的运行状态
sudo systemctl status rc-local
看到:
● rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/lib/systemd/system/rc-local.service; enabled-runtime; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
└─debian.conf
Active: active (exited) since Sun 2018-06-17 21:38:47 CST; 5min ago
Process: 1104 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/rc-local.service
说明OK了
接下来重启试试