LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2024, 09:11 PM   #1
echo_LOGNAME
LQ Newbie
 
Registered: Apr 2024
Posts: 1

Rep: Reputation: 0
Unhappy Unable to re-add pcspkr module after using modprobe to remove it


(I'm using Ubuntu Jammy Jellyfish with vanilla Gnome).
In an attempt to get the beep command to work, I read on a forum that I could do:

# unload pcspkr module
sudo modprobe -r pcspkr
# add snd-pcsp module
sudo modprobe snd-pcsp


However, now my computer can't produce any sound at all. I think beep works fine now, but I couldn't tell until I tried playing a YouTube video and nothing no matter what I did to the volume.
So, I tried to add it back:

sudo modprobe pcspkr

but got the error:

modprobe: ERROR: could not insert 'pcspkr': Device or resource busy

So, I tried removing snd-pcsp if it was causing the issue:

sudo modprobe -r snd-pcsp

with the resulting error:

modprobe: FATAL: Module snd_pcsp is in use.

So, I checked to see what was installed and what wasn't.

lsmod | grep pcspkr

Returned nothing and:

lsmod | grep snd-pcsp

also returned nothing.
Any advice on how to fix this would be greatly appreciated!

Last edited by echo_LOGNAME; 04-26-2024 at 09:15 PM. Reason: fixed spacing
 
Old 04-26-2024, 10:19 PM   #2
friendlysalmon8827
Member
 
Registered: Dec 2023
Distribution: Anfroid,Debian
Posts: 99

Rep: Reputation: 5
Your explanation of the issue is pretty good however, we need to have more information in order to help you further solve your problem

May I recommend that you try to extract log-files fro the file system hierarchy in the filesystem liisted below.

/var/log/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Beep on Shutdown, Not Related to pcspkr apt-get Debian 12 10-13-2011 04:11 PM
How do I use pcspkr? RandomTroll Linux - Kernel 2 04-06-2010 08:39 PM
PC speaker still sounding without "pcspkr" module... (Arch) Azzy Linux - Software 2 10-31-2008 08:54 AM
udev - How to blacklist pcspkr? hoofer Linux - Software 3 06-06-2007 12:39 PM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration