@Jim-W reposting response from this thread:
pyOnionGpio was written as a quick and dirty wrapper for the sysfs gpio interface. I wouldn't recommend using it for anything other than a hello world.
There are other (likely better) sysfs gpio libraries available for Python3:
Let us know how it goes!
@crispyoz That makes sense. I intend to get to that. But as a newcomer to the Omega2, that's a significant requirement in getting started. Seems to me that an update of the packages should be a task regularly performed by Onion. First impressions count.
@ChMsT420 @Lazar-Demin The only issue with using rc.local is that it runs last so if you have a daemon or loadable module that is dependent on the pin mode, rc.local might be too late.
Another alternative is to use a hotplug script that is triggered earlier in the boot process. Take a look in /etc/hotplug.d for some examples of these scripts, also hotplug is quite well documented.
@sriharsha-phd You can't retrieve an RGB image, but you can get a grayscale image.
See the distancePlusGrayscale.py example program for more details:
Info on the example program
The example program source code
And the Tau Camera API Reference & Documentation
So far we want to make hook up one or two BNC connector (with voltage divider/LLC) to GPIO pin(s) and maybe add a USB hub in-between the Omega SoC/LTE module to support more USB devices (from what I gathered the LTE is module is directly tied to the USB pins on the SoC).
Agree with @crispyoz's recommendation to clean the contacts. If it were a hardware issue or manufacturing defect, it likely wouldn't have worked at all.
I also recommend checking if the contacts have been damaged during SIM card insertion and removal.
@jasoneer Try again using the very latest build (b253).
It looks like the kernel checksum changed when we released b253:
(screenshots from http://repo.onioniot.com/omega2/packages/core/ and http://repo.onioniot.com/omega2/images/)
More info on openwrt kernel checksums here.
Looks like your connection to Community was lost, please wait while we try to reconnect.