How can I blacklist the 'pcspkr' module?
I really hate my laptop's "beep" speaker... it's super-loud and super-obnoxious. Currently, whenever I log in, one of the first things I do is 'sudo rmmod pcspkr'... there *must* be a way to automate this.
How can I blacklist some arbitrary kernel module, or, barring that, at least automatically rmmod it when Ubuntu boots?
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- I Gede Bagus Kosha
- Solved:
- 2007-08-30
- Last query:
- 2007-08-30
- Last reply:
- 2007-08-15
Hello,
you can add your command to the rc file in /etc/init.d/ The rc file includes all commands which starts or stops services which will execute by every runlevel change.
br
Mathias
|
|
#2 |
You can add your kernel module at /etc/modprobe.
Thanks I Gede Bagus Kosha P, that solved my question.
That did the trick... thanks!
| Ktron (kevin-hamer) said : | #5 |
Yes, Kosha answer works perfectly in Feisty and Gutsy (at least).
Update: Jaunty Jackalope
Add 'blacklist pcspkr' to the file /etc/modprobe.

