On Sun, Feb 17, 2013 at 10:30 PM, <[email protected]>wrote:
> Send Linuxers mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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? ([email protected]) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 17 Feb 2013 02:21:02 +0530 > From: Rigved Rakshit <[email protected]> > To: [email protected], Mumbai LUG > <[email protected]> > Subject: Re: [ILUG-BOM] Ubuntu Global Jam Mumbai 2013 for Ubuntu > Raring Ringtail > Message-ID: > < > caeuhoydo7ny5nhw_4vpj96gkgbnrq4sa7370wbc+uk7fz4d...@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: "[email protected]" <[email protected]> > To: "[email protected]" <[email protected]> > Subject: Re: [ILUG-BOM] How to detect a power failure? > Message-ID: <[email protected]> > 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 <[email protected]> > 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. -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

