Accessing integrated hardware (modem, gps, etc) after linux deploy

bkleynhans

New member
Jul 27, 2020
1
0
0
I'm an engineer/developer and know myself around Linux and a number of programming languages. I have however never programmed on a phone before and find myself on a project where I need to do just that.

We are building a field unit to capture radiometric data using custom shields on an Arduino. Due to power restrictions we cannot use more powerful hardware, yet we need to upload 8 to 10MB of data every 24 hours. I had the idea of using a mobile phone with Android, rooting and installing linux, then using the processing power and internal components to get GPS information, re-sync RTC, and then upload the data to the remote server. (The Arduino by itself is too small handle the SSH library and it doesn't have enough memory to upload the entire file using FTP. One could stream the data to the FTP protocol, but that requires multi-core processing which the Arduino doesn't support. )

I have rooted the device and installed Debian using "Linux Deploy", however I'm having a real hard time figuring out how to access the modem and GPS. It is a Motorola Moto E6. I couldn't find the modem and even install modem-manager to see if it would detect the device, but it didn't.

If anyone could point me in the right direction (drivers, documentation, instructionals, etc.) it would be very much appreciated.

Thank you.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone