Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a computer that I'm going to leave over at a friends house as a backup server. It won't have a monitor or keyboard hooked up, just power and network cable, so I wanted to throw in at the end of the shutdown script a beep that indicates the computer has been shutdown completely and is ok to power off since it doen't automatically turn off. How can I do this? I know there is a pc speaker driver out there that lets you play wav files and stuff, but I don't want that just something that I can send like send 1000 hz tone for 250 milliseconds then 2000 hz for 250 milliseconds, etc. Would have to write a program to do that, if so, how would I do that? I know a little bit of C++, but not that much.
That beep link works great. It's not included with slackware, but I was able to compile and run it without any problems, although I did have to set the suid sticky. Now I can play with all the tones I can make
as a side note, wonder how come I never got any notification of replies, I have the email notification checked by default (only reason I saw the replies was because I was going to post a link to that beep program ). Ohh well. For the heck of it, the freshmeat page is http://freshmeat.net/projects/beep/