ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cutting power by software - what device do i need?
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Vincent Diepeveen



Joined: 09 Mar 2006
Posts: 1738
Location: The Netherlands

PostPost subject: Re: Cutting power by software - what device do i need?    Posted: Mon Mar 19, 2012 6:06 pm Reply to topic Reply with quote

bob wrote:
diep wrote:
hi,

My chessprogram runs on a box that uses a switch that doesn't have a 'power off' button.

This mellanox switch however, you can see from my facebook pictures there (my entire facebook is open to the entire world to browse), it produces 75 decibel or so and i sit a few meters away from it.

Now i got rid of the fans from the switch and replaced it by cardboard and big outside fans. Where the psu can give power to 1 fan that cools the psu (hopefully it'll go ok as the airpressure of the fans i use isn't that high), the other 3 fans from the case do not have this luxury solution. The easiest solution is use an external adapter.

This external adapter could break at which point a disaster might happen to the switch. From 1 of the motherboards of the box i can easily monitor the RPM of the external fans. If one of them drops to near zero, which would happen for example if the adapter breaks, then i want to give the controlling proces there the order to cut the power of the switch.

Writing the software i'll manage, but what device to use that i can control by software or maybe even a simpler solution is there.

Note that i do realize this is not a 100% solution, yet the odds that one day the 12 volt adapter breaks is there, so i want to catch THAT possibility.

I feel some cheapskate solution probably exists. Any thoughts on how to solve this i welcome.


This linux, windows, or some other custom o/s???

In linux it is pretty easy to write a shell script to access the lm_sensors info, and if a fan's rpm drops to some chosen value, shut the system down quickly...


Right lm_sensors it is. Problem is not the software. Problem is how to interrupt power of the switch. I need a device that can react onto the computer.

Now i can of course buy a legorobot that can do it using robot-OS - maybe there is something cheaper.

The switch doesn't have a 'turn off' button.

So i need to physical build something that can be steered by computer. Any thoughts on that?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Subject Author Date/Time
Cutting power by software - what device do i need? Vincent Diepeveen Mon Mar 19, 2012 8:54 am
      Re: Cutting power by software - what device do i need? Robert Hyatt Mon Mar 19, 2012 4:46 pm
            Re: Cutting power by software - what device do i need? Vincent Diepeveen Mon Mar 19, 2012 6:06 pm
                  Re: Cutting power by software - what device do i need? J. Wesley Cleveland Mon Mar 19, 2012 6:19 pm
                        Re: Cutting power by software - what device do i need? Vincent Diepeveen Mon Mar 19, 2012 8:05 pm
                              Re: Cutting power by software - what device do i need? Robert Hyatt Mon Mar 19, 2012 11:36 pm
                  Re: Cutting power by software - what device do i need? Ben-Hur Carlos Langoni Mon Mar 19, 2012 8:54 pm
                        Re: Cutting power by software - what device do i need? Vincent Diepeveen Mon Mar 19, 2012 9:27 pm
                              Re: Cutting power by software - what device do i need? Ronald de Man Mon Mar 19, 2012 10:27 pm
                                    Re: Cutting power by software - what device do i need? Vincent Diepeveen Mon Mar 19, 2012 11:15 pm
                                    Re: Cutting power by software - what device do i need? Robert Hyatt Mon Mar 19, 2012 11:37 pm
                  Re: Cutting power by software - what device do i need? Robert Hyatt Mon Mar 19, 2012 11:27 pm
                        Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 12:00 am
                              Re: Cutting power by software - what device do i need? Robert Hyatt Tue Mar 20, 2012 12:22 am
                                    Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 12:40 am
                                          Re: Cutting power by software - what device do i need? Robert Hyatt Tue Mar 20, 2012 1:15 am
                                                Re: Cutting power by software - what device do i need? Adam Hair Tue Mar 20, 2012 2:05 am
                                                      Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 2:39 am
                                                Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 2:40 am
                                          Re: Cutting power by software - what device do i need? Adam Hair Tue Mar 20, 2012 2:22 am
                                                Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 2:48 am
                                                      Re: Cutting power by software - what device do i need? Robert Hyatt Tue Mar 20, 2012 4:45 am
                                                            Re: Cutting power by software - what device do i need? Vincent Diepeveen Tue Mar 20, 2012 12:31 pm
                                    Re: Cutting power by software - what device do i need? Ben-Hur Carlos Langoni Tue Mar 20, 2012 2:49 pm
                                          Re: Cutting power by software - what device do i need? Vincent Diepeveen Wed Mar 21, 2012 12:17 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads