You are not logged in.

#1 2009-07-17 20:39:59

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Mute "emulated" PC Speaker

Hello all --

I just bought a Dell XPS M1330, and the first thing I did was wiped vista and put arch on it (and windows 7).

Everything works great out of the box, even the finger print reader, which I was suprised about (I ended up disabling it, it was taking 5-10 seconds to accept my password or fingerprint). There's only one problem I've run into.

I guess it doesn't have an internal PC speaker, so it emulates one. This wouldn't be a bad thing, except the sound is awful. It's like a high-pitched bleet, and it happens when I do a lot of things like tab completion, exiting vim, etc (I guess I'm not used to it, my desktop does not have a PC speaker in it). I would like to disable it. I've tried blacklisting pcspkr in modules, but since it's not an actual speaker, that didn't work. I've found what looks to be a couple items to help:

cat /proc/bus/input/devices
.
.
.
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: EV=40001
B: SND=6
.
.
.
I: Bus=0001 Vendor=8384 Product=7616 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/input/input7
U: Uniq=
H: Handlers=kbd event7 
B: EV=40001
B: SND=6

Is there a way to rid my life of this horrible sound?

Last edited by heleos (2009-07-17 22:18:01)

Offline

#2 2009-07-17 21:16:23

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Mute "emulated" PC Speaker

You could try putting !pcspkr in your /etc/rc.conf file:

MODULES=(!pcspkr)

... then reboot.

Deej

Offline

#3 2009-07-17 21:17:29

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Mute "emulated" PC Speaker

heleos wrote:

...I've tried blacklisting pcspkr in modules, but since it's not an actual speaker, that didn't work...

Tried that

Offline

#4 2009-07-17 22:15:20

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: Mute "emulated" PC Speaker

I use

xset b off

Put it in your .bashrc or for system wide /etc/profile

If you type it in your terminal it should work immediately.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#5 2009-07-17 22:16:30

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Mute "emulated" PC Speaker

I put solved in the title, but I spoke too soon. Reinstalling OSS fixed the beeps, but only because there is no sound at all tongue I'm still working on getting OSS working on the laptop

Offline

#6 2009-07-17 23:24:02

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: Mute "emulated" PC Speaker

There is another thread here in the Newbie Corner which may help: http://bbs.archlinux.org/viewtopic.php?id=75472

Offline

#7 2009-07-17 23:24:42

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: Mute "emulated" PC Speaker

Yeah, I just noticed that thread. Unfortunately, he's using alsa, and I'd like to use OSS if possible

Offline

Board footer

Powered by FluxBB