@Lazar-Demin Sorry, all I have is my own PCB or the power dock. My own PCB has an Ethernet port but that too stops working (the link LED on the switch I am connecting to is Off).
Posts made by Claude Robitaille
Weak WIFI signal causes device to hang
My omega2+ would stop to respond to pings over WiFi after a while (like 30 minutes). It also stops to respond over wired Ethernet at the same time. After realizing it works perfectly elsewhere in my home, I attached an antenna and the problem disappeared. So, somehow, the weak wifi signal causes the device to break and stop processing anything; not only the Ethernet port stopped working but also the toggling of a GPIO stopped.
It is because the wifi kernel code is jamming the OS when the signal is weak? Also noted is that the device never recovers; a simple out of connect situation due to a weak signal should show moments of no connection and moment of connection (I let the device run overnight and it never recovered).
RE: Watchdog on Omega2+
@ccs-hello 2 things
1 - I went deeper and found out that depending on where my device was in my home the problem would go away / be present. At the location where the problem was present, I attached a Wifi antenna and the problem disappeared...so the problem is related to a weak Wifi signal. But the consequence were that everything stopped, including Ethernet. Not good and very surprising!!
2 - RESET and FW_RESET never worked, even when the device was being successfully pinged. Those 2 pins are not very useful.... I know that FW_RESET can be converted to GPIO but my device is still pretty much at factory reset (except for a script that toggles a different GPIO)
RE: Omega2+/power dock 2 and USB power issue
Ok, that worked.
I never suspected the wall powered USB hub not to be able to deliver the needed power to the Omega. Probably a cheap hug from unknown brand...( i used the same cable, so it is not it).
Also, I never suspected the battery controller not to be able to merge the power from the battery and the USB. Not very useful. Also, more than likely, when there is power outage the switch will most certainly cause a hiccup and a reboot of the CPU. This raises a couple of questions:
- regardless of the dock and it power circuitry, is there any form a reliable brown out detector and "corrector"?
- what about watchdog, there was a question on this list but nobody answered?
- how can you expect this to work years of unattended operation?
Omega2+/power dock 2 and USB power issue
I have a very bizarre situation. I can only get the Omega2+ / Wifi to work when my power dock2 is powered only from the battery. The moment I plug in a USB power source, the module's amber LED turns off. Power cycling (using the power button) does not bring the module back to life. If I unplug the USB source and power cycle again, the module works properly and the Wifi connection to my home network comes up. Every time.
I am obviously talking about the micro USB connector.
RE: Omega 2 C++ GPIO management library
on the topic of doing a generic gpio support library; I am looking for a solution that is highly portable. To that effect, the "native" Linux kernel gpiolib (why did they use the lib suffix? For me a lib is something userland, not kernel....) is a good thing. This http://lxr.free-electrons.com/source/Documentation/gpio/sysfs.txt describes the sysfs API. (Note that some other driver/system also uses the sysfs interface but differently, the "files" are not the same. Notably the Next Thing's CHIP is significantly different).
My question relates to the interrupt driven GPIO input. Or activity detection. I would like to get the time of the input event; and I would like to be as precise as possible. I saw in the kernel code (gpiolib, at http://lxr.free-electrons.com/source/drivers/gpio/gpiolib.c#L708) that the kernel does register the time of the event. I even see pass it up (http://lxr.free-electrons.com/source/drivers/gpio/gpiolib.c#L620) but I do not see or understand how to access this information from the userland. The documentation regarding /sysfs/class/gpio is silent on this. Anyone knows the answer?