Ohh - I have mine going but haven't installed the SDK yet, so I'll do you a trade.. :-)
As with any USB device, they have a VID (Vendor ID) and PID (Product ID). The linux device will see the VID and PID but you will have to tell it what hardware this is.. Is it a keyboard? Mouse? How can it communicate with the Cellphone modem? Looking at the docs for the UBlox Sara-201, it says that it has a few connections but one of them is an AT command set interface. Historically (if you are old enough to remember the 9600 baud modems we used to access the internet with in the early 90's...) modems with an AT command set are based on serial links. So in this case I took a guess and just said that the device is a serial device.
To get the PID and VID, you need to do the following:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1546:1102 U-Blox AG
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So, device 3 is the U-Blox cell phone module. The ID 1546:1102 id the VID and PID. CD to /etc/modules.d and edit the file usb-serial with the contents, "usbserial vendor=0x1546 product=0x1102 maxSize=2048"
This includes the VID and PID from the command, "lsusb" above and tells the omega that there is a serial port.
My plan is to use the CAN bus shield and do all of my control through the Omega. Since I can't connect to the Bluetooth I'm thinking I'm going to use the WiFi and a cellular connection to control it. Someone published the GMLAN Bible which has a comprehensive list of controls and codes for GM cars. I'm going to be installing this in my new Pontiac G8. I'm pretty stoked.
@Allison-K Thanks. I figured that in all likelihood it's all going to come from the docs github repo eventually, so I already fixed something in the docs and sent a pull request a few days back. Am waiting for it to be actioned.
I'll do a ticket re the pdf generation frequency though.
6 months after I posted problem in this thread and its still not resolved. I have my Onion Omega 2+ with latest firmware 0.1.10b160 and LED is still blinking, web console shows directory listing of ".." and "/lib", wifimanager still takze 100% of CPU, Omega is overheating as hell and I can't connect it to any Wi-Fi (secured or android hotspot unsecured). I tried every dirty trick in this thread (sta mode, deleting country, factory reset).
If I try to configure it from SSH after first reset all data are back (wifi settings etc), poweroff and reboot commands are doing nothing ...
Any ideas? What is the money-back policy for IndieGOGO campaign? Because right now it is useless piece of hardware, every stupid ESP clone around is far more user friendly than this thing :(
How do I run ./configure; make; make install within the cross compile environment?
Not easily at all. Typically you need to take a deep dive into the project config scripts and see if they even support cross compilation.
Historically auto-configuration schemes often don't until someone fixes them - they love to do annoying things like build and try little test programs, which of course won't work when the host and target differ.
Realistically speaking, you're not going to be running that many things on this system - what's so wrong with the built in top or ps?
@Allison-K Unfortunately Arduino and similar microcontroller approaches really aren't portable to a multitasking platform like the Omega, Pi, C.H.I.P or similar.
This is because the task scheduler introduces substantially latency in the running of ordinary programs, often up to 20 ms or so.
Sound moves at approximately 344 meters per second, so it covers 344 mm in one millisecond. Given the roundtrip timing, a 1 ms timing error woud be half that: 172 mm or about 6 3/4 inches, and the timing uncertainty may well be more than this.
Viable approaches would need to do one of
Use a hardware timer
Use kernel mode code
Use an interrupt (GPIO interrupts to userspace are not currently enabled)
Use some continous streaming data interface, for example the I2S audio which can capture at a regular rate and have it capture both the trigger and echo, then measure the elapsed time as the number of samples recorded between these events
Use a helper MCU like an ATtiny or a full Arduino to take the measurement and report the result