I know this might seem better suited for the pinephone forum, but I asked there, and they do not know. I am looking for the gps device like "/dev/ttyUSB0" for example. I have tried cat -v /dev/ttyUSB0
and all the other ttyUSB* devices and on all /dev/ttyS*. Anyone know how I can get the gps data from a pinephone?
no GPS data comes up.
Posts
-
looking for the gps on a pinephone
-
RE: how do I install openssh-server?
Well, I took the phone in the house, and started downloading debian, saying to my self i cant believe i couldn't get this to go, but aw well I'll give it one more go before wiping it out. And it works. FFS. problem solved I guess.
-
RE: how do I install openssh-server?
IDK, I have very finite time to work on these things. I followed the tutorial. installed the keys, and now Im getting no route to host. I did learn to use jumpstart which was nice. I've no idea if i can or cannot use adb with the pinephone, and Im quiet frustrated. the firewall ufw is inactive. I can ping the device, at 5000ms & 0% packet loss.
-
RE: how do I install openssh-server?
adb: error: failed to get feature set: no devices/emulators found
$adb devices
(blank)
not sure what to do about it.
on ubuntu touch, on the pinephone, in the system settings> about there is no listing of developer mode. so I dont know how to enable it.is there a command line way to enable developer mode?
-
RE: adb newbie: how to I set up and use adb?
So I have jumpdrive going, do I flash the image to the root emmc device drive (/dev/sdb), or to the empty space?
or should I expand /dev/sdb2 (pmOS_root) -
RE: adb newbie: how to I set up and use adb?
ok, how do I compile jumpdrive? the README says it depends on aarch64-linux-gnu- toolchain. is that the gcc-aarch64-linux-gnu package?
-
RE: adb newbie: how to I set up and use adb?
Under about section, on the phone, I expected to see an option to enable debugging. no such button exists. is there a command line way to enable debugging?
-
adb newbie: how to I set up and use adb?
I am trying to use my pinephone, with build 318. In the past i would just set up ssh, and use that, but I guess things have changed, and now I have to use adb to set up various services or something. Actualy, i dont know that, or care, but I would like to learn how to set up, and use adb to communicate with my device.
my PC is a Lenovo thinkpad with Ubuntu Mate 18.04 (linux) installed.I dont know anything about adb, I have never used it. I dont know about setting up virtual devices, or what that even means. I want to be able to communicate with my phone, via adb, and learn what I can, and cannot do with adb.
I have installed adb with the command
sudo apt-get install android-tools-adb android-tools-fastboot
and have version
$ adb version
Android Debug Bridge version 1.0.39
Version 1:8.1.0+r23-5
Installed as /usr/lib/android-sdk/platform-tools/adbdo i have to enable debugging on the pinephone / ubuntu touch? if so, how do I do that?
$ adb devices
List of devices attached
(lists no devices)I dont know what Im doing, and I dont know what to do next. yes, I ran
$ sudo adb start-server
adb server version (41) doesn't match this client (39); killing...- daemon started successfully
is there a good tutorial for a total newbie? what do i do next?
-
RE: how do I install openssh-server?
@AppLee ok, im trying to set this up using the terminal interface on the phone,
and yes, I do want to learn to use adb, but i havent learned how to use it yet.on the terminal of the phone typing
sudo android-gadget-service enable ssh
yields command not found -
how do I install openssh-server?
I am using build 318, on a pinephone, and while I have installed openssh-server in the past, I am having some sort of problem right now.
I am wondering what the reccomended way is to install openssh-server is.
I want ssh to run all the time, when ever my pine phone is booted. How do i set that up? Command line answers preferred.
what I have done issudo apt--get install openssh-server
when i goto connect I get:
ssh phablet@192.168.1.102
ssh: connect to host 192.168.1.102 port 22: Connection refusedI checked the ufw firewall, it is inactive.
-
modify the touch screen keyboard?
I have a pinephone braveheart edition. I am running Ubuntu touch build 318. I would like to modify the touchscreen keyboard to include the directional arrows, and the tab key. Either in another floating bar, or in an extension to the bar that has commands like ctrl+D, etc... what packages do I need to look at, or are there config files to modify the touch screen keyboard?
-
RE: PinePhone
@PINE64 I would like to know how to access, take photos using the integrated cameras.
I have had no luck sofar getting either of the cameras to return an image. Post a tutorial or something.
Im using either postmarket OS, or Ubuntu touch, depending on which has fewer kernel stability issues at the time. -
how do I capture images using cedrus or sun6i-csi?
The pinePhone lists these devices: cedrus, & sun6i-csi
$v4l2-ctl --list-devices cedrus (platform:cedrus): /dev/video0 sun6i-csi (platform:csi): /dev/video1
how do I capture an image from either one of these devices?
these both have listings when I run lsmod. -
RE: How can I place an icon on the desktop, or on the menu bar?
@Lakotaubp yes, PinePhone
is what I have ubuntu touch installed on -
RE: Welcome to the UBports community! Introduce yourself here!
I just got my PinePhone Today, and installed Ubuntu Touch!
so in that regard I'm a newb. Ive been running and programing in linux for about 15 years, but I'm sure most of what I write a horrible hack. I'm an electrician, I mess with lasers, leather, electronics, ancient traditional art forms, steam Punk, and just make random stuff. I can hardly wait to make my pine phone do novel things, but I'm just figuring out where everything is, and how its all set up.I am setting up some Events at HOPE this year (2020) in NYC, in conjunction with the Maine hacker Club, and the Bangor Makerspace. We'll have an electronics instrumentation lab, Retro computing exhibit with special tribute to Chuck Peedle, and a Laser Cutting workshop. I'm really excited for all that. I'm encouraging all the hackers i know to go. I would love to meet some of ya'll as well!
-
How can I place an icon on the desktop, or on the menu bar?
This isnt an application development question, I have some simple programs that run either in bash, or as compiled c++ programs. I'm interested in where the icons, or links to programs are stored.
I tried making a link with
$ln -s /home/phablet/hello /home/phablet/Desktop/hello
the link was made, but when i click on it in the file manager, it asks if i want to open it with some other program. when I select open with" it doesnt show me any other programs, just a link to the app store.I can execute the link via the terminal, but thats not really what I want to do. I would like to click a button on the application list, or in the side bar, and get the program output. how do I do that?
Where are application links stored?
-
How can I read gps data from a PinePhone?
I have a Pine Phone, brave heart, I want to read the sensors, GPS position in particular. Is there a device In /dev I should look at?
ran locate and found an application /usr/bin/test_android_gps_api
it returns:
Usage: test_gps supl_server supl_server_port lat lon accuracyso then i did $man test_android_gps_api
and got a message about manpages not being installed.
I installed manpages, but this utility isnt in there.
so then I though ok, whats this output telling me?#test_gps
-bash: test_gps: command not foundI tried -h and --help. but there was none. How can i get the gps position?
command-line solutions preferred.