Jump to content

Mandriva 2009.1:PC Speaker system beep not working


Guest mpward
 Share

Recommended Posts

The PC speaker is not working: when I run

echo "\a"

in an xterm or konsole there is no beep.

 

lsmod shows that the pcspkr module is installed:

pcspkr                  2268  0 

 

The speaker beeps on startup and shutdown.

 

"xset q" says:

bell percent:  100    bell pitch:  400    bell duration:  50

 

"xrdb -query" says:

XTerm*audibleBell:      true

 

kmixer has the PC Speaker volume at 100%

 

Clicking on the "test" button in:

System Settings -> Notification -> System bell

does produce a beep!

 

Any ideas?

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

I believe that you need to use the -e option

echo -e "\a"

However that's not the problem, because that doesn't work either.

 

I'd suggest that you take a look at this revision: revision 347509

 

That revision may be your problem, but I'm not sure. I would also suggest that you file a bug report on this.

 

Welcome aboard! :)

Link to comment
Share on other sites

Thanks for the reply.

 

/bin/echo requires the -e option, but I am using tcsh which has an echo builtin which interpolates backslash-escaped characters by default.

 

I took this line out of /etc/rc.d/rc.alsa_default to see if it made any difference (it didn't):

# Fix excessive loud beep on intel hda: #45386
       |PC\ Beep

As I said, the beep works on the console, it also works if I press Control-Alt-F1 and login to /dev/tty1

 

The files in $HOME/.kde4/share/config have the following references to "bell":

kaccessrc:[bell]
kaccessrc:ArtsBell=false
kaccessrc:SystemBell=true
kaccessrc:VisibleBell=false
kaccessrc:VisibleBellColor=255,0,0
kaccessrc:VisibleBellInvert=true
kaccessrc:VisibleBellPause=500
kdeglobals:UseSystemBell=true
konsole.notifyrc:[Event/BellInvisible]
konsole.notifyrc:[Event/BellVisible]

 

I can get konsole to run the command:

/bin/echo -e "\a" > /dev/console

when it wants to ring the bell (via Settings -> Notifications).

There isn't an option to use the system bell for notifications here!

 

Also, this doesn't work with xterm (my preferred terminal).

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...