LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to re-add pcspkr module after using modprobe to remove it (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-re-add-pcspkr-module-after-using-modprobe-to-remove-it-4175736463/)

echo_LOGNAME 04-26-2024 09:11 PM

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!

friendlysalmon8827 04-26-2024 10:19 PM

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/


All times are GMT -5. The time now is 08:49 AM.