Changed the subject for it to be relevant to the OP
On Sun, Feb 17, 2013 at 11:58 PM, Joel Rebello <joelmadzu(a)gmail.com> wrote:
........... trimmed a lot of the irrelevant quote from the *digest* message
> Hey,
>
> Im from Vasai, where we have frequent powercuts. I run a linux box at home
> which basically acts as my home server(box)
> I currently use the GPIO pin on my wifi router(running openwrt) to 'sense'
> powercuts, which in turn powers off the box and turns it back on when power
> resumes.
> Let me know if you'd like more details on the setup and code, I'd be happy
> to share :)
Thanks for sharing your idea.
*However* - when you reply make sure you
1. Change the subject line to that of the Original Post
2. Trim *all* other messages in the digest and only include that is
relevant to what you are responding to.
It takes a few more seconds to do so *but* it does make your post a
lot more enjoyable to read.
-- Arun Khan
On Friday 15 February 2013 19:57:59 Binand Sethumadhavan wrote:
> I am thinking of something like a mobile charger that would plug in a
> regular 3-pin plug at one end and a computer at the other, and some
> software/sensor combo that would read the (DC) voltage at the computer
end.
> If there is no voltage, there is no power in the mains and ergo - we are
in
> the middle of a power outage, so take action. Know of something along
these
> lines?
My mails to the list are getting rejected, so the direct post.
You will need either a serial or parallel port.
if you have a parallel port connect the output of the psu (PSU ouput must be
5v ) thru a 1 K resistor to pin 2 of the 25 pin dshell connector.
Use this program to read the printerport
http://www.epanorama.net/circuits/portcontrol.tar
The link below provides nice info
http://www.epanorama.net/circuits/parallel_output.html
You can also use the serial port with the psu wired to one odf the following
inputs dcd, RI, CTS or DSR. RTS and DTR can be used as o/p via a opto
isolated relay to fire your dg or alarm etc.
>
> (idea is to detect power failures, while powered by a "dumb" UPS unit -
one
> that cannot communicate with the a computer. Any other
> solutions/suggestions?).
you might wire the ups batteries thru a LM393 comparator and feed the op/ to
pin 3. then you will be able to shut the pc when the ups is about to shut.
Or if you are up to it use a small microcontroller (pic or avr arduino)
with an ADC and connected to USB.
BTW we do a server room monitoring system that monitors rack temprature and
ups + mains 3 phase and send smses on failure of any of the above.
Kindly forward to the list.
>
> Binand
On Sun, Feb 17, 2013 at 10:30 PM, <linuxers-request(a)mm.ilug-bom.org.in>wrote:
> Send Linuxers mailing list submissions to
> linuxers(a)mm.ilug-bom.org.in
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> or, via email, send a message with subject or body 'help' to
> linuxers-request(a)mm.ilug-bom.org.in
>
> You can reach the person managing the list at
> linuxers-owner(a)mm.ilug-bom.org.in
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Linuxers digest..."
>
>
> Today's Topics:
>
> 1. Re: Ubuntu Global Jam Mumbai 2013 for Ubuntu Raring Ringtail
> (Rigved Rakshit)
> 2. Re: How to detect a power failure? (gnulinuxist(a)gmail.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 17 Feb 2013 02:21:02 +0530
> From: Rigved Rakshit <r.phate(a)gmail.com>
> To: mumbailug(a)googlegroups.com, Mumbai LUG
> <linuxers(a)mm.ilug-bom.org.in>
> Subject: Re: [ILUG-BOM] Ubuntu Global Jam Mumbai 2013 for Ubuntu
> Raring Ringtail
> Message-ID:
> <
> CAEuhoydO7nY5nHW_4vpj96GKgBNRq4sa7370WbC+UK7fz4DWmA(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> > The dates are tentative because Canonical themselves have not released
> > the dates. Once that is done, I will let you guys know the final
> > dates. This is one of the "problems" of planning events ahead of time.
> > But I am hoping that this will give everyone enough time to plan and
> > attend the event!
>
> Dates have been finalised. Now, it will be on March 2 and 3. Here is the
> event page: http://loco.ubuntu.com/events/indian-team/2235/detail/ . As of
> now, I have kept the event only on Saturday and Sunday. But if people are
> interested, I can keep it on Friday as well.
>
> Best Regards,
> Rigved Rakshit
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 17 Feb 2013 14:54:55 +0000
> From: "gnulinuxist(a)gmail.com" <gnulinuxist(a)gmail.com>
> To: "linuxers(a)mm.ilug-bom.org.in" <linuxers(a)mm.ilug-bom.org.in>
> Subject: Re: [ILUG-BOM] How to detect a power failure?
> Message-ID: <5120ef43.8148420a.567d.ffffb7ad(a)mx.google.com>
> Content-Type: TEXT/PLAIN; charset=UTF-8
>
>
>
> -----Original Message-----
> From: Arun Khan
> Sent: 16/02/2013, 01:45
> To: GNU/Linux Users Group, Mumbai, India
> Subject: Re: [ILUG-BOM] How to detect a power failure?
>
>
> On Fri, Feb 15, 2013 at 7:57 PM, Binand Sethumadhavan <binand(a)gmail.com>
> wrote:
> > I am thinking of something like a mobile charger that would plug in a
> > regular 3-pin plug at one end and a computer at the other, and some
> > software/sensor combo that would read the (DC) voltage at the computer
> end.
> > If there is no voltage, there is no power in the mains and ergo - we are
> in
> > the middle of a power outage, so take action. Know of something along
> these
> > lines?
> >
> > (idea is to detect power failures, while powered by a "dumb" UPS unit -
> one
> > that cannot communicate with the a computer. Any other
> > solutions/suggestions?).
> >
>
> Good idea. You could use one of those AC Mains to USB
> adapter/charger; which I think gives out 5V on the USB power line. A
> USB cable into the computer USB port should be a good starting.
>
> -- Arun Khan
> --
>
> This usb idea is good. A usb powered device can be used where power comes
> externally for on/off and the system gives signal to detect that device is
> down. A cheap 200 rupees usb lan can be opened and modified. Every few
> minutes, the output of ifconfig can be grepped to detect the presence of
> eth(n). Battery power detect option is only in laptops.
>
>
Hey,
Im from Vasai, where we have frequent powercuts. I run a linux box at home
which basically acts as my home server(box)
I currently use the GPIO pin on my wifi router(running openwrt) to 'sense'
powercuts, which in turn powers off the box and turns it back on when power
resumes.
Let me know if you'd like more details on the setup and code, I'd be happy
to share :)
Regards,
Joel Rebello
--
Be yourself , just better.
-----Original Message-----
From: Arun Khan
Sent: 16/02/2013, 01:45
To: GNU/Linux Users Group, Mumbai, India
Subject: Re: [ILUG-BOM] How to detect a power failure?
On Fri, Feb 15, 2013 at 7:57 PM, Binand Sethumadhavan <binand(a)gmail.com> wrote:
> I am thinking of something like a mobile charger that would plug in a
> regular 3-pin plug at one end and a computer at the other, and some
> software/sensor combo that would read the (DC) voltage at the computer end.
> If there is no voltage, there is no power in the mains and ergo - we are in
> the middle of a power outage, so take action. Know of something along these
> lines?
>
> (idea is to detect power failures, while powered by a "dumb" UPS unit - one
> that cannot communicate with the a computer. Any other
> solutions/suggestions?).
>
Good idea. You could use one of those AC Mains to USB
adapter/charger; which I think gives out 5V on the USB power line. A
USB cable into the computer USB port should be a good starting.
-- Arun Khan
--
This usb idea is good. A usb powered device can be used where power comes externally for on/off and the system gives signal to detect that device is down. A cheap 200 rupees usb lan can be opened and modified. Every few minutes, the output of ifconfig can be grepped to detect the presence of eth(n). Battery power detect option is only in laptops.
---------- Forwarded message ----------
From: Sanjay Bhangar <sanjaybhangar(a)gmail.com>
Date: Thu, Feb 7, 2013 at 1:51 PM
Subject: [MumPy] hackathon at CAMP on Saturday, 9th feb
To: mumpy(a)googlegroups.com
Hey all,
Sorry for the delayed notice on this --
We're hosting a hackathon at CAMP [1] [2] on Saturday 9th Feb, 3pm onwards.
The broad agenda is to build an open platform for book-sharing in the city.
A few artist's organizations have come together as the Umbrella group
to collaborate on spaces and projects. As part of this, we plan to
index all the books in our various collections, and enable access to
them. We're using http://openlibrary.org to enter data about the books
and associate them with groups / people that own them.
The plan is, to start with, build a simple website to find books
you're looking for and who to contact to get access to them, using the
openlibrary.org API, but is completely open to ideas to facilitate
sharing of things, both digital and analog.
The event also marks solidarity with Aaron Swartz. [3]
If this seems interesting, bring your laptop / coding device and come
- wifi, food and beer shall be provided.
Please circulate if you know anyone who maybe interested.
Thanks,
Sanjay
[1] http://camputer.org/directions.html
[2] http://camputer.org/campstudio.html
[3] http://lists.w3.org/Archives/Public/www-tag/2013Jan/0017.html
--
--
_________________________________________________
Mumbai Python Users Group - http://www.mumpy.org/
Mailing Group - http://groups.google.com/group/mumpy/
Membership Management - http://groups.google.com/group/mumpy/subscribe/
---
You received this message because you are subscribed to the Google
Groups "mumpy" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to mumpy+unsubscribe(a)googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
With Regards,
Mehul Ved
Dear Members,
OSFY's mega 10th Anniversary issue (Feb 2013) brings you a melange of
interesting articles on your platter.
Special Read for Developers:
--Protecting Systems Intents in Android
--Implementing HTML5 WebSockets Using Java
--Dynamic Program Analysis Using Valgrind: A Jump-Start Guide
Admin's Domain
--A Peek Into Best open source security tools
--Combat virtual threats with IPCop Firewall
--A look at top 10 open source Web log Analysers
For U & Me: It's the stuff for everyone
---Ten open source cloud computing resources you should know about
---The Top Mind Mapping tools in Android
---Explore the power of bench calculator
Expert Speak:
Exploring Software by Anil Seth: Creating Massive open online course
Joy of Programming by SG Ganesh:Learning From Mistakes
Codesport by Sandya Mannarswamy
This issue comes bundled with a free DVD: Fedora 18 and an additional CD
Clear OS. (The CD is only for newsstands)
You can get a copy of our magazine from your nearest newsstands or you
can subscribe at
http://electronicsforu.com/electronicsforu/subscription/subsc2scheme.asp#.
To locate some dealers selling OSFY close to your home, you can check
our website:
dealers.efyindia.com.
Regards,
Team OSFY
It seems like the usb controller used* *in Rspberry pi SOC (Broadcom
BCM2835) has some serious issues , since it can only supply low amount of
current to its USB devices (Approximately 140 mA). This will cause
continues restart of RPI specially while connecting USB Network Card, USB
Modem or GPS devices.
This may be a bug in USB driver, which has not fixed yet and may not be an
easy task because :
(Ref:
http://hardware.slashdot.org/story/12/08/24/2228251/serious-problems-with-u…
)
1) Documentation on the Broadcom USB controller is proprietary and is not
made openly available by the Raspberry Pi Foundation.
2) The USB core for the Broadcom SoC was bought from a 3rd party, and we
are told that not even Broadcom has full documentation, nor understands the
driver.
3) The Foundation has discovered that the controller and its driver expect
realtime response from the ARM core, and if Linux's non-realtime scheduling
doesn't respond in 1 ms, a split transaction USB event can be dropped. Not
surprisingly, this occurs regularly and produces lost mouse clicks, stuck
keyboard keys, etc..
--
Siji Sunny
---------- Forwarded message ----------
From: Free Software Foundation <info(a)fsf.org>
Date: Fri, Feb 1, 2013 at 4:40 AM
Subject: Will you be at LibrePlanet? Register today for March 23-24
To: Shahid Farooqui <shahidfarooqui(a)gmail.com>
[image: Register now]<http://libreplanet.org/wiki/LibrePlanet:Conference/2013>
Hi Shahid,
We're excited to announce that registration is now open for LibrePlanet
2013: "Commit Change."<http://libreplanet.org/wiki/LibrePlanet:Conference/2013>
LibrePlanet is a yearly conference where the global free software community
comes together to learn from each other, face challenges and welcome
newcomers. This year, the conference focuses on bringing together the
diverse voices that have a stake in free software, from software developers
to activists, academics to computer users. The theme is called "Commit
Change," and it's about drawing ideas from everyone to create the software
freedom we need.
If you're an FSF associate member, you can sign up
now<http://libreplanet.org/wiki/LibrePlanet:Conference/2013>at no
cost! Otherwise, we invite you to become
a member <http://www.fsf.org/associate/benefits> for gratis admission and a
host of other benefits, including an account on our brand new Jabber chat
server<http://www.fsf.org/blogs/membership/help-us-sign-up-71-new-members-by-janua…>.
You can also attend the conference at the non-member
rate<http://libreplanet.org/wiki/LibrePlanet:Conference/2013>
.
The conference will feature a keynote address by Karen Sandler, executive
director of the GNOME Foundation and renowned software freedom advocate.
LibrePlanet will also include workshops in using free programs, talks and
discussion panels with free software luminaries, plentiful networking
opportunities and a pre-conference social gathering. In addition to Karen,
the program includes sessions with Stefano Zacchiroli, Project Leader at
Debian, Wendy Seltzer of the W3C, and our own Richard Stallman.
If you're interested in technology's role in struggles for justice,
community, and freedom, then you will find a lot to be excited about at
LibrePlanet. Join us at LibrePlanet 2013 and help Commit Change.
Register for the conference
now<http://libreplanet.org/wiki/LibrePlanet:Conference/2013>or become
a member<https://my.fsf.org/associate/support_freedom/join_fsf?referrer=2442>to
attend at no cost.
Hope to see you at LibrePlanet!
Zak Rogoff,
Campaigns Manager
PS: Today is the very last day of our recruitment drive, and we're very
close to reaching our goal of 120 new members. If you become a
member<https://my.fsf.org/associate/support_freedom/join_fsf?referrer=2442>today,
you'll help us shatter our goal and do more for software freedom in
2013.
*Read this message online at
http://www.fsf.org/blogs/community/will-you-be-at-libreplanet-register-toda…
.*
--
Follow us at https://status.fsf.org/fsf | Subscribe to our blogs via RSS at
http://fsf.org/blogs/RSS
Join us as an associate member at http://fsf.org/jf
*Make sure we have your correct location
information<https://crm.fsf.org/civicrm/profile/edit?gid=34&reset=1&id=28233&cs=6aab93b…>—
please do not forward this email with this link intact.
*
Sent from the Free Software Foundation,
51 Franklin Street
Fifth Floor
Boston, MA 02110-1335
United States
You can unsubscribe to this mailing-list by visiting the link
https://crm.fsf.org/index.php?q=civicrm/mailing/unsubscribe&reset=1&jid=127….
To stop all email from the Free Software Foundation, including Defective by
Design,
and the Free Software Supporter newsletter, click this link:
https://crm.fsf.org/index.php?q=civicrm/mailing/optout&reset=1&jid=127109&q…
.