![]() |
Re: GPS/SMS in command line
Quote:
I know you are busy with the HealthCheck application, which I think is a great tool to have. I think it would be fairly easy to for someone with you talents to write a script that checks GPS location on a pre determined time scale and saves the data to a log file, continuously overwritten. 5 minutes later for this data to be ftp or uploaded to a server directory that can be selected by the user. further more I think people also wanted the ability to be able to send an SMS to activate and de-activate this feature just like instamapper.com. plus i think this topic need to be merged, as usual people start new threads and posts without searching to see if there is already an existing topic - http://talk.maemo.org/showthread.php...ighlight=theft |
Re: GPS/SMS in command line
Quote:
Sounds doable :D - but i have a few apps on my list to do after Healthcheck... If no-one has got round to it, will definitley look into it when i can :D |
Re: GPS/SMS in command line
Quote:
First, setup a reverse ssh connection to one of your local machines (this seems like a good tutorial to do this). It would be easier if we had autossh, but this looks like it'll do. After you've done this you can login to the server you're connected to (i'm assuming you forwarded to port 2210) and do a: Code:
ssh -p 2210 root@localhost To take a pic with the front cam do: Code:
gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png Code:
sftp -oPort=2210 root@localhost With this method you can also start vnc if you have x11vnc installed by calling "x11vnc" from the commandline and making sure in the first step to also send over your vnc port (standard is 5900). Or you can use it to have mplayer play an MP3 if you lose the phone, which is how i figured all this out :D I haven't figured out how to read the GPS from here yet though, if anyone has any info on that i'd be very grateful. |
Re: GPS/SMS in command line
With this command below:
Quote:
|
Re: GPS/SMS in command line
can never remember of that is front or back camera -
change the number below to a 0 and try again :) (if 1 is the back camera, then you need the lens cover open, if it is not, and it is the front, then aim it at a bright light!!!!.... gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png gst-launch v4l2src device=/dev/video0 ! ffmpegcolorspace ! pngenc ! filesink location=/home/user/MyDocs/frontcam.png |
Re: GPS/SMS in command line
Just another thought, checked my code and i do it slightly differently.....
http://talk.maemo.org/showthread.php...2Fdev%2Fvideo0 |
Re: GPS/SMS in command line
The problem is: all pictures from Front Camera is completely dark.
|
Re: GPS/SMS in command line
Quote:
If this doesn't do help, I'd suspect a hardware fault. Does anyone else have other tests? |
Re: GPS/SMS in command line
2 Attachment(s)
Please, take a look these attached images... Both are from front camera using command line.
If I try the 'mirror' application, the images from front camera is fine. Quote:
|
Re: GPS/SMS in command line
As i said, point it at a realllllllllllly bright light :D
|
All times are GMT. The time now is 23:43. |
vBulletin® Version 3.8.8