[SOLVED]A Workaround for "pcspkr is already registered"

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[SOLVED]A Workaround for "pcspkr is already registered"

Postby Digger1 » 2011-12-03 21:23

Here is my rig:

Code: Select all
Squeeze 6.0.3; 2.6.32 kernel; amd64

Intel i7-980 Gulftown CPU
Asus P6X58D Premium Motherboard
EVGA GeForce GTS-450 Graphics Card
G.SKILL Ripjaw DDR3-1600, PC3-12800, 1.5v RAM (6x4GB sticks, 24GB total)
Crucial RealSSD C300 128GB SSD
Western Digital Caviar Black 1TB HDD
Corsair HX850 PSU
MSI TV@nywhere Plus Analog Video Capture Card
Asus DRW-24B1ST Black STAT 24X DVD/CD Player/Burner, OEM
AFT XM-35U Black Kiosk Card Reader (3.5")
Lian Li PC-9F Case
2006-Vintage HP Internet Keyboard (PS/2)
Acer H203H LCD Wide-Screen monitor
Logitech M-SBF96 PS/2 Mouse
HP Photosmart Premium Fax e-All-In-One C410 Printer
Actiontec Q1000 Modem/Router
1998-Vintage Altec Lansing Speakers



I was getting the following message during boot:

Code: Select all
kernel: [    3.205709] Error: Driver 'pcspkr' is already registered, aborting...

FYI, during my hardware build, I plugged a small "beeper-type" speaker into the "System Warning Speaker" header on my mobo...it was a spare that was sitting around.

In addition, my "beeper" was not working after the boot.....and I'm in the small camp of folks that like the "beeper."

Anyway, I read something about this error occuring because of a conflict between the "snd-pcsp" and the "pcspkr" modules.

Here is my "workaround":

First, I blacklisted "snd-pcsp" in "/etc/modprobe.d/blacklist.conf". That got rid of the error message, but my "beeper" was still not working.

So, I inserted the following lines into "/etc/rc.local":

Code: Select all
modprobe -r pcspkr
modprobe pcspkr

Voila, I've got the beeper back, with no error messages.

I don't have my speakers hooked up yet, nor have I loaded ALSA, so I'm wondering whether I'm going to miss "snd-pcsp".

Thoughts?
Squeeze on two machines, Wheezy on the other...
http://www.astronautbiker.com
User avatar
Digger1
 
Posts: 152
Joined: 2011-01-08 21:03
Location: Colorado Springs, CO

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable