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 …
[View More]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
[View Less]
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 …
[View More]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
[View Less]
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
> …
[View More]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.
[View Less]
-----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 …
[View More]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.
[View Less]
---------- 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 …
[View More]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
[View Less]
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
…
[View More]---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
[View Less]
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) …
[View More]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
[View Less]