[Cialug] Need help automating log capture/reboot
Justin Richeson
neomatrixjr at gmail.com
Tue Oct 10 22:03:13 UTC 2017
I have one of these...will try to test tonight.
http://a.co/hDXlAGB
On Mon, Oct 9, 2017 at 6:17 PM, Dan Hockey <icepuck2k at gmail.com> wrote:
> I had a problem with flaky usb psus, When trying to power a Pi3 everything
> would work fine until I turned the blue tooth. What was going on was the
> voltage was dropping below about 4.8 volts for a brief instant, the pi
> would shutdown all usb i/o but would continue run. The only way to fix it
> was to cycle the power. I had 3 usb psu's that were marginal to begin with
> and those were the ones that caused a large amount grief.
> One way to test is to power the pi through the 5v pin with a higher
> amperage psu on the gpio.
> If you really what to see what going on invest in a good usb power
> analyzer.
>
> This is the one I found that works the best.
>
> http://portpilot.net/
>
> Sure it's pricey but hey, you get you pay for but it'll will save you a lot
> of time and grief in the end.
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_
> source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_
> source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Mon, Oct 9, 2017 at 5:22 PM, Justin Richeson <neomatrixjr at gmail.com>
> wrote:
>
> > Ok, sorry...logs are not of the /var/log variety apparently...I need to
> > look at that further.
> >
> > On Mon, Oct 9, 2017 at 5:19 PM, Justin Richeson <neomatrixjr at gmail.com>
> > wrote:
> >
> > > I just installed iwconfig/wireless-tools and it shows that power
> > > management is off. I don't believe logs are preserved/rotated unless
> I'm
> > > missing something. I'm running OSMC for the distrobution on the SD.
> > >
> > > On Mon, Oct 9, 2017 at 5:12 PM, David Champion <dchamp1337 at gmail.com>
> > > wrote:
> > >
> > >> Check the power saving mode in the driver? They have some other
> pointers
> > >> too in this thread.
> > >>
> > >> https://raspberrypi.stackexchange.com/questions/15142/wifi-
> > >> drops-on-raspberry-pi
> > >>
> > >> -dc
> > >>
> > >>
> > >> On Mon, Oct 9, 2017 at 4:51 PM, Adam Hill <adam at diginc.us> wrote:
> > >>
> > >> > > copy all logs to a backup/snapshot
> > >> >
> > >> > are the logs not preserved / rotated across reboots?
> > >> >
> > >> > On Mon, Oct 9, 2017 at 4:01 PM Justin Richeson <
> neomatrixjr at gmail.com
> > >
> > >> > wrote:
> > >> >
> > >> > > The power supply is supposed to be 5v @ 4A....but unfortunately I
> > >> don't
> > >> > > have a good way to test that for sure. I need to build some
> > >> > multi-adapter
> > >> > > cables for my in-line power analyzer. Barrel plugs are always a
> > pain
> > >> > > though since there's so many....
> > >> > >
> > >> > > On Mon, Oct 9, 2017 at 3:21 PM, Dave Hala <dave at 58ghz.net> wrote:
> > >> > >
> > >> > > > I've ran into this few times over last couple of years, where
> the
> > >> USB
> > >> > hub
> > >> > > > does not have a large enough power supply when loaded up
> devices.
> > >> > > >
> > >> > > > :) Dave
> > >> > > >
> > >> > > > On Mon, Oct 9, 2017 at 3:17 PM, Justin Richeson <
> > >> neomatrixjr at gmail.com
> > >> > >
> > >> > > > wrote:
> > >> > > >
> > >> > > > > So, I've got a bit of an odd power/hub setup, but it seems to
> > work
> > >> > fine
> > >> > > > for
> > >> > > > > everything else...
> > >> > > > > I've got a powered hub...and the raspberry pi is plugged into
> > that
> > >> > hub
> > >> > > > as a
> > >> > > > > device and is being powered by the hub....on one of it's
> higher
> > >> power
> > >> > > > > "charge" ports.
> > >> > > > > And then the hub is plugged in as a device of the pi so I can
> > use
> > >> the
> > >> > > USB
> > >> > > > > hub...as a hub.
> > >> > > > > If memory serves then, into the hub I have my wifi stick, a
> USB
> > >> > stick,
> > >> > > a
> > >> > > > > USB-->Serial adapter for an X10 firecracker, and the pi. I'll
> > >> put a
> > >> > > USB
> > >> > > > > power analyzer on it again when I get home, but if memory
> serves
> > >> it's
> > >> > > had
> > >> > > > > no power issues...and the pi never shows the power fault icon
> > with
> > >> > this
> > >> > > > > setup.
> > >> > > > >
> > >> > > > > This is the hub:
> > >> > > > > http://a.co/aZsGba1
> > >> > > > >
> > >> > > > > *NOTE* I just noticed...looking at the hub's description, that
> > the
> > >> > > > "charge"
> > >> > > > > ports on the hub are just that...CHARGE ports. In no way is
> the
> > >> > > > raspberry
> > >> > > > > pi a device unto itself via the hub. It's 7+2. 7 HUB ports
> + 2
> > >> > Charge
> > >> > > > > ports.
> > >> > > > >
> > >> > > > > On Mon, Oct 9, 2017 at 1:44 PM, L. V. Lammert <
> lvl at omnitec.net>
> > >> > wrote:
> > >> > > > >
> > >> > > > > > On Mon, 9 Oct 2017, David Champion wrote:
> > >> > > > > >
> > >> > > > > > > My first guess with the WiFi adapter is it's a power
> issue.
> > Is
> > >> > the
> > >> > > > usb
> > >> > > > > > > hubpowered or passive?
> > >> > > > > > >
> > >> > > > > > Probably plugged in directly, .. some other suggestion:
> > >> > > > > >
> > >> > > > > > * A simple ping script would allow taking action (and
> > recording
> > >> > to a
> > >> > > > > > separate log file) - suggest ifdn/ifup the USB interface
> > as a
> > >> > > first
> > >> > > > > > test.
> > >> > > > > >
> > >> > > > > > * Swap the PS with a new 2A unit anyway. You can get them
> > for a
> > >> > few
> > >> > > > > bucks
> > >> > > > > > from China, or there are a number of US sources.
> > >> > > > > >
> > >> > > > > > * Check the temp of the case and be sure you have decent
> > >> > ventilation
> > >> > > > > > around the unit - some cases might need a small fan for
> > 24/7
> > >> > > > > operation.
> > >> > > > > >
> > >> > > > > > Let us know what you find, ..
> > >> > > > > >
> > >> > > > > > Lee
> > >> > > > > > _______________________________________________
> > >> > > > > > Cialug mailing list
> > >> > > > > > Cialug at cialug.org
> > >> > > > > > http://cialug.org/mailman/listinfo/cialug
> > >> > > > > >
> > >> > > > > _______________________________________________
> > >> > > > > Cialug mailing list
> > >> > > > > Cialug at cialug.org
> > >> > > > > http://cialug.org/mailman/listinfo/cialug
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > > NIFCAP -The Premier Client Intake System for Non-Profit
> > >> Organizations.
> > >> > > > _______________________________________________
> > >> > > > Cialug mailing list
> > >> > > > Cialug at cialug.org
> > >> > > > http://cialug.org/mailman/listinfo/cialug
> > >> > > >
> > >> > > _______________________________________________
> > >> > > Cialug mailing list
> > >> > > Cialug at cialug.org
> > >> > > http://cialug.org/mailman/listinfo/cialug
> > >> > >
> > >> > _______________________________________________
> > >> > Cialug mailing list
> > >> > Cialug at cialug.org
> > >> > http://cialug.org/mailman/listinfo/cialug
> > >> >
> > >> _______________________________________________
> > >> Cialug mailing list
> > >> Cialug at cialug.org
> > >> http://cialug.org/mailman/listinfo/cialug
> > >>
> > >
> > >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
More information about the Cialug
mailing list