centos 4.2: terminal bell works remotely, but not locally
I am setting up a computer running CentOS 4.2. It's a week-old install so pretty clean. I have a tcl/tk program that is supposed to monitor humidity and beep when the humidity reaches a certain level. If I remotely log into the computer and export the display, when I run the program and the humidity alarm is triggered, I hear the beeps on my local speakers (as I should). When I log in on the console of the CentOS computer and run my program, when the humidity alarm is triggered, there are no beeps. I have tested the speakers and sound on the computer and everything is working just fine. I have tried xset b on/xset b off and it works correctly on the remote terminal but again, no change on the local console. I have tried this under gnome and openwin (olvwm)[ -- don't ask, we need to have it installed] and no luck on either side. I have tried control+g, echo "\007", echo "\a', and none work locally. If I log in on the commandline (init 3), it doesn't work either.
I forgot to mention that I tried messing with modprobe but that didn't help either (modprobe -l pcspkr ;modprobe pcspkr;^G).
UPDATE: 10/27
Ok, today we opened the box and looked for the internal speaker, since the computer does not produce POST beeps either. Turns out this case does not have a built-in speaker. When we hooked one up to the motherboard, bingo it works, too bad we can't use that speaker. Now my question is how do I direct the output for the internal speaker to the sound card? And is this window manager dependent?
Does anyone have any ideas?
Thanks!
Last edited by hawarden; 10-27-2005 at 06:44 PM.
|