LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2005, 07:28 PM   #1
hawarden
Newbie
 
Registered: Feb 2005
Location: Hawaii
Distribution: centos/fedora/redhat/solaris
Posts: 28

Rep: Reputation: 15
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.
 
Old 10-28-2005, 04:17 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You don't. You hook up a pc speaker to your motherboard pc speaker connector. It's a separate entity and bios controlled. I2C I believe it's called talks to your BIOS and tells the speaker to beep. It's low level kernel stuff and can't play mp3's when the ocean swells onto your pc, as far as I know. But, there could be a program like gkrellm that can translate the alerts to sound files. But that sits atop the GUI and won't run if the GUI isn't.
 
Old 10-28-2005, 02:39 PM   #3
hawarden
Newbie
 
Registered: Feb 2005
Location: Hawaii
Distribution: centos/fedora/redhat/solaris
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the suggestions. I will try them and see what happens.

Thanks a lot!
Miranda
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd server: can connect locally, not remotely propz Linux - Networking 2 10-24-2005 12:59 AM
Can't get NIS/YP to work remotely, only locally ugenn Linux - Networking 1 03-07-2005 04:20 AM
tightVNC works locally but not remotely? mikeli Linux - Software 2 02-01-2005 04:48 AM
Reboots locally not remotely dolem98 Linux - Software 2 07-08-2004 09:05 AM
Reboots locally not remotely dolem98 Slackware 10 07-08-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration