- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- B180 constant beeping- C help needed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 06:35 AM
02-15-2003 06:35 AM
B180 constant beeping- C help needed
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x215e0fe6d0f7d61190050090279cd0f9,00.html
and would like to try it.
how do i create this program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2003 10:03 AM
02-15-2003 10:03 AM
Re: B180 constant beeping- C help needed
1- Cut and paste the program (mute.c) onto your favorite text editor.
2- Compile it as per the instruction and make sure the compiled program (mute) is executable.
3- Place the program in /sbin (bin:bin and 555).
4- Create a control var file in /etc/rc.config.d/mute for example. In the file put something like ..
MUTE=1
(ie to enable it).
5- Create your startup script in /sbin/init.d (use the file "template" to build your script). In you script call the "mute" program /sbin. Refer to the control var "MUTE" in /etc/rc.config.d to determine if it should be run or not.
6- Create the appropriate sym link in /sbin/rc2.d , it should probably be started executed in the sequence (eg: S999mute).
Finally test it by by rebooting your system. The above asssumes you want to stop the constant beeping upon system startup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 06:50 AM
02-19-2003 06:50 AM
Re: B180 constant beeping- C help needed
The Beeps...
well sometimes it beeps too much
sometimes not at all
just one thing
when I cc -o mute mute.c
I get the following:
#cc -o mute mute.c
(Bundled) cc: "mute.c", line 8: error 1588: "AUDIO_BEEP_OFF" undefined.
(Bundled) cc: "mute.c", line 8: error 1600: Type clash on initialization.
(Bundled) cc: "mute.c", line 11: error 1588: "AUDIO_BEEP_ON" undefined.
(Bundled) cc: "mute.c", line 19: error 1588: "O_RDWR" undefined.
(Bundled) cc: "mute.c", line 25: error 1588: "AUDIO_SET_BEEP_OUTPUT" undefined.
root on pilot:/>
not sure if the program works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:15 AM
02-19-2003 07:15 AM
Re: B180 constant beeping- C help needed
There could be a couple of reasons for
answers like these above - no audio.h-file
or compiler cannot find path to it:
1.)Try:
#find / -name audio.h
to find out the location of this file - it
must be dir: /usr/lib/sys.
2.)Check the PATH-variable for /usr/lib - entry:
#echo $PATH
Rgrds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 07:28 AM
02-19-2003 07:28 AM
Re: B180 constant beeping- C help needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 08:27 AM
02-19-2003 08:27 AM
Re: B180 constant beeping- C help needed
thanks for the help Chan & JS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 08:31 AM
02-19-2003 08:31 AM
Re: B180 constant beeping- C help needed
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 03:06 PM
02-24-2003 03:06 PM
Re: B180 constant beeping- C help needed
I tried that first, does not work.
Seems as if it affects the speaker volume of PC.
I'm baffled!