http://wiki.webos-internals.org/api.php?action=feedcontributions&user=FreeTim&feedformat=atomWebOS Internals - User contributions [en]2024-03-29T09:19:16ZUser contributionsMediaWiki 1.35.1http://wiki.webos-internals.org/index.php?title=User:FreeTim&diff=15095User:FreeTim2011-04-09T10:17:52Z<p>FreeTim: /* Pages */</p>
<hr />
<div>==Pages==<br />
Pages I contributed to the community are linked here. I'm not a developer I'm a systems engineer, so these won't be apps or patches, just things of interest regarding access to the underlying Linux operating system, install documents and other Systems things of interest.<br />
<br />
Also having them linked here helps me to review/ maintain them<br />
* [http://www.webos-internals.org/wiki/DNS The DNS name resolver page]<br />
* [http://www.webos-internals.org/wiki/Komodo_WebOS_Add-on_Install the Komodo_WebOS_Add-on_Installpage.] A how-to-install document, how to update, and how to enable Code Intelligence. Screen shots, and verification steps included. (Templarian's Komodo WebOS Add-on is quite a time saver, many thanks to the developer, Templarian!)<BR><br />
* [http://www.webos-internals.org/wiki/putty the putty page] - how to CORRECTLY have PuTTY configured, for SSH2 into your Pre.<br />
* [http://www.webos-internals.org/wiki/bottom_bar the Bottom Bar page] which is possibly deprecated now.<br />
* [http://www.webos-internals.org/wiki/GPS The GPS page detailing the GPS hardware.] and battery tests for the GPS.<br />
* anywhere else that I can help . :)<br />
* [http://www.webos-internals.org/wiki/VideoRecording VideoRecording] a little description of the built in recorder + how-to at the top of page.<br />
<BR><br />
<br />
==About Me==<br />
* FreeTim - Well my name is Tim, I'm 45 years old, I'm a computer Systems Engineer for a large Content Delivery Network. <br />
* I'm a specialist in multiple disciplines such as SunOS, and MCSE+i, Linux, Apache, HPUX, cisco, etc.<br />
* I work near MIT, with a view of the banks of the Charles River in Boston. <br />
* I'm one of the founders of the WEBOSBOSTON community [http://www.webosboston.org We have monthly meetings.]<br />
* I ride MOTORCROSS on the weekends (one of the two days, during the season.) Play DRUMS, GUITAR off season.<br />
You'll find me [http://www.webos-internals.org/wiki/Portal:Community in the IRC chat rooms] all day, every day.<br />
<BR><BR><br />
<br />
==Things I think are Useful for me to have here==<br />
===Sandbox===<br />
This is [http://www.webos-internals.org/wiki/freetim_sandbox my sandbox] that I use when initially preparing new wiki pages, before release.<br />
===Blocking WebOS updates===<br />
I don't want the updates to happen at some unplanned (for me) time, so here is the way to block webOS updates:<br />
<BR><BR><br />
cd /usr/bin<br />
mount -o remount,rw /<br />
chmod 664 UpdateDaemon<br />
mount -o remount,ro /<br />
<BR><BR><br />
Then, reboot (ORN+ shift +R) <br />
<BR><br />
To reverse the process use this;<br />
<BR><BR><br />
chmod 775 UpdateDaemon<br />
<BR><BR><br />
This makes it executable again as it was before, and then reboot (required.)<br />
<BR><BR><BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=VideoRecording&diff=15093VideoRecording2011-04-09T10:10:05Z<p>FreeTim: Added a new section about the video recorder.. Left the legacy page in place below that.</p>
<hr />
<div>*The built-in '''camera''' on the current version of '''WebOS allows videoRecording'''.<br />
**To use it, tap the video icon (rightmost icon) from inside the camera app.<br />
**Rotate your phone sideways clockwise (to the right)<br />
**Tap red icon to start recording.<br />
**Tap red icon to stop recording.<br />
**Tap the 'flash' icon to toggle the flash LED while recording.<br />
<br />
Output:<br />
*Output of the videos go into your 'video roll' area, and can be offloaded via USB.<br />
*You can edit videos directly on the device for start/stop point (total length)<br />
*If you want you can connect USB to offload the video but note also - :<br />
*You can email videos immediately from anywhere directly from the phone/EVDO - no need to connect to computer first.<br />
*Patches available to extend the allowed email length (30 seconds.)<br />
*Same as anything else you can do with a stored video (upload to facebook, etc.)<br />
<br />
<BR><BR><BR><br />
This wasn't always present as a feature. ''What follows is the legacy page, before this feature existed.''<br />
<BR><BR><BR><br />
At your command line (after [[Portal:Accessing_Linux|accessing linux]]):<br />
<br />
(make sure FS is rw)<br><br />
<source lang="bash"><br />
mount -o remount,rw /<br />
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/downloads/foo.mts<br />
mount -o remount,ro /<br />
</source><br />
- No GUI<br><br />
- No sound (need a muxer plugin? verify alsasrc works)<br><br />
- Frame rate seemed pretty decent too.<br><br />
- Video is H.264 at 480x320.<br><br />
- Image is rotated 90 degrees CCW<br />
<br />
other useful gstreamer commands:<br />
<br />
gst-inspect (shows list of sources to pipe through, mostly decoders/demuxers)<br />
<source lang="text"><br />
root@castle:/var/home/ccrook# gst-inspect<br />
palmvideodecoder: palmvideodecoder: palmvideodecoder<br />
palmaudiodecoder: palmaudiodecoder: palmaudiodecoder<br />
wavparse: wavparse: WAV audio demuxer<br />
wavenc: wavenc: WAV audio muxer<br />
udp: udpsink: UDP packet sender<br />
udp: multiudpsink: UDP packet sender<br />
udp: dynudpsink: UDP packet sender<br />
udp: udpsrc: UDP packet receiver<br />
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta<br />
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta<br />
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga<br />
typefindfunctions: video/mpeg4: m4v<br />
typefindfunctions: audio/x-m4a: m4a<br />
typefindfunctions: application/x-3gp: 3gp<br />
typefindfunctions: video/quicktime: mov<br />
typefindfunctions: audio/x-wav: wav<br />
typefindfunctions: adts_mpeg_stream: aac<br />
typefindfunctions: audio/x-amr-nb-sh: amr<br />
typefindfunctions: audio/x-amr-wb-sh: amr<br />
rtsp: rtspsrc: RTSP packet receiver<br />
rtsp: rtpdec: RTP Decoder<br />
rtsp: rtspgoogle: Google RTSP Extension<br />
gstrtpmanager: gstrtpbin: RTP Bin<br />
gstrtpmanager: gstrtpclient: RTP Client<br />
gstrtpmanager: gstrtpjitterbuffer: RTP packet jitter-buffer<br />
gstrtpmanager: gstrtpptdemux: RTP Demux<br />
gstrtpmanager: gstrtpsession: RTP Session<br />
gstrtpmanager: gstrtpssrcdemux: RTP SSRC Demux<br />
rtp: rtpdepay: RTP depayloader<br />
rtp: rtpac3depay: RTP packet depayloader<br />
rtp: rtpdvdepay: RTP DV Depayloader<br />
rtp: rtpdvpay: RTP DV Payloader<br />
rtp: rtpilbcpay: RTP Payloader for iLBC Audio<br />
rtp: rtpilbcdepay: RTP iLBC packet depayloader<br />
rtp: rtpg726depay: RTP packet depayloader<br />
rtp: rtpg726pay: RTP packet payloader<br />
rtp: rtpg729depay: RTP packet depayloader<br />
rtp: rtpg729pay: RTP Payloader for G729 Audio<br />
rtp: rtpgsmdepay: RTP packet depayloader<br />
rtp: rtpgsmpay: RTP GSM audio payloader<br />
rtp: rtpamrdepay: RTP packet depayloader<br />
rtp: rtpamrpay: RTP packet payloader<br />
rtp: rtppcmadepay: RTP packet depayloader<br />
rtp: rtppcmudepay: RTP packet depayloader<br />
rtp: rtppcmupay: RTP packet payloader<br />
rtp: rtppcmapay: RTP packet payloader<br />
rtp: rtpmpadepay: RTP packet depayloader<br />
rtp: rtpmpapay: RTP packet payloader<br />
rtp: rtpmpvdepay: RTP packet depayloader<br />
rtp: rtpmpvpay: RTP MPEG2 ES video payloader<br />
rtp: rtph263ppay: RTP packet payloader<br />
rtp: rtph263pdepay: RTP packet depayloader<br />
rtp: rtph263depay: RTP H263 packet depayloader<br />
rtp: rtph263pay: RTP packet payloader<br />
rtp: rtph264depay: RTP packet depayloader<br />
rtp: rtph264pay: RTP packet payloader<br />
rtp: rtpL16pay: RTP packet payloader<br />
rtp: rtpL16depay: RTP packet depayloader<br />
rtp: asteriskh263: RTP packet parser<br />
rtp: rtpmp1sdepay: RTP packet depayloader<br />
rtp: rtpmp2tdepay: RTP packet depayloader<br />
rtp: rtpmp2tpay: RTP MP2T audio payloader<br />
rtp: rtpmp4vpay: RTP MPEG-4 Video packet payloader<br />
rtp: rtpmp4vdepay: RTP packet depayloader<br />
rtp: rtpmp4apay: RTP packet payloader<br />
rtp: rtpmp4adepay: RTP packet parser<br />
rtp: rtpmp4gdepay: RTP packet depayloader<br />
rtp: rtpmp4gpay: RTP packet payloader<br />
rtp: rtpspeexpay: RTP packet payloader<br />
rtp: rtpspeexdepay: RTP packet depayloader<br />
rtp: rtpsv3vdepay: RTP packet depayloader<br />
rtp: rtptheoradepay: RTP packet depayloader<br />
rtp: rtptheorapay: RTP packet depayloader<br />
rtp: rtpvorbisdepay: RTP packet depayloader<br />
rtp: rtpvorbispay: RTP packet depayloader<br />
rtp: rtpvrawdepay: RTP packet depayloader<br />
rtp: rtpvrawpay: RTP packet payloader<br />
queue2: queue2: Queue<br />
quicktime: qtdemux: QuickTime demuxer<br />
quicktime: rtpxqtdepay: RTP packet depayloader<br />
playback: playbin: Player Bin<br />
playback: playbin2: Player Bin 2<br />
mulaw: mulawenc: Mu Law audio encoder<br />
mulaw: mulawdec: Mu Law audio decoder<br />
mobirtspsrc: mobirtspsrc: MobiRtspSrc<br />
ffmpeg: ffdec_alac: FFMPEG ALAC (Apple Lossless Audio Codec) decoder<br />
ffmpeg: ffdec_qcelp: FFMPEG QCELP / PureVoice decoder<br />
ffmpeg: ffdeinterlace: FFMPEG Deinterlace element<br />
ffmpeg: ffaudioresample: FFMPEG Audio resampling element<br />
uridecodebin: decodebin2: Decoder Bin<br />
uridecodebin: uridecodebin: URI Decoder<br />
decodebin: decodebin: Decoder Bin<br />
coreindexers: memindex: A index that stores entries in memory<br />
coreelements: capsfilter: CapsFilter<br />
coreelements: fakesrc: Fake Source<br />
coreelements: fakesink: Fake Sink<br />
coreelements: fdsrc: Filedescriptor Source<br />
coreelements: fdsink: Filedescriptor Sink<br />
coreelements: filesrc: File Source<br />
coreelements: identity: Identity<br />
coreelements: queue: Queue<br />
coreelements: filesink: File Sink<br />
coreelements: tee: Tee pipe fitting<br />
coreelements: typefind: TypeFind<br />
coreelements: multiqueue: MultiQueue<br />
video4linux2: camsrc: Video (video4linux2/raw) Source<br />
avi: avidemux: Avi demuxer<br />
avi: avimux: Avi muxer<br />
avi: avisubtitle: Avi subtitle parser<br />
audiotestsrc: audiotestsrc: Audio test source<br />
audiorate: audiorate: Audio rate adjuster<br />
audioconvert: audioconvert: Audio converter<br />
alsa: alsamixer: Alsa mixer<br />
alsa: alsasrc: Audio source (ALSA)<br />
alsa: alsasink: Audio sink (ALSA)<br />
alaw: alawenc: A Law audio encoder<br />
alaw: alawdec: A Law audio decoder<br />
palmvideosink: palmvideosink: palmvideosink<br />
palmvideoencoder: palmvideoencoder: palmvideoencoder<br />
palmqcelpdemux: palmqcelpdemux: palmqcelpdemux<br />
palmqcelpdemux: audio/x-gst-fourcc-sqcp: no extensions<br />
palmmp3demux: palmmp3demux: palmmp3demux<br />
palmjpegencfilesink: palmjpegencfilesink: palmjpegencfilesink<br />
palmhttpsrc: palmhttpsrc: Palm HTTP Source Element<br />
palmamrdemux: palmamrdemux: palmamrdemux<br />
adpcmdecoder: palmadpcmdecoder: ADPCM Decoder<br />
palmaacdemux: palmaacdemux: palmaacdemux<br />
staticelements: bin: Generic bin<br />
staticelements: pipeline: Pipeline object<br />
<br />
Total count: 36 plugins, 129 features<br />
</source><br />
<br />
Additional reference from XO Laptop site: <br />
<br />
http://wiki.laptop.org/go/Programming_the_camera<br><br />
http://wiki.laptop.org/go/GStreamer#Using_gst_at_the_command_line<br><br />
<br />
Currently looking at ways to use the camera preview pipe as a method of video recording through the WebOS GUI by diverting it to the filesystem.<br />
<br />
File of interest: /usr/lib/luna/luna-media/palmInitMedia.js<br />
<br />
<br />
More on the camera module: http://www.st.com/stonline/products/literature/bd/14404/vx6852.htm<br />
<br />
<br />
<br />
<br />
Relies on Prelease for launching shell scripts. Use Flashlight App! to install it before attempting to run.<br />
<br><br />
Currently stop button doesn't work.<br />
<br />
Note: Current versions of Prelease available through webOS QuickInstall and Preware no longer support the exploit to pass abritrary code, so this shouldn't work --[[User:Prenos|Prenos]] 16:59, 9 September 2009 (UTC)<br />
<br />
== ToDo ==<br />
1.) Figure out proper way to freevideosink via a homebrew app (killing gst-launch properly) (probably will involve invoking a custom service)<br> '''UPDATE''': sending an INT signal seems to work? not sure if I'm missing something here... --[[User:Prenos|Prenos]] 15:14, 6 October 2009 (UTC)<br />
2.) Mux in sound from alsasrc<br><br />
:"gst-launch alsasrc ! alsasink" will give you sound from the mic playing back through the speakers, verifying alsasrc. It quickly loses resolution though, and starts giving "can't keep up with audio source" errors. --[[User:Zinge|Zinge]] 08:23, 7 August 2009 (UTC)<br />
<br />
:"gst-launch alsasrc ! wavenc ! filesink location=/media/internal/downloads/test.wav" will record audio no problem. --[[User:Cpcrook|Cpcrook]] 17:36, 7 August 2009 (UTC)<br />
:"gst-launch camsrc ! palmvideoencoder ! avimux name=mux ! filesink location=/media/internal/downloads/foo.mts alsasrc ! mulawenc ! mux." will mux audio and video, though the timing was a bit off when I played it back. --[[User:Muchtall|Muchtall]] 18:15, 7 August 2009 (UTC)<br />
<br />
3.) Implement preview screen (possibility: send video through palmvideosink, then to palmvideoencoder so its still accessible for preview?) '''UPDATE''': this seems semi-posible, as there are supported gstreamer elements that could "tee" the pipeline to 2 locations, unfortunately a custom app using palmvideosink seems unlikely as it's locked up in MediaServer --[[User:Prenos|Prenos]] 15:14, 6 October 2009 (UTC)<br><br />
<br />
4.) Get Videos app to display recorded video files (if anyone knows why the doesn't work now, please add it here, because it should work but it doesn't) '''UPDATE''': This definitely SHOULDN'T work. You're piping a RAW h264 bitstream to a file with no container. Honestly I'm suprised it plays back in totem/smplayer. My only guess is they somehow contain them during stream. I'm working on backporting qtmux, as it's the only viable solution I've come up with that would be compatible with Pre's environment --[[User:Prenos|Prenos]] 15:14, 6 October 2009 (UTC)<br><br><br />
5.) Video conferencing via UDPsink? '''UPDATE''': I'm thinking theoraenc and net2stream to an icecast server. 2 way probably isn't possible, i suppose this would be more 'http video streaming' than conferencing --[[User:Prenos|Prenos]] 15:14, 6 October 2009 (UTC)<br><br><br />
6.) Get 720x480@30fps working (TI claims this is possible with the current hardware). This seems to require recompiling camsrc with palm's 'capabilities template' removed or adjusted(palm offers both the base v4l2 drivers as well as their patch to compile the camsrc plugin on their opensource website). There's also a comment in palmInitMedia.js that the driver only supports up to 480x320, but v4l2 is documented to handle higher resolutions. Will also requre installing another video encoder. --[[User:Prenos|Prenos]] 20:10, 27 August 2009 (UTC) '''UPDATE''': this seems to be infeasble due to memory limitations, tons of segfaults and things. might have to do some serious buffering and framerate adjustments to get this to work. Will try with more efficient encoders --[[User:Prenos|Prenos]] 15:14, 6 October 2009 (UTC)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=DNS&diff=15089DNS2011-04-09T09:54:27Z<p>FreeTim: /* Legacy Linux Method */</p>
<hr />
<div>==DNS==<br />
<br />
Description: The Palm Pre name resolver service / IP lookup<br />
<br />
===Overview:===<br />
The Palm Pre uses conventional DNS hostname look up methods., but there is a service to assign DNS depending on connection type, since the Pre can connect via Wifi, or instead over cellular networks. You can use OpenDNS and other DNS IPs instead, by editing resolv.conf and /etc/hosts file just like on a regular Linux system to specify and override the normal DNS IPs.<BR><BR><br />
<br />
====Details:====<br />
<br />
==Using another DNS for All Lookups==<br />
*You can use any DNS such as OpenDNS<br />
*Or look one up via any search engine<br />
**Caveat: Be careful to assign nameservers NOT too far away from you or your web experience will slow down... CDNs use your nameserver to determine what city you're in, and then web pages (and PALM downloads!) come from servers nearest to where they believe you are (by where your DNS is located.) ... about 40% of the overall internet is now delivered over CDNs so this is significant. This is why using the DNS assigned by your ISP is usually the best choice, since that is your 'point of entry' onto the internet backbone.<br />
* choose a DNS in your same city if possible<br />
* Or at least in your same region<br />
* If you are connecting via a VPN, then use a DNS IP in that city if possible - this is the point of your entry to the internet backbone <br />
...you get the idea. Now on to HOW to do it:<br />
<BR><br />
====Legacy Linux Method====<br />
* Edit the file /etc/resolv.conf using vi from command line (or any other text editor.) Examples:<br />
<br />
search somelocalhost<br />
nameserver 208.67.220.220<br />
nameserver 208.67.222.222<br />
<br />
*The above means that for a hostnamed "somelocalhost" look locally (on the Pre) for it, otherwise use the two nameservers by IP listed.<br />
<BR><br />
<br />
====Change DNS depending on Current Connection====<br />
<br />
*There is a Palm service to assign a DNS;<br />
*Which changes the resolver automatically depending on connection (wifi, EVD0 etc.)<br />
*I.e; Use dev cscotun0 and dev-type tun in the openvpn config<BR><BR><br />
luna-send -n 1 palm://com.palm.netroute/addNetIf '{ "ifName": "cscotun0", "networkTechnology": "vpn", "networkScope": "wan", "ipv4": { "ip": "openvpn-addr", "netmask": "0xffffffff", "dns": [ "openvpn-dns" ] }, "networkUsage": [ "other" ], "domainsOnIfDns": [ "domain.com" ] }' <br />
*This line wraps significantly - scroll right to see the entire line<br />
*For details, See the bottom [http://www.webos-internals.org/wiki/Network_Management this wiki page.]<br />
<BR>*For discussion, WebOS has several resolv.conf files - possibly rotates between them depending on connection? <br />
/etc/resolv.conf <br />
/tmp/resolv.conf <br />
/var/run/resolv.conf<br />
/var/run/ppp/resolv.conf<br />
<br />
*ToDo: - I'll test these out and paste report here. -FreeTim<br />
<BR><BR><br />
<br />
==Override DNS For One Particular Host Lookup==<br />
===Spoofing===<br />
For testing, you can use /etc/hosts to override any hostname look up. This allows you to point "www.google.com" for example to a PARTICULAR IP instead of getting the currently assigned dynamic IP. This method, called ''' ''spoofing'' ''', is useful for testing the Palm Pre against a particular server, which might be useful if you were logging on that server and looking for the hit.<br />
*Useful for testing AJAX calls against one single web server IP<br />
*Useful for running searches against one particular search server<br />
<br />
Using vi, edit the file<br />
/etc/hosts<br />
<br />
*The format of the file IP, followed by hostname. <br />
*The full hostname must be given, ie; google.com won't work, www.google.com will work.<br />
*No reboot or LUNA restart required... <br />
*Has PRIORITY - the 'hosts' file is checked on every single lookup, and since it's checked first in the chain, has the effect of "overriding" normal DNS lookup for that one hostname.<br />
*Example<br />
2.2.2.44 www.somedomain.com<br />
2.2.2.55 images.somedomain.com<br />
*No HTTP allowed in this file, no trailing slash - hostname only<br />
*When no longer needed you can store your entries for later re-use, and just comment out the lines by putting pound (#) as the first character on the line.<br />
*Test to see if this works, by using the Terminal and by using PING hostname, before and after your changes.<br />
#2.2.2.44 www.somedomain.com<br />
#2.2.2.55 images.somedomain.com<br />
*''' '' 'Spoofing' '' ''' method only overrides the DNS lookup for the particular host listed in the /etc/hosts file - any other host lookup will work dynamically using the normal lookup resolver methods. If you are looking to change the way all hosts are looked up, then instead you should change the resolver using the methods near the top of this document.<br />
<br />
<br />
<br />
.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=DNS&diff=8932DNS2010-02-05T12:47:33Z<p>FreeTim: Added several resolf.conf files locations for discussion and test later</p>
<hr />
<div>==DNS==<br />
<br />
Description: The Palm Pre name resolver service / IP lookup<br />
<br />
===Overview:===<br />
The Palm Pre uses conventional DNS hostname look up methods., but there is a service to assign DNS depending on connection type, since the Pre can connect via Wifi, or instead over cellular networks. You can use OpenDNS and other DNS IPs instead, by editing resolv.conf and /etc/hosts file just like on a regular Linux system to specify and override the normal DNS IPs.<BR><BR><br />
<br />
====Details:====<br />
<br />
==Using another DNS for All Lookups==<br />
*You can use any DNS such as OpenDNS<br />
*Or look one up via any search engine<br />
**Caveat: Be careful to assign nameservers NOT too far away from you or your web experience will slow down... CDNs use your nameserver to determine what city you're in, and then web pages (and PALM downloads!) come from servers nearest to where they believe you are (by where your DNS is located.) ... about 40% of the overall internet is now delivered over CDNs so this is significant. This is why using the DNS assigned by your ISP is usually the best choice, since that is your 'point of entry' onto the internet backbone.<br />
* choose a DNS in your same city if possible<br />
* Or at least in your same region<br />
* If you are connecting via a VPN, then use a DNS IP in that city if possible - this is the point of your entry to the internet backbone <br />
...you get the idea. Now on to HOW to do it:<br />
<BR><br />
====Legacy Linux Method====<br />
* Edit the file /etc/resolv.conf using vi from command line. Examples:<br />
<br />
search somelocalhost<br />
nameserver 208.67.220.220<br />
nameserver 208.67.222.222<br />
<br />
*The above means that for a hostnamed "somelocalhost" look locally (on the Pre) for it, otherwise use the two nameservers by IP listed.<br />
<BR><br />
====Change DNS depending on Current Connection====<br />
<br />
*There is a Palm service to assign a DNS;<br />
*Which changes the resolver automatically depending on connection (wifi, EVD0 etc.)<br />
*I.e; Use dev cscotun0 and dev-type tun in the openvpn config<BR><BR><br />
luna-send -n 1 palm://com.palm.netroute/addNetIf '{ "ifName": "cscotun0", "networkTechnology": "vpn", "networkScope": "wan", "ipv4": { "ip": "openvpn-addr", "netmask": "0xffffffff", "dns": [ "openvpn-dns" ] }, "networkUsage": [ "other" ], "domainsOnIfDns": [ "domain.com" ] }' <br />
*This line wraps significantly - scroll right to see the entire line<br />
*For details, See the bottom [http://www.webos-internals.org/wiki/Network_Management this wiki page.]<br />
<BR>*For discussion, WebOS has several resolv.conf files - possibly rotates between them depending on connection? <br />
/etc/resolv.conf <br />
/tmp/resolv.conf <br />
/var/run/resolv.conf<br />
/var/run/ppp/resolv.conf<br />
<br />
*ToDo: - I'll test these out and paste report here. -FreeTim<br />
<BR><BR><br />
<br />
==Override DNS For One Particular Host Lookup==<br />
===Spoofing===<br />
For testing, you can use /etc/hosts to override any hostname look up. This allows you to point "www.google.com" for example to a PARTICULAR IP instead of getting the currently assigned dynamic IP. This method, called ''' ''spoofing'' ''', is useful for testing the Palm Pre against a particular server, which might be useful if you were logging on that server and looking for the hit.<br />
*Useful for testing AJAX calls against one single web server IP<br />
*Useful for running searches against one particular search server<br />
<br />
Using vi, edit the file<br />
/etc/hosts<br />
<br />
*The format of the file IP, followed by hostname. <br />
*The full hostname must be given, ie; google.com won't work, www.google.com will work.<br />
*No reboot or LUNA restart required... <br />
*Has PRIORITY - the 'hosts' file is checked on every single lookup, and since it's checked first in the chain, has the effect of "overriding" normal DNS lookup for that one hostname.<br />
*Example<br />
2.2.2.44 www.somedomain.com<br />
2.2.2.55 images.somedomain.com<br />
*No HTTP allowed in this file, no trailing slash - hostname only<br />
*When no longer needed you can store your entries for later re-use, and just comment out the lines by putting pound (#) as the first character on the line.<br />
*Test to see if this works, by using the Terminal and by using PING hostname, before and after your changes.<br />
#2.2.2.44 www.somedomain.com<br />
#2.2.2.55 images.somedomain.com<br />
*''' '' 'Spoofing' '' ''' method only overrides the DNS lookup for the particular host listed in the /etc/hosts file - any other host lookup will work dynamically using the normal lookup resolver methods. If you are looking to change the way all hosts are looked up, then instead you should change the resolver using the methods near the top of this document.<br />
<br />
<br />
<br />
.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=User:FreeTim&diff=8931User:FreeTim2010-02-05T12:24:14Z<p>FreeTim: minor</p>
<hr />
<div>==Pages==<br />
Pages I contributed to the community are linked here. I'm not a developer I'm a systems engineer, so these won't be apps or patches, just things of interest regarding access to the underlying Linux operating system, install documents and other Systems things of interest.<br />
<br />
Also having them linked here helps me to review/ maintain them<br />
* [http://www.webos-internals.org/wiki/DNS The DNS name resolver page]<br />
* [http://www.webos-internals.org/wiki/Komodo_WebOS_Add-on_Install the Komodo_WebOS_Add-on_Installpage.] A how-to-install document, how to update, and how to enable Code Intelligence. Screen shots, and verification steps included. (Templarian's Komodo WebOS Add-on is quite a time saver, many thanks to the developer, Templarian!)<BR><br />
* [http://www.webos-internals.org/wiki/putty the putty page] - how to CORRECTLY have PuTTY configured, for SSH2 into your Pre.<br />
* [http://www.webos-internals.org/wiki/bottom_bar the Bottom Bar page] which is possibly deprecated now.<br />
* [http://www.webos-internals.org/wiki/GPS The GPS page detailing the GPS hardware.] and battery tests for the GPS.<br />
* anywhere else that I can help . :)<br />
<br />
==About Me==<br />
* FreeTim - Well my name is Tim, I'm 45 years old, I'm a computer Systems Engineer for a large Content Delivery Network. <br />
* I'm a specialist in multiple disciplines such as SunOS, and MCSE+i, Linux, Apache, HPUX, cisco, etc.<br />
* I work near MIT, with a view of the banks of the Charles River in Boston. <br />
* I'm one of the founders of the WEBOSBOSTON community [http://www.webosboston.org We have monthly meetings.]<br />
* I ride MOTORCROSS on the weekends (one of the two days, during the season.) Play DRUMS, GUITAR off season.<br />
You'll find me [http://www.webos-internals.org/wiki/Portal:Community in the IRC chat rooms] all day, every day.<br />
<BR><BR><br />
<br />
==Things I think are Useful for me to have here==<br />
===Sandbox===<br />
This is [http://www.webos-internals.org/wiki/freetim_sandbox my sandbox] that I use when initially preparing new wiki pages, before release.<br />
===Blocking WebOS updates===<br />
I don't want the updates to happen at some unplanned (for me) time, so here is the way to block webOS updates:<br />
<BR><BR><br />
cd /usr/bin<br />
mount -o remount,rw /<br />
chmod 664 UpdateDaemon<br />
mount -o remount,ro /<br />
<BR><BR><br />
Then, reboot (ORN+ shift +R) <br />
<BR><br />
To reverse the process use this;<br />
<BR><BR><br />
chmod 775 UpdateDaemon<br />
<BR><BR><br />
This makes it executable again as it was before, and then reboot (required.)<br />
<BR><BR><BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=DNS&diff=8930DNS2010-02-05T12:08:02Z<p>FreeTim: misspelled "believe" - corrected</p>
<hr />
<div>==DNS==<br />
<br />
Description: The Palm Pre name resolver service / IP lookup<br />
<br />
===Overview:===<br />
The Palm Pre uses conventional DNS hostname look up methods., but there is a service to assign DNS depending on connection type, since the Pre can connect via Wifi, or instead over cellular networks. You can use OpenDNS and other DNS IPs instead, by editing resolv.conf and /etc/hosts file just like on a regular Linux system to specify and override the normal DNS IPs.<BR><BR><br />
<br />
====Details:====<br />
<br />
==Using another DNS for All Lookups==<br />
*You can use any DNS such as OpenDNS<br />
*Or look one up via any search engine<br />
**Caveat: Be careful to assign nameservers NOT too far away from you or your web experience will slow down... CDNs use your nameserver to determine what city you're in, and then web pages (and PALM downloads!) come from servers nearest to where they believe you are (by where your DNS is located.) ... about 40% of the overall internet is now delivered over CDNs so this is significant. This is why using the DNS assigned by your ISP is usually the best choice, since that is your 'point of entry' onto the internet backbone.<br />
* choose a DNS in your same city if possible<br />
* Or at least in your same region<br />
* If you are connecting via a VPN, then use a DNS IP in that city if possible - this is the point of your entry to the internet backbone <br />
...you get the idea. Now on to HOW to do it:<br />
<BR><br />
====Legacy Linux Method====<br />
* Edit the file /etc/resolv.conf using vi from command line. Examples:<br />
<br />
search somelocalhost<br />
nameserver 208.67.220.220<br />
nameserver 208.67.222.222<br />
<br />
*The above means that for a hostnamed "somelocalhost" look locally (on the Pre) for it, otherwise use the two nameservers by IP listed.<br />
<BR><br />
====Change DNS depending on Current Connection====<br />
<br />
*There is a Palm service to assign a DNS;<br />
*Which changes the resolver automatically depending on connection (wifi, EVD0 etc.)<br />
*I.e; Use dev cscotun0 and dev-type tun in the openvpn config<BR><BR><br />
luna-send -n 1 palm://com.palm.netroute/addNetIf '{ "ifName": "cscotun0", "networkTechnology": "vpn", "networkScope": "wan", "ipv4": { "ip": "openvpn-addr", "netmask": "0xffffffff", "dns": [ "openvpn-dns" ] }, "networkUsage": [ "other" ], "domainsOnIfDns": [ "domain.com" ] }' <br />
*This line wraps significantly - scroll right to see the entire line<br />
*For details, See the bottom [http://www.webos-internals.org/wiki/Network_Management this wiki page.]<br />
<BR><BR><br />
<br />
==Override DNS For One Particular Host Lookup==<br />
===Spoofing===<br />
For testing, you can use /etc/hosts to override any hostname look up. This allows you to point "www.google.com" for example to a PARTICULAR IP instead of getting the currently assigned dynamic IP. This method, called ''' ''spoofing'' ''', is useful for testing the Palm Pre against a particular server, which might be useful if you were logging on that server and looking for the hit.<br />
*Useful for testing AJAX calls against one single web server IP<br />
*Useful for running searches against one particular search server<br />
<br />
Using vi, edit the file<br />
/etc/hosts<br />
<br />
*The format of the file IP, followed by hostname. <br />
*The full hostname must be given, ie; google.com won't work, www.google.com will work.<br />
*No reboot or LUNA restart required... <br />
*Has PRIORITY - the 'hosts' file is checked on every single lookup, and since it's checked first in the chain, has the effect of "overriding" normal DNS lookup for that one hostname.<br />
*Example<br />
2.2.2.44 www.somedomain.com<br />
2.2.2.55 images.somedomain.com<br />
*No HTTP allowed in this file, no trailing slash - hostname only<br />
*When no longer needed you can store your entries for later re-use, and just comment out the lines by putting pound (#) as the first character on the line.<br />
*Test to see if this works, by using the Terminal and by using PING hostname, before and after your changes.<br />
#2.2.2.44 www.somedomain.com<br />
#2.2.2.55 images.somedomain.com<br />
*''' '' 'Spoofing' '' ''' method only overrides the DNS lookup for the particular host listed in the /etc/hosts file - any other host lookup will work dynamically using the normal lookup resolver methods. If you are looking to change the way all hosts are looked up, then instead you should change the resolver using the methods near the top of this document.<br />
<br />
<br />
<br />
.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=DNS&diff=8929DNS2010-02-05T12:02:24Z<p>FreeTim: Initial rough draft of DNS lookup methods for the Pre- . Includes spoofing, and resolv.conf editing, and dynamic service. . - FreeTim</p>
<hr />
<div>==DNS==<br />
<br />
Description: The Palm Pre name resolver service / IP lookup<br />
<br />
===Overview:===<br />
The Palm Pre uses conventional DNS hostname look up methods., but there is a service to assign DNS depending on connection type, since the Pre can connect via Wifi, or instead over cellular networks. You can use OpenDNS and other DNS IPs instead, by editing resolv.conf and /etc/hosts file just like on a regular Linux system to specify and override the normal DNS IPs.<BR><BR><br />
<br />
====Details:====<br />
<br />
==Using another DNS for All Lookups==<br />
*You can use any DNS such as OpenDNS<br />
*Or look one up via any search engine<br />
**Caveat: Be careful to assign nameservers NOT too far away from you or your web experience will slow down... CDNs use your nameserver to determine what city you're in, and then web pages (and PALM downloads!) come from servers nearest to where they beleive you are (by where your DNS is located.) ... about 40% of the overall internet is now delivered over CDNs so this is significant. This is why using the DNS assigned by your ISP is usually the best choice, since that is your 'point of entry' onto the internet backbone.<br />
* choose a DNS in your same city if possible<br />
* Or at least in your same region<br />
<BR><br />
====Legacy Linux Method====<br />
* Edit the file /etc/resolv.conf using vi from command line. Examples:<br />
<br />
search somelocalhost<br />
nameserver 208.67.220.220<br />
nameserver 208.67.222.222<br />
<br />
*The above means that for a hostnamed "somelocalhost" look locally (on the Pre) for it, otherwise use the two nameservers by IP listed.<br />
<BR><br />
====Change DNS depending on Current Connection====<br />
<br />
*There is a Palm service to assign a DNS;<br />
*Which changes the resolver automatically depending on connection (wifi, EVD0 etc.)<br />
*I.e; Use dev cscotun0 and dev-type tun in the openvpn config<BR><BR><br />
luna-send -n 1 palm://com.palm.netroute/addNetIf '{ "ifName": "cscotun0", "networkTechnology": "vpn", "networkScope": "wan", "ipv4": { "ip": "openvpn-addr", "netmask": "0xffffffff", "dns": [ "openvpn-dns" ] }, "networkUsage": [ "other" ], "domainsOnIfDns": [ "domain.com" ] }' <br />
*This line wraps significantly - scroll right to see the entire line<br />
*For details, See the bottom [http://www.webos-internals.org/wiki/Network_Management this wiki page.]<br />
<BR><BR><br />
==Override DNS For One Particular Host Lookup==<br />
===Spoofing===<br />
For testing, you can use /etc/hosts to override any hostname look up. This allows you to point "www.google.com" for example to a PARTICULAR IP instead of getting the currently assigned dynamic IP. This method, called ''' ''spoofing'' ''', is useful for testing the Palm Pre against a particular server, which might be useful if you were logging on that server and looking for the hit.<br />
*Useful for testing AJAX calls against one single web server IP<br />
*Useful for running searches against one particular search server<br />
<br />
Using vi, edit the file<br />
/etc/hosts<br />
<br />
*The format of the file IP, followed by hostname. <br />
*The full hostname must be given, ie; google.com won't work, www.google.com will work.<br />
*No reboot or LUNA restart required... <br />
*Has PRIORITY - the 'hosts' file is checked on every single lookup, and since it's checked first in the chain, has the effect of "overriding" normal DNS lookup for that one hostname.<br />
*Example<br />
2.2.2.44 www.somedomain.com<br />
2.2.2.55 images.somedomain.com<br />
*No HTTP allowed in this file, no trailing slash - hostname only<br />
*When no longer needed you can store your entries for later re-use, and just comment out the lines by putting pound (#) as the first character on the line.<br />
*Test to see if this works, by using the Terminal and by using PING hostname, before and after your changes.<br />
#2.2.2.44 www.somedomain.com<br />
#2.2.2.55 images.somedomain.com<br />
*''' '' 'Spoofing' '' ''' method only overrides the DNS lookup for the particular host listed in the /etc/hosts file - any other host lookup will work dynamically using the normal lookup resolver methods. If you are looking to change the way all hosts are looked up, then instead you should change the resolver using the methods near the top of this document.<br />
<br />
<br />
<br />
.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Preware&diff=8770Application:Preware2010-01-29T23:32:46Z<p>FreeTim: Added the fix from Discussion page</p>
<hr />
<div>{{application<br />
|name=Preware<br />
|type=webOS<br />
|version=Version: Beta 0.9.16 <br />(12 Jan 2010)<br />
|tag=Utilities<br />
|screenshot=Preware_ss1.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Icon_Preware.png|float:right;}}<br />
Preware is a package management application for the Palm Pre. Preware allows the user to install any package from any of the open standard package repositories on preware.org (or any other location that hosts an open standard package repository). Preware relies on a custom written service developed from community research which allows the mojo app to talk to the built-in ipkg tool.<br />
<br />
This application was the result of extensive community-based design in [[IPKG Service]] and [[Preware Design]].<br />
<br />
For application management, Preware can access more applications, and has more features, than any other on-device package installer.<br />
<br />
And since it is open source, and has a completely open development process supported by a team of world-class WebOS Internals developers, it will continue to get better much faster than any other package management application.<br />
<br />
Preware is the open application installer that has been written specifically to support a homebrew ecosystem where any developer can upload any application to any submission site, and that application can then be installed by any user. Developers no longer need to upload their applications to multiple submission sites, and users are no longer excluded from accessing applications from any open standard package repository.<br />
<br />
=== Key Features ===<br />
<br />
* Install / Remove / Update Homebrew Applications including advanced applications with special requirements. <br />
* Install / Remove / Update WebOS Themes<br />
* Install / Remove / Update WebOS Patches<br />
* Install / Remove / Update Palm App Catalog Applications<br />
* Support for installation of signed packages<br />
<br />
== Usage ==<br />
<br />
=== Preferences === <br />
<br />
[[Image:Preferences.png|160px|bottom]]<br><br>You can select preferences in the top left corner of the pre to bring up the preferences screen. On the Preferences screen you can specify the look of the application, the frequency that feeds are updated, and what Preware will show you by default. <br />
<br />
=== Feed Management ===<br />
<br />
[[Image:Preware_ss9.png|160px|bottom]]<br><br>In the preferences section on the top bar on the right side is a button that takes you to the feeds screen. On the feeds screen you can select which feeds are loaded and which ones are not. Simply select the on or off button for that feed. (If you are not interested in themes you can disable the two feeds for themes to speed up the updating of feeds) Preware comes with the following feeds by default. <br />
<br />
* Optware<br />
* Palm Beta<br />
* Palm Catalog<br />
* Palm Web<br />
* PreCentral<br />
* PreCentral Themes<br />
* PreThemer<br />
* WebOS Internals<br />
* WebOS Patches<br />
<br />
=== Package Updates ===<br />
=== Applications ===<br />
=== Themes ===<br />
=== Patches ===<br />
=== Installed Packages ===<br />
=== List of Everything ===<br />
<br />
<br />
== Status ==<br />
<br />
This is beta software. Even so:<br />
<br />
* Since 27 August 2009 it is the only over-the-air installer for the palm capable of installing advanced palm applications such as the [[On_Screen_Keyboard|on screen keyboard]] or the terminal application.<br />
* Since 27 August 2009 it is the only application supporting installation from all existing palm homebrew feeds. <br />
* Since 17 September 2009 it also supports installation of themes. <br />
* Since 8 October 2009 it also supports installation of webos patches.<br />
* Since 12 Jan 2010 it also supports all Palm App Catalog feeds.<br />
<br />
== License ==<br />
<br />
Please be aware that org.webosinternals.preware and org.webosinternals.ipkgservice are licensed under the GPLv2.<br />
<br />
They cannot be used by a closed source application. If you want to use them in a non-GPLv2 but otherwise open source application, please contact the authors.<br />
<br />
== Operating notes ==<br />
<br />
=== Limitations ===<br />
<br />
No known limitations.<br />
<br />
=== Known bugs ===<br />
<br />
*When selecting a patch with dependencies, if you view those dependencies then install them, when Preware returns you to the original patch's screen it will still have the 'install' button showing even though it is installed successfully. Swiping back and returning will show the correct status.<br />
<br />
*The Update All button can get confused if there are patches with complex dependencies. This will be fixed in a future version.<br />
<br />
*The Updates feature from the regular Palm Launcher, may claim that application updates are needed, and then when the user clicks Show Updates shows the App Catalog's installed applications, there are none shown that need updating. This isn't as expected. This is because an app that was previously only in Preware has now migrated to the Palm Catalog. Don't worry, your apps are up to date (with the possible exception of the one with the conflict.) Not a bug in PreWare per se' but an app version conflict because the app is in both the Palm Catalog and also in Homebrew. Notice that you don't need to remove preware to install the app from the official catalog, but simply disable the feed in preware then "update feeds" to refresh the list then it should install fine from the official app catalog.<br />
<br />
== Installing Preware ==<br />
<br />
''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]''<br />
<br />
You do not need to access the Linux command line or "root your Pre" to install or use Preware.<br />
<br />
Please use version 2.96 or later of the [http://forums.precentral.net/canuck-software/206905-webos-quick-install-v2-96-a.html WebOS Quick Install] tool to install the Package Manager Service and the Preware application directly from the WebOS Internals feed. <br />
<br />
No other application installer tool is sophisticated enough to install the custom Package Manager Service that Preware requires. Preware can install it, but you need a way to bootstrap Preware first, so you need to use our stand-alone Preware Installers or WebOS Quick Install for the very first installation of Preware.<br />
<br />
You need to have your Pre in [[Getting started|developer mode]] when using the stand-alone Preware Installer or WebOS Quick Install for the very first installation of the Package Manager Service and Preware. Once you have Preware correctly installed, you never need to use [[Getting started|developer mode]] again with Preware (it does the required steps in the background for you whenever it needs to).<br />
<br />
Note that Preware works just as well on the Emulator as it does on a real device, and is installed in exactly the same way.<br />
<br />
=== Installing Preware with WebOS Quick Install ===<br />
'''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]'''<br />
<br />
* Put your device in [[Getting started|Developer Mode]]<br />
* Run WebOS Quick Install<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Package Manager Service'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Preware'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* If WebOS Quick Install offers to install the Package Manager Service automatically to enable tweaking, do not agree. It will install the wrong version. You must install it as detailed above.<br />
<br />
=== Installing Preware from Terminal, Novaterm or WebOS Quick Install "Linux Commandline" ===<br />
<br />
Really, unless you *really* know what you are doing, you should use the normal WebOS Quick Install installation instructions above.<br />
<br />
<source lang="bash"><br />
cd /tmp<br />
wget http://bit.ly/preware-bootstrap<br />
sh preware-bootstrap<br />
</source><br />
<br />
=== Installing Preware with Preware Installer ===<br />
<br />
# '''Put your phone into [[Getting started|Developer Mode]]''' (skip if you already have developer mode on) <br />
## Go to the main (start) screen on your Palm Pre or Pixi <br />
## Start typing "webos20090606" without the quotation marks.<br />
## Tap the Developer Mode icon and turn Developer Mode on. <br />
## Set Developer Mode to ON.<br />
## When asked, tap Reset The Device. Your phone will restart.<br />
## Connect the USB cable to your computer and select "Just Charge" when the phone prompts you.<br />
# '''Install Required Software''':<br />
## [http://www.java.com/en/download/installed.jsp?detect=jre&try=1 Click here] to verify that you have the latest java installed on your computer and update if needed<br />
## [http://www.webos-internals.org/wiki/Webos_Doctor_Versions Click here] to download the current webOS Doctor for your carrier and phone in a subdirectory your will remember (maybe "Palm"?). If you already have it, skip this step. <br />
### '''Do not run the webOS Doctor''' unless you intend to delete all of your phone's files and data and start over.<br />
# '''Install Preware''':<br />
## Right click the most recent PrewareInstaller.jar from [http://get.preware.org/ get.preware.org] and choose ''Save As...''<br />
## Save the Preware Installer in the same folder where your save the webOS Doctor.<br />
## Open (run) the Preware Installer (Double click the jar file you just downloaded.) <br />
## Click Tools then Update Drivers to refresh Novacomd. This may take a few minutes.<br />
## Click INSTALL. Wait while the ''Install'' button is grayed out (Preware is being installed).<br />
## When the Preware Installer Button is no longer grayed out, close the Preware Installer.<br />
# '''Restart your phone''': <br />
## Press and hold the ON/OFF button for 8 seconds<br />
## Tap Power<br />
## Tap Restart<br />
# '''Update the Package Manager Service and Preware'''<br />
## Tap Launcher<br />
## Tap Preware<br />
## Tap OK to continue if there is a splash screen<br />
## Tap Package Updates (an update for Package Manager Service and Preware should be shown)<br />
## Tap Package Manager Service<br />
## Tap Update<br />
## Tap OK when the Package Manager Service application has installed<br />
## Swipe back to return to Package Updates<br />
## Tap Preware<br />
## Tap Update<br />
## Tap OK when the Preware application has installed<br />
<br />
=== Updating ===<br />
<br />
To update Preware or the Package Manager Service, simpy use Preware version 0.9.0 or later.<br />
<br />
Make sure you update the Package Manager Service first, and the Preware application second. As of Preware 0.9.4, this restriction will be enforced automatically.<br />
<br />
If you are updating to Preware version 0.9.3 or later and you have previously used the autopatch-feed package, please follow these [http://forums.precentral.net/webos-patches/208312-autopatch-transitioning-webos-patches-feed.html] directions for the update.<br />
<br />
=== Removal ===<br />
<br />
''Why would you ever want to remove Preware?''<br />
<br />
To remove Preware, use WebOS Quick Install's Device Management page and unselect the Package Manager Service and the Preware application.<br />
<br />
=== Recent enhancements ===<br />
<br />
0.9.16: Removed the partial app limit fix (obsolete as of webOS 1.3.5)<br />
<br />
0.9.15: Added Palm App Catalog feeds, including price information.<br />
<br />
0.9.14: Added support for installation of signed packages without confirmation.<br />
<br />
0.9.13: Enabled the Update All button, and added support for skipping restart actions (e.g. when installing multiple patches).<br />
<br />
0.9.12: Fixed the recurring splash screen bug.<br />
<br />
0.9.11: Added a preference for enabling and disabling the fair dinkum partial app limit fix.<br />
<br />
0.9.10: Added support for category themes.<br />
<br />
0.9.9: Massive speed improvements, a fix for the theme hanging problem, and support for Pixi patching.<br />
<br />
0.9.8: Robustified the calls to the JSON parser to handle packages with syntax errors in appinfo.json<br />
<br />
0.9.7: Added a preference to enable or disable fixing the metadata for unknown type packages.<br />
<br />
0.9.6: Added the initial startup screen. Fixed the display of packages with multiple maintainers. Now loads extended appinfo and control file information for Unknown packages. Changed default list second-line to version + maintainer. No longer allows back-gestures during package operations. Multi-line package titles are now supported. Show All Packages changed to Show Available Types and now defaults to No.<br />
<br />
0.9.5: A package is removed if the user cancels installation. More verbose status and error messages. Selects appropriate webos-patches feed automatically.<br />
<br />
0.9.4: Added support for package dependencies.<br />
<br />
0.9.3: Adds the webos-patches feed, and feed management support.<br />
<br />
0.9.1: Adds the All category, plus other miscellaneous fixes.<br />
<br />
0.9.0: Now supports themes, restart flags and the new memory-reduction service methods.<br />
<br />
0.8.5: Massive speed improvement on loading, now supports package types and adding feeds.<br />
<br />
0.8.2: More preferences added and now functional, with listing and update frequency options.<br />
<br />
0.8.1: Preferences scene implemented. Upstart job stops on removal.<br />
<br />
0.8.0: Now supports Descriptions and Screenshots.<br />
<br />
0.7.7: Addition of ipkglog and config list, and if ipkgservice fails at start it notifies people, and if it fails after postinst it considers it complete anyways<br />
<br />
0.7.6: Fixed the superfluous update subscription message windows<br />
<br />
0.7.5: Fixed update subscription oddity.<br />
<br />
0.7.4: Fixed remounting of root filesystem for post-install and pre-remove scripts on the Pre.<br />
<br />
0.7.1: Fixed buttons and title on script view screen.<br />
<br />
0.7.0: Initial support for post-install and pre-remove scripts, including secure informed user consent. Does not work properly with dependencies yet, so please install dependencies one at a time.<br />
<br />
0.6.7: Fixed bug in category drop-down list.<br />
<br />
0.6.6: Fixed bug in package size reporting.<br />
<br />
0.6.5: Updated icon and other graphical annotations.<br />
<br />
0.6.4: Categories drop-down bug fixed. Preware category updated.<br />
<br />
0.6.2: Categories now work to some extent. Still a bug in the drop down box.<br />
<br />
0.6.1: Sorting by name or date is now available. Application details screen is much more organized.<br />
<br />
0.6.0: No user visible changes. Preparation for the secure informed user consent functionality.<br />
<br />
0.5.1: Filtering is now available on the list screens. Just start typing ...<br />
<br />
== Repository ==<br />
<br />
Preware and the Package Manager Service are housed in the applications/preware and services/ipkservice git repositories at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
== Preware Bootstrap ==<br />
<br />
The Preware Bootstrap is the fastest, most robust way to install or update Preware and the Package Manager Service.<br />
<br />
<source lang="bash"><br />
cd /tmp<br />
wget http://bit.ly/preware-bootstrap<br />
sh preware-bootstrap<br />
</source><br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Preware&diff=8769Application:Preware2010-01-29T23:29:42Z<p>FreeTim: Added App Catalog Update conflict in bugs section (it's not really a bug.)</p>
<hr />
<div>{{application<br />
|name=Preware<br />
|type=webOS<br />
|version=Version: Beta 0.9.16 <br />(12 Jan 2010)<br />
|tag=Utilities<br />
|screenshot=Preware_ss1.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Icon_Preware.png|float:right;}}<br />
Preware is a package management application for the Palm Pre. Preware allows the user to install any package from any of the open standard package repositories on preware.org (or any other location that hosts an open standard package repository). Preware relies on a custom written service developed from community research which allows the mojo app to talk to the built-in ipkg tool.<br />
<br />
This application was the result of extensive community-based design in [[IPKG Service]] and [[Preware Design]].<br />
<br />
For application management, Preware can access more applications, and has more features, than any other on-device package installer.<br />
<br />
And since it is open source, and has a completely open development process supported by a team of world-class WebOS Internals developers, it will continue to get better much faster than any other package management application.<br />
<br />
Preware is the open application installer that has been written specifically to support a homebrew ecosystem where any developer can upload any application to any submission site, and that application can then be installed by any user. Developers no longer need to upload their applications to multiple submission sites, and users are no longer excluded from accessing applications from any open standard package repository.<br />
<br />
=== Key Features ===<br />
<br />
* Install / Remove / Update Homebrew Applications including advanced applications with special requirements. <br />
* Install / Remove / Update WebOS Themes<br />
* Install / Remove / Update WebOS Patches<br />
* Install / Remove / Update Palm App Catalog Applications<br />
* Support for installation of signed packages<br />
<br />
== Usage ==<br />
<br />
=== Preferences === <br />
<br />
[[Image:Preferences.png|160px|bottom]]<br><br>You can select preferences in the top left corner of the pre to bring up the preferences screen. On the Preferences screen you can specify the look of the application, the frequency that feeds are updated, and what Preware will show you by default. <br />
<br />
=== Feed Management ===<br />
<br />
[[Image:Preware_ss9.png|160px|bottom]]<br><br>In the preferences section on the top bar on the right side is a button that takes you to the feeds screen. On the feeds screen you can select which feeds are loaded and which ones are not. Simply select the on or off button for that feed. (If you are not interested in themes you can disable the two feeds for themes to speed up the updating of feeds) Preware comes with the following feeds by default. <br />
<br />
* Optware<br />
* Palm Beta<br />
* Palm Catalog<br />
* Palm Web<br />
* PreCentral<br />
* PreCentral Themes<br />
* PreThemer<br />
* WebOS Internals<br />
* WebOS Patches<br />
<br />
=== Package Updates ===<br />
=== Applications ===<br />
=== Themes ===<br />
=== Patches ===<br />
=== Installed Packages ===<br />
=== List of Everything ===<br />
<br />
<br />
== Status ==<br />
<br />
This is beta software. Even so:<br />
<br />
* Since 27 August 2009 it is the only over-the-air installer for the palm capable of installing advanced palm applications such as the [[On_Screen_Keyboard|on screen keyboard]] or the terminal application.<br />
* Since 27 August 2009 it is the only application supporting installation from all existing palm homebrew feeds. <br />
* Since 17 September 2009 it also supports installation of themes. <br />
* Since 8 October 2009 it also supports installation of webos patches.<br />
* Since 12 Jan 2010 it also supports all Palm App Catalog feeds.<br />
<br />
== License ==<br />
<br />
Please be aware that org.webosinternals.preware and org.webosinternals.ipkgservice are licensed under the GPLv2.<br />
<br />
They cannot be used by a closed source application. If you want to use them in a non-GPLv2 but otherwise open source application, please contact the authors.<br />
<br />
== Operating notes ==<br />
<br />
=== Limitations ===<br />
<br />
No known limitations.<br />
<br />
=== Known bugs ===<br />
<br />
*When selecting a patch with dependencies, if you view those dependencies then install them, when Preware returns you to the original patch's screen it will still have the 'install' button showing even though it is installed successfully. Swiping back and returning will show the correct status.<br />
<br />
*The Update All button can get confused if there are patches with complex dependencies. This will be fixed in a future version.<br />
<br />
*The Updates feature from the regular Palm Launcher, may claim that application updates are needed, and then when the user clicks Show Updates shows the App Catalog's installed applications, there are none shown that need updating. This isn't as expected. This is because an app that was previously only in Preware has now migrated to the Palm Catalog. Don't worry, your apps are up to date (with the possible exception of the one with the conflict.) Not a bug in PreWare per se' but an app version conflict.<br />
<br />
== Installing Preware ==<br />
<br />
''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]''<br />
<br />
You do not need to access the Linux command line or "root your Pre" to install or use Preware.<br />
<br />
Please use version 2.96 or later of the [http://forums.precentral.net/canuck-software/206905-webos-quick-install-v2-96-a.html WebOS Quick Install] tool to install the Package Manager Service and the Preware application directly from the WebOS Internals feed. <br />
<br />
No other application installer tool is sophisticated enough to install the custom Package Manager Service that Preware requires. Preware can install it, but you need a way to bootstrap Preware first, so you need to use our stand-alone Preware Installers or WebOS Quick Install for the very first installation of Preware.<br />
<br />
You need to have your Pre in [[Getting started|developer mode]] when using the stand-alone Preware Installer or WebOS Quick Install for the very first installation of the Package Manager Service and Preware. Once you have Preware correctly installed, you never need to use [[Getting started|developer mode]] again with Preware (it does the required steps in the background for you whenever it needs to).<br />
<br />
Note that Preware works just as well on the Emulator as it does on a real device, and is installed in exactly the same way.<br />
<br />
=== Installing Preware with WebOS Quick Install ===<br />
'''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]'''<br />
<br />
* Put your device in [[Getting started|Developer Mode]]<br />
* Run WebOS Quick Install<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Package Manager Service'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Preware'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* If WebOS Quick Install offers to install the Package Manager Service automatically to enable tweaking, do not agree. It will install the wrong version. You must install it as detailed above.<br />
<br />
=== Installing Preware from Terminal, Novaterm or WebOS Quick Install "Linux Commandline" ===<br />
<br />
Really, unless you *really* know what you are doing, you should use the normal WebOS Quick Install installation instructions above.<br />
<br />
<source lang="bash"><br />
cd /tmp<br />
wget http://bit.ly/preware-bootstrap<br />
sh preware-bootstrap<br />
</source><br />
<br />
=== Installing Preware with Preware Installer ===<br />
<br />
# '''Put your phone into [[Getting started|Developer Mode]]''' (skip if you already have developer mode on) <br />
## Go to the main (start) screen on your Palm Pre or Pixi <br />
## Start typing "webos20090606" without the quotation marks.<br />
## Tap the Developer Mode icon and turn Developer Mode on. <br />
## Set Developer Mode to ON.<br />
## When asked, tap Reset The Device. Your phone will restart.<br />
## Connect the USB cable to your computer and select "Just Charge" when the phone prompts you.<br />
# '''Install Required Software''':<br />
## [http://www.java.com/en/download/installed.jsp?detect=jre&try=1 Click here] to verify that you have the latest java installed on your computer and update if needed<br />
## [http://www.webos-internals.org/wiki/Webos_Doctor_Versions Click here] to download the current webOS Doctor for your carrier and phone in a subdirectory your will remember (maybe "Palm"?). If you already have it, skip this step. <br />
### '''Do not run the webOS Doctor''' unless you intend to delete all of your phone's files and data and start over.<br />
# '''Install Preware''':<br />
## Right click the most recent PrewareInstaller.jar from [http://get.preware.org/ get.preware.org] and choose ''Save As...''<br />
## Save the Preware Installer in the same folder where your save the webOS Doctor.<br />
## Open (run) the Preware Installer (Double click the jar file you just downloaded.) <br />
## Click Tools then Update Drivers to refresh Novacomd. This may take a few minutes.<br />
## Click INSTALL. Wait while the ''Install'' button is grayed out (Preware is being installed).<br />
## When the Preware Installer Button is no longer grayed out, close the Preware Installer.<br />
# '''Restart your phone''': <br />
## Press and hold the ON/OFF button for 8 seconds<br />
## Tap Power<br />
## Tap Restart<br />
# '''Update the Package Manager Service and Preware'''<br />
## Tap Launcher<br />
## Tap Preware<br />
## Tap OK to continue if there is a splash screen<br />
## Tap Package Updates (an update for Package Manager Service and Preware should be shown)<br />
## Tap Package Manager Service<br />
## Tap Update<br />
## Tap OK when the Package Manager Service application has installed<br />
## Swipe back to return to Package Updates<br />
## Tap Preware<br />
## Tap Update<br />
## Tap OK when the Preware application has installed<br />
<br />
=== Updating ===<br />
<br />
To update Preware or the Package Manager Service, simpy use Preware version 0.9.0 or later.<br />
<br />
Make sure you update the Package Manager Service first, and the Preware application second. As of Preware 0.9.4, this restriction will be enforced automatically.<br />
<br />
If you are updating to Preware version 0.9.3 or later and you have previously used the autopatch-feed package, please follow these [http://forums.precentral.net/webos-patches/208312-autopatch-transitioning-webos-patches-feed.html] directions for the update.<br />
<br />
=== Removal ===<br />
<br />
''Why would you ever want to remove Preware?''<br />
<br />
To remove Preware, use WebOS Quick Install's Device Management page and unselect the Package Manager Service and the Preware application.<br />
<br />
=== Recent enhancements ===<br />
<br />
0.9.16: Removed the partial app limit fix (obsolete as of webOS 1.3.5)<br />
<br />
0.9.15: Added Palm App Catalog feeds, including price information.<br />
<br />
0.9.14: Added support for installation of signed packages without confirmation.<br />
<br />
0.9.13: Enabled the Update All button, and added support for skipping restart actions (e.g. when installing multiple patches).<br />
<br />
0.9.12: Fixed the recurring splash screen bug.<br />
<br />
0.9.11: Added a preference for enabling and disabling the fair dinkum partial app limit fix.<br />
<br />
0.9.10: Added support for category themes.<br />
<br />
0.9.9: Massive speed improvements, a fix for the theme hanging problem, and support for Pixi patching.<br />
<br />
0.9.8: Robustified the calls to the JSON parser to handle packages with syntax errors in appinfo.json<br />
<br />
0.9.7: Added a preference to enable or disable fixing the metadata for unknown type packages.<br />
<br />
0.9.6: Added the initial startup screen. Fixed the display of packages with multiple maintainers. Now loads extended appinfo and control file information for Unknown packages. Changed default list second-line to version + maintainer. No longer allows back-gestures during package operations. Multi-line package titles are now supported. Show All Packages changed to Show Available Types and now defaults to No.<br />
<br />
0.9.5: A package is removed if the user cancels installation. More verbose status and error messages. Selects appropriate webos-patches feed automatically.<br />
<br />
0.9.4: Added support for package dependencies.<br />
<br />
0.9.3: Adds the webos-patches feed, and feed management support.<br />
<br />
0.9.1: Adds the All category, plus other miscellaneous fixes.<br />
<br />
0.9.0: Now supports themes, restart flags and the new memory-reduction service methods.<br />
<br />
0.8.5: Massive speed improvement on loading, now supports package types and adding feeds.<br />
<br />
0.8.2: More preferences added and now functional, with listing and update frequency options.<br />
<br />
0.8.1: Preferences scene implemented. Upstart job stops on removal.<br />
<br />
0.8.0: Now supports Descriptions and Screenshots.<br />
<br />
0.7.7: Addition of ipkglog and config list, and if ipkgservice fails at start it notifies people, and if it fails after postinst it considers it complete anyways<br />
<br />
0.7.6: Fixed the superfluous update subscription message windows<br />
<br />
0.7.5: Fixed update subscription oddity.<br />
<br />
0.7.4: Fixed remounting of root filesystem for post-install and pre-remove scripts on the Pre.<br />
<br />
0.7.1: Fixed buttons and title on script view screen.<br />
<br />
0.7.0: Initial support for post-install and pre-remove scripts, including secure informed user consent. Does not work properly with dependencies yet, so please install dependencies one at a time.<br />
<br />
0.6.7: Fixed bug in category drop-down list.<br />
<br />
0.6.6: Fixed bug in package size reporting.<br />
<br />
0.6.5: Updated icon and other graphical annotations.<br />
<br />
0.6.4: Categories drop-down bug fixed. Preware category updated.<br />
<br />
0.6.2: Categories now work to some extent. Still a bug in the drop down box.<br />
<br />
0.6.1: Sorting by name or date is now available. Application details screen is much more organized.<br />
<br />
0.6.0: No user visible changes. Preparation for the secure informed user consent functionality.<br />
<br />
0.5.1: Filtering is now available on the list screens. Just start typing ...<br />
<br />
== Repository ==<br />
<br />
Preware and the Package Manager Service are housed in the applications/preware and services/ipkservice git repositories at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
== Preware Bootstrap ==<br />
<br />
The Preware Bootstrap is the fastest, most robust way to install or update Preware and the Package Manager Service.<br />
<br />
<source lang="bash"><br />
cd /tmp<br />
wget http://bit.ly/preware-bootstrap<br />
sh preware-bootstrap<br />
</source><br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application_talk:JsTop&diff=8225Application talk:JsTop2010-01-08T13:03:08Z<p>FreeTim: really miss the overall memory usage bar, it's what I liked the most</p>
<hr />
<div>* On my pre, when I first installed JsTop or upgraded it when it first came up it showed an Item with no name a PID of 9999, -1 nodes, 0 handles and no name. After a luna restart JsTop shows everything fine. [[User:Gkatsev|Gkatsev]] 18:47, 4 December 2009 (UTC)<br />
<br />
* JsTop has been working for me for a while, but suddenly now I always see the same thing as reported by GKatsev in the previous comment. Restarting the Pre and deleting/reinstalling the app have no effect. -- unknown commenter<br />
<br />
* I really miss the overall memory usage bar, it's what I liked the most, I could monitor the overall memory. Is that coming back in some version soon? Very useful when testing apps on the run like on the train.- [[User:FreeTim|FreeTim]] 13:03, 8 January 2010 (UTC) <BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application_talk:Precorder&diff=7946Application talk:Precorder2010-01-02T16:02:47Z<p>FreeTim: /* Feature Requests */</p>
<hr />
<div>__TOC__<br />
<br />
== Page Layout ==<br />
<br />
Please place all comments under the appropriate category. If you would like a feature that has already been requested then just add your signature by placing two asterisks and four tilde's <nowiki>**~~~~</nowiki> on the line underneath. It will show up like this.<br />
<br />
*Here is a feature request that I will add my signature to.<br />
**[[User:Cryptk|Cryptk]] 19:06, 24 November 2009 (UTC)<br />
<br />
<br />
Please remember to sign all new entries with four tildes <nowiki>~~~~</nowiki><br />
<br />
<br />
I know this is alpha but I want ppl to put their opinions/observations.<br />
<br />
== Bug Reports ==<br />
<br />
* The sound quality is very low --[[User:En0x|en0x]] 14:31, 24 November 2009 (UTC)<br />
** Microphone is on the opposite side of the camera. Narration from user isn't too bad. Sound is better with playback on computer. Looking into ways to stage a temperary alsa config to boost mic, or level it through a 3rd utility which would require another service --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Both the video only and audio only options produce only audio.--[[User:Gkatsev|Gkatsev]] 16:05, 24 November 2009 (UTC)<br />
** Problem noted, on the map --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Sound is only heard in the left channel --[[User:Gryn|Gryn]] 22:39, 24 November 2009 (UTC)<br />
** This fix would probably also require a 3rd service/utility --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App saves files "when it wants to" --[[User:Gryn|Gryn]] 12:30, 25 November 2009 (UTC)<br />
** This problem is directly related to the lack of feedback between the pipeline, the service, and the app. This will eventually be resolved once the output and errors get properly filtered down, and it may not happen til/unless the service is converted to C. --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App only seems to save files when the Video application is open. --[[User:Ccolman|Ccolman]] 17:22, 25 November 2009 (UTC)<br />
* When I select audio format to mp3- video will not record. [[User:13brian|13brian]] 03:54, 3 December 2009 (UTC)<br />
* The current .mp4 container the application outputs doesn't allowing the stock Pre video player to scrub through the video --[[User:Abyssul|Abyssul]] December 5, 2009<br />
* Can't record videos past 10mb. Unable to play file on pc or pre. --[[User:Gryn|Gryn]] 23:24, 10 December 2009 (UTC)<br />
* Audio and Video are not in sync. Try recording someone singing and watch their mouth. Awesome work though!<br />
* No recording happening? I had no problem installing Terminal and bootstrapping Precorder. I get no problem launching or running the app. But when I tap Launch Last Video, Precorder drops to a card, and then I get a landscape error: Error There was an error playing the file [Back]<br />
<br />
When I check Videos, there's nothing new in there, so my best guess is that Precorder's not actually recording anything. I'm on 1.3.5, running multiple patches and a theme. Other users are seconding this problem on the "Precorder" thread on Precentral. [[User:Wilder jw|Wilder jw]] 04:08, 2 January 2010 (UTC)<br />
<br />
==Viewfinder discussion ==<br />
<br />
The development of a viewfinder for the app is "hard" -- heck the APP was hard until zsoc showed up. If you know what the term "gstreamer sink" means, then you will understand zsoc's explanation that he can not fork a gstreamer sink. <br />
<br />
If you do NOT know what that means, then we are forced to talk around the actual problem and to attempt to explain it via analogy. The way that Mojo is built, unlike X-windows or Windows, or other existing GUI's, there is exactly and precisely one "pipe" to move video around. If webOS used "X" as a framework instead of Mojo, the viewfinder app would be trivial. But _inside Luna_ Inside the linux app that runs webos, there isn't a way to "fork" a video stream. <br />
<br />
So, when zsoc hooks up the camera to a recording app, he has used up the one and only pipe. There isn't a pipe available to hook the camera up to a display. Some people then had the clever idea, well, the app is //recording// the video, let's play it back, there would be a lag, but that would be better than no viewfinder at all. Nope. one pipe, remember? So if we used the pipe to hook the camera up to the recorder, then there's no pipe to hook the recording up to the display either. <br />
<br />
If you are enough of a programmer to look at zsoc's service and understand what he's done, if you have messed with gstreamer internals, we will be happy to have your input, here, or in the #webos-internals chat on IRC. If not, then if you want to discuss this in detail, please go read code first, zsoc has had a '''''lot''''' of naive suggestions, and his response is pretty much consistent, that the suggester doesn't understand the problem. Please do not post suggestions in the thread unless you have researched "gstreamer sink."<br />
<br />
If you're enough of a programmer to '''fix''' it, the source repository is listed in the article and we will be eternally grateful. <br />
<br />
Thanks for your patience.<br />
<br />
Note as of 08 Dec 2009, progress has been made. They have hacked the plugin used to display the viewfinder for the camera, and have hacked a fork for the gstreamer. But saddly, in the absence of the gpu graphics accelerator, there just isn't enough cpu cycles to encode audio AND encode video AND display the viewfinder all at once. <br />
<br />
They are now trying to hack the GPU to get hardware acceleration of that process. Again, contact zsoc if you have expertise in that area. [[User:Rboatright|rboatright]] 16:47, 8 December 2009 (UTC)<br />
<br />
== Feature Requests ==<br />
<br />
* I would like to have Record New moved to the bottom... It's hard to tap it when you have slider open --[[User:En0x|en0x]] 14:21, 24 November 2009 (UTC)<br />
** done --[[User:Prenos|Prenos]] 17:17, 24 November 2009 (UTC)<br />
* Add option to launch video app from precorder --[[User:En0x|en0x]] 17:04, 24 November 2009 (UTC)<br />
**--[[User:Gryn|Gryn]] 22:37, 24 November 2009 (UTC)<br />
*** This is already implemented, will be released in next version --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Way to show how many minutes I recorded? in precorder --[[User:En0x|en0x]] 17:15, 24 November 2009 (UTC)<br />
**[[User:FreeTim|FreeTim]] 16:01, 2 January 2010 (UTC)<br />
**I have a count up timer planned --[[User:Prenos|Prenos]] 17:18, 24 November 2009 (UTC)<br />
* Flash toggle on main scene? --[[User:En0x|en0x]] 17:21, 24 November 2009 (UTC)<br />
** I looked into this. The whole graphical UI is changing in the next version. This might be a future option still tho --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Have it show the estimated video recording time remaining based on free space in the /media/internal --[[User:Cryptk|Cryptk]] 18:45, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This isn't practical for a number of reasons, but I'll see if someone else wants to implement it --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Use space on keyboard to start/stop recording --[[User:En0x|en0x]] 19:34, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This is feasable, will consider implemented an API for this option --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
*MP3 audio-only recording, for creating podcasts --[[User:ProfJonathan|ProfJonathan]] 19:52, 24 November 2009 (UTC)<br />
**[[User:FreeTim|FreeTim]] 16:01, 2 January 2010 (UTC)<br />
** This will require a minor overhaul of the general video start request, or a new request method. It will be an available option if technically feasable once beta hits --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Would it be possible show the video from the camera while not recording? For example to better frame a shot before pressing record?<br />
**[[User:Gryn|Gryn]] 23:23, 10 December 2009 (UTC)<br />
* If possible have the interface (main scene) look like the camera application where the bottom left icon would open the video application as a new card, the middle button would start/stop recording, and the right button would turn on the flash on/off on the fly. --[[User:thatdude|thatdude]] 00:08 25 November 2009 (EST)<br />
**You mean more buttons? Some UI changes stated above --[[User:Gryn|Gryn]] 21:51, 25 November 2009 (UTC)<br />
* Allow the launch page to orientate the direction the camera needs to be to record. --Mamouton 11:59 pm 28 November 2009<br />
**Formatting the page to the camera orientation --[[User:Gryn|Gryn]] 15:07, 28 November 2009 (UTC)<br />
* Where do we add 'thanks' ? Here? Well, THANKS!! Really enjoying this PreCorder [[User:FreeTim|FreeTim]] 11:04, 4 December 2009 (UTC)<br />
<br />
== im not a programmer just have an ideah don't hurt me ==<br />
<br />
To save ur time (that you can be useing to save my digital life) answer this question. <br />
Is it possible to program the pre to capture things that are occuring on the screen (like the examples on themes ect.) if so then this idea may be of use to you.<br />
<br />
This is where i don't want you to hurt me. As when the normal still capture camera is running you see a live (digital) renderring of the world. <br />
(2nd and least possible idea) If that digital information could be copied, captured, or intercepted and saved then video could be possible. (1st most propable idea) Use a patch to capture (most likely low resoloution for speed) images in, rappid succession, of the screan while the normal pre camera is displaying on the screan.<br />
<br />
I realize that these ideas may be just that and is completely different from the pre-corder, but i do hope that this idea is truely considered and inspires an even better idea.<br />
<br />
Fingers Crossed O_o<br />
<br />
Me<br />
<br />
GStreamer has a Tee tool. That takes in one stream and splits it in two (if that helps)<br />
<br />
example and explanation from http://www.vidarholen.net/contents/blog/?p=5<br />
<br />
gst-launch-0.10 v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 ! queue ! theoraenc quality=60 ! queue ! muxout. pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 ! queue ! audioconvert ! vorbisenc ! queue ! muxout. oggmux name=muxout ! filesink location=lulz.ogg videoout. ! queue ! ffmpegcolorspace ! ximagesink<br />
<br />
#Get a v4l2 video source, split it and put one end though a<br />
#theora codec and send the other to videoout (defined later)<br />
v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 \<br />
! queue ! theoraenc quality=60 ! queue ! muxout. <br />
<br />
#Get audio from a pulseaudio stream, run it through the vorbis encoder<br />
pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 \<br />
! queue ! audioconvert ! vorbisenc ! queue !muxout. <br />
<br />
#Mux the audio and video together, and put it in "media.ogg"<br />
oggmux name=muxout ! filesink location=media.ogg <br />
<br />
#Put the other end of the video split out on the screen<br />
videoout. ! queue ! ffmpegcolorspace ! ximagesink</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application_talk:Precorder&diff=7945Application talk:Precorder2010-01-02T16:01:16Z<p>FreeTim: </p>
<hr />
<div>__TOC__<br />
<br />
== Page Layout ==<br />
<br />
Please place all comments under the appropriate category. If you would like a feature that has already been requested then just add your signature by placing two asterisks and four tilde's <nowiki>**~~~~</nowiki> on the line underneath. It will show up like this.<br />
<br />
*Here is a feature request that I will add my signature to.<br />
**[[User:Cryptk|Cryptk]] 19:06, 24 November 2009 (UTC)<br />
<br />
<br />
Please remember to sign all new entries with four tildes <nowiki>~~~~</nowiki><br />
<br />
<br />
I know this is alpha but I want ppl to put their opinions/observations.<br />
<br />
== Bug Reports ==<br />
<br />
* The sound quality is very low --[[User:En0x|en0x]] 14:31, 24 November 2009 (UTC)<br />
** Microphone is on the opposite side of the camera. Narration from user isn't too bad. Sound is better with playback on computer. Looking into ways to stage a temperary alsa config to boost mic, or level it through a 3rd utility which would require another service --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Both the video only and audio only options produce only audio.--[[User:Gkatsev|Gkatsev]] 16:05, 24 November 2009 (UTC)<br />
** Problem noted, on the map --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Sound is only heard in the left channel --[[User:Gryn|Gryn]] 22:39, 24 November 2009 (UTC)<br />
** This fix would probably also require a 3rd service/utility --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App saves files "when it wants to" --[[User:Gryn|Gryn]] 12:30, 25 November 2009 (UTC)<br />
** This problem is directly related to the lack of feedback between the pipeline, the service, and the app. This will eventually be resolved once the output and errors get properly filtered down, and it may not happen til/unless the service is converted to C. --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App only seems to save files when the Video application is open. --[[User:Ccolman|Ccolman]] 17:22, 25 November 2009 (UTC)<br />
* When I select audio format to mp3- video will not record. [[User:13brian|13brian]] 03:54, 3 December 2009 (UTC)<br />
* The current .mp4 container the application outputs doesn't allowing the stock Pre video player to scrub through the video --[[User:Abyssul|Abyssul]] December 5, 2009<br />
* Can't record videos past 10mb. Unable to play file on pc or pre. --[[User:Gryn|Gryn]] 23:24, 10 December 2009 (UTC)<br />
* Audio and Video are not in sync. Try recording someone singing and watch their mouth. Awesome work though!<br />
* No recording happening? I had no problem installing Terminal and bootstrapping Precorder. I get no problem launching or running the app. But when I tap Launch Last Video, Precorder drops to a card, and then I get a landscape error: Error There was an error playing the file [Back]<br />
<br />
When I check Videos, there's nothing new in there, so my best guess is that Precorder's not actually recording anything. I'm on 1.3.5, running multiple patches and a theme. Other users are seconding this problem on the "Precorder" thread on Precentral. [[User:Wilder jw|Wilder jw]] 04:08, 2 January 2010 (UTC)<br />
<br />
==Viewfinder discussion ==<br />
<br />
The development of a viewfinder for the app is "hard" -- heck the APP was hard until zsoc showed up. If you know what the term "gstreamer sink" means, then you will understand zsoc's explanation that he can not fork a gstreamer sink. <br />
<br />
If you do NOT know what that means, then we are forced to talk around the actual problem and to attempt to explain it via analogy. The way that Mojo is built, unlike X-windows or Windows, or other existing GUI's, there is exactly and precisely one "pipe" to move video around. If webOS used "X" as a framework instead of Mojo, the viewfinder app would be trivial. But _inside Luna_ Inside the linux app that runs webos, there isn't a way to "fork" a video stream. <br />
<br />
So, when zsoc hooks up the camera to a recording app, he has used up the one and only pipe. There isn't a pipe available to hook the camera up to a display. Some people then had the clever idea, well, the app is //recording// the video, let's play it back, there would be a lag, but that would be better than no viewfinder at all. Nope. one pipe, remember? So if we used the pipe to hook the camera up to the recorder, then there's no pipe to hook the recording up to the display either. <br />
<br />
If you are enough of a programmer to look at zsoc's service and understand what he's done, if you have messed with gstreamer internals, we will be happy to have your input, here, or in the #webos-internals chat on IRC. If not, then if you want to discuss this in detail, please go read code first, zsoc has had a '''''lot''''' of naive suggestions, and his response is pretty much consistent, that the suggester doesn't understand the problem. Please do not post suggestions in the thread unless you have researched "gstreamer sink."<br />
<br />
If you're enough of a programmer to '''fix''' it, the source repository is listed in the article and we will be eternally grateful. <br />
<br />
Thanks for your patience.<br />
<br />
Note as of 08 Dec 2009, progress has been made. They have hacked the plugin used to display the viewfinder for the camera, and have hacked a fork for the gstreamer. But saddly, in the absence of the gpu graphics accelerator, there just isn't enough cpu cycles to encode audio AND encode video AND display the viewfinder all at once. <br />
<br />
They are now trying to hack the GPU to get hardware acceleration of that process. Again, contact zsoc if you have expertise in that area. [[User:Rboatright|rboatright]] 16:47, 8 December 2009 (UTC)<br />
<br />
== Feature Requests ==<br />
<br />
* I would like to have Record New moved to the bottom... It's hard to tap it when you have slider open --[[User:En0x|en0x]] 14:21, 24 November 2009 (UTC)<br />
** done --[[User:Prenos|Prenos]] 17:17, 24 November 2009 (UTC)<br />
* Add option to launch video app from precorder --[[User:En0x|en0x]] 17:04, 24 November 2009 (UTC)<br />
**--[[User:Gryn|Gryn]] 22:37, 24 November 2009 (UTC)<br />
*** This is already implemented, will be released in next version --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Way to show how many minutes I recorded? in precorder --[[User:En0x|en0x]] 17:15, 24 November 2009 (UTC)<br />
**[[User:FreeTim|FreeTim]] 16:01, 2 January 2010 (UTC)<br />
I have a count up timer planned --[[User:Prenos|Prenos]] 17:18, 24 November 2009 (UTC)<br />
* Flash toggle on main scene? --[[User:En0x|en0x]] 17:21, 24 November 2009 (UTC)<br />
** I looked into this. The whole graphical UI is changing in the next version. This might be a future option still tho --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Have it show the estimated video recording time remaining based on free space in the /media/internal --[[User:Cryptk|Cryptk]] 18:45, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This isn't practical for a number of reasons, but I'll see if someone else wants to implement it --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Use space on keyboard to start/stop recording --[[User:En0x|en0x]] 19:34, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This is feasable, will consider implemented an API for this option --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
*MP3 audio-only recording, for creating podcasts --[[User:ProfJonathan|ProfJonathan]] 19:52, 24 November 2009 (UTC)<br />
**[[User:FreeTim|FreeTim]] 16:01, 2 January 2010 (UTC)<br />
** This will require a minor overhaul of the general video start request, or a new request method. It will be an available option if technically feasable once beta hits --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Would it be possible show the video from the camera while not recording? For example to better frame a shot before pressing record?<br />
**[[User:Gryn|Gryn]] 23:23, 10 December 2009 (UTC)<br />
* If possible have the interface (main scene) look like the camera application where the bottom left icon would open the video application as a new card, the middle button would start/stop recording, and the right button would turn on the flash on/off on the fly. --[[User:thatdude|thatdude]] 00:08 25 November 2009 (EST)<br />
**You mean more buttons? Some UI changes stated above --[[User:Gryn|Gryn]] 21:51, 25 November 2009 (UTC)<br />
* Allow the launch page to orientate the direction the camera needs to be to record. --Mamouton 11:59 pm 28 November 2009<br />
**Formatting the page to the camera orientation --[[User:Gryn|Gryn]] 15:07, 28 November 2009 (UTC)<br />
* Where do we add 'thanks' ? Here? Well, thanks! Really looking forward to this one (now I'll go and find it. Hopefully .ipk.) [[User:FreeTim|FreeTim]] 11:04, 4 December 2009 (UTC)<br />
<br />
== im not a programmer just have an ideah don't hurt me ==<br />
<br />
To save ur time (that you can be useing to save my digital life) answer this question. <br />
Is it possible to program the pre to capture things that are occuring on the screen (like the examples on themes ect.) if so then this idea may be of use to you.<br />
<br />
This is where i don't want you to hurt me. As when the normal still capture camera is running you see a live (digital) renderring of the world. <br />
(2nd and least possible idea) If that digital information could be copied, captured, or intercepted and saved then video could be possible. (1st most propable idea) Use a patch to capture (most likely low resoloution for speed) images in, rappid succession, of the screan while the normal pre camera is displaying on the screan.<br />
<br />
I realize that these ideas may be just that and is completely different from the pre-corder, but i do hope that this idea is truely considered and inspires an even better idea.<br />
<br />
Fingers Crossed O_o<br />
<br />
Me<br />
<br />
GStreamer has a Tee tool. That takes in one stream and splits it in two (if that helps)<br />
<br />
example and explanation from http://www.vidarholen.net/contents/blog/?p=5<br />
<br />
gst-launch-0.10 v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 ! queue ! theoraenc quality=60 ! queue ! muxout. pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 ! queue ! audioconvert ! vorbisenc ! queue ! muxout. oggmux name=muxout ! filesink location=lulz.ogg videoout. ! queue ! ffmpegcolorspace ! ximagesink<br />
<br />
#Get a v4l2 video source, split it and put one end though a<br />
#theora codec and send the other to videoout (defined later)<br />
v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 \<br />
! queue ! theoraenc quality=60 ! queue ! muxout. <br />
<br />
#Get audio from a pulseaudio stream, run it through the vorbis encoder<br />
pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 \<br />
! queue ! audioconvert ! vorbisenc ! queue !muxout. <br />
<br />
#Mux the audio and video together, and put it in "media.ogg"<br />
oggmux name=muxout ! filesink location=media.ogg <br />
<br />
#Put the other end of the video split out on the screen<br />
videoout. ! queue ! ffmpegcolorspace ! ximagesink</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Doom&diff=7944Application:Doom2010-01-02T15:48:31Z<p>FreeTim: Added location of the .doomrc resource file for the key bindings. Also, added one known Limitation</p>
<hr />
<div>{{application<br />
|name=DOOM!<br />
|type=webOS<br />
|version=Version: Alpha 1.1.2 <br />(1 Jan 2010)<br />
|tag=Utilities<br />
|screenshot=Doom-in-a-card.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Tux_as_Zombie.png|float:right;}}<br />
<br />
== Status ==<br />
<br />
== License ==<br />
<br />
DOOM! for the Palm Pre is distributed under the ID Software License, which allows for non-commercial use only.<br />
<br />
http://doom.wikia.com/wiki/SDL_Doom<br />
<br />
== Operating notes ==<br />
<br />
Tap the screen or hit "Sym" to shoot.<br />
<br />
H - forward at slow speed<br />
<br />
Y - left<br />
<br />
B - right<br />
<br />
G - forward at fast speed<br />
<br />
SPACE - open doors<br />
<br />
COMMA - strafe right<br />
<br />
ORANGE + # - Change weapon. 1 - fist, 2 - pistol, 3 - shotgun, 4 - chaingun (havent gotten other weapons yet but should be the same concept)<br />
<br />
ENTER - display last message (picked up Medikit, etc)<br />
<br />
ORANGE + = : Zoom In<br />
<br />
ORANGE + - : Zoom Out <br />
<br />
- = siderun right?<br />
<br />
. = sidestep right<br />
<br />
Back Gesture - Brings up in-game menu (Save, Load, Options, etc...)<br />
<br />
G + H - Move up and down in the menu, enter to select<br />
<br />
(feel free to add to this list)<br />
<br />
If you want to edit the key bindings the .doomrc file is located here: <br />
/media/cryptofs/apps/usr/palm/applications/org.webosinternals.sdldoom/bin/.doomrc<br />
<br />
=== Limitations ===<br />
*Editing the key bindings works for everything but back and strafe left, that is, left strafe always goes turboright strafe and back always goes turbo forwards<br />
=== Known bugs ===<br />
<br />
== Installing Doom ==<br />
====Requirements====<br />
*Preware<br />
====Steps====<br />
#Install [http://www.webos-internals.org/wiki/Application:Preware Preware and the Package Manager.] <br />
#next install DOOM using PreWare. Launch Preware, search for DOOM and click Install.<br />
<BR><br />
Play DOOM! using the keys above, when done exit the game in the normal way.<br />
<br />
<BR><br />
<br />
== Repository ==<br />
<br />
DOOM! is housed in the games/sdldoom git repository at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=EBook-Reader&diff=7928EBook-Reader2010-01-01T16:13:58Z<p>FreeTim: /* Book Format Issues */ problem of parse and zip the above list formats</p>
<hr />
<div>===Application description from a users perspective ===<br />
Scene 1: Splash image and 3 buttons: [[Image: Scene1.png|thumb|right]]<br />
<br />
.. Where I left off ... -- Opens the last book you read at the place you stopped. <br />
<br />
.. Bookmarks ... -- opens a list of the books you have bookmarks in and lets you open them to there. -- previews 2 lines above and below bookmark. <br />
<br />
... Library ... -- opens a scrollable page of "shelves" Each shelf has a label which is user defined, and each shelf presents the books on it as a coverflow. Books can be moved between shelves by dragging and dropping. Each shelf has a context menu to control order, title, author or user defined. If user defined menu will present shelf as a draggable list instead of a coverflow when you want to re-order books. backswipe returns to coverflow. <br />
<br />
in either the bookmarks view, tapping a book takes you to either the bookmark or the title page. upswipe downswipe provide smooth scrolling. Left and right swipe provide page at a time scrolling. Back swipe in gesture offers to bookmark with a dialog and returns to the shelf you came from. <br />
<br />
When on a book, top left menu presents presentation options, which can be set book by book or globally. Type face (if I can figure out how), size, leading, justification, colors etc.. <br />
<br />
Images default to no larger than 1/4 screen, but touch results in lightbox like zoom. <br />
<br />
Menu at splash or library offers import, and delete of books. When in a shelf, books can be deleted by dragging them to the recycle.<br />
<br />
===Features Wish List===<br />
# on-pc conversion of various formats to pre-compatible format -probably using plucker distiller. Should support <br />
## html<br />
## rde<br />
## doc<br />
## m4b<br />
## pdb (palm-doc)<br />
## pdb (isilo), prc (unencrypted mobipocket)<br />
## prc (encrypted) # lots of people with a ton of fictionwise books want this<br />
## epub [http://en.wikipedia.org/wiki/EPUB]<br />
## plain text<br />
## plucker<br />
## .lit<br />
# on Pre conversion of html and text docs by download from the cloud. <br />
# Library supports user definable catagories for sorting and shelving<br />
#: Shelves can be user defined to hold any collection of books a reader cares to: <br />
#* By author<br />
#* By Genre<br />
#* By Geography<br />
#* By cover color<br />
#* By Series # very useful to group books in a series together<br />
#: The ''user'' should define the sorting catagories. Shelf design can initially be a scroll list like the Contacts app.<br />
# Book display page is minimally invasive making the most space available to read on as possible <br />
# Typography is bifocal friendly. User definable print sizes, and if possible type faces. <br />
# user defined foreground/background colors for text.<br />
## Sepia <br />
## Night mode<br />
## Adjust screen brightness<br />
# multiple bookmarks per doc. <br />
# shallow menus<br />
# smooth scrolling or page-at-a-time scrolling by gestures. <br />
## plucker style button-based scrolling <br />
## swipe gesture based scrolling<br />
## auto-scrolling with user adjustable speed<br />
### Pause auto-scrolling by tapping gesture area<br />
## page turn on screen tap option<br />
# support for covers.<br />
# coverflow view of shelves. <br />
# easy rapid sorting of books onto shelves.<br />
# Change text size<br />
# Possibly be able to add books over Wi-Fi<br />
# Copy & Paste words<br />
## Dictionary search implemented<br />
# Support for rotation<br />
## Portrait and Landscape views (at least for the reading screen)<br />
## Auto adjust gesture orientation to match view<br />
## Include a rotation "lock" to prevent unwanted rotations (or just ignore the accelerometer and make it a button or gesture controlled rotation)<br />
<br />
===Data Structure=== <br />
<br />
'''Table: Catalog'''<br />
* catalogId: (globally unique ID - a system generated number) <br />
* Title: string<br />
* Author: string<br />
* Genre: string<br />
* catalogType: (B,S - book or series)<br />
* ShelfId: <br />
* CoverImage: Filename<br />
* Encrypted: boolean <br />
* Format: string (book format)<br />
<br />
'''Table: BookSeries'''<br />
* bookseriesId: (globally unique ID - a system generated number) <br />
* catSeriesId: (must be present in book table and the catType must be 'S')<br />
* catBookId: (must be present in book table and the catType must be 'B')<br />
<br />
'''Table: Bookmarks'''<br />
* bkmkId: <br />
* bookId: (must be present in book table)<br />
* Position: ( an integer, refering to the character in the file at the top of the screen.) <br />
<br />
'''Table: BookShelf'''<br />
* shelfId: <br />
* ShelfName:<br />
* ShelfOrder: (A, T, or U) Representing Author, Title or User Set<br />
<br />
'''Table ShelfOrder'''<br />
* shelfId:<br />
* bookId: <br />
* position: (integer representing the position of this book on this shelf) <br />
<br />
'''Table: BookText'''<br />
* BookId: <br />
* BookText: <br />
<br />
====Data Issues====<br />
<br />
* This structure does not provide for books stored as chapters. This structure presumes a book is a single document. That document might have internal chapter indicators, but this structure does not divide the book up. <br />
* This structure makes no provision for the internal storage of images. <br />
* Should we actually store the text of the book in the DB or do we leave the book on the file system and just store a link to it?<br />
** Correct me if i am wrong, but the current SDK does not allow for writing files to the file system, so the database would be the best and sort-of only way to do it. Also, the ajax request is a little slow, the database might show better performance loading.<br />
<br />
There is some point, therefore to consider if in booktext, we want to simply store a plucker file, which CAN contain images and text intermingled.<br />
<br />
====Book Format Issues====<br />
* Can javascript on the device natively parse/navigate all of the above list formats?<br />
** '''No.''' <br />
* Can javascript on the device effectively parse/navigate the plucker format (if we settle on this one), or do we need our own format?<br />
** '''Perhaps.''' plucker decoding sources in JAVA at http://www.fbreader.org/downloads.php <br />
** Possible ePub since it's basically XHTML? - ePub makes the most sense as a format. It's completely open, and it's really just HTML inside the file.<br />
* Once we settle on a format, will the device be powerful enough to convert other formats to this one, or will we need a PC app to do the converting?<br />
** on pc app<br />
** some scripts found so far: <br />
*** ereader2html -- python app, same as plucker converters. <br />
*** pdbshred -- Binary app for unencrypting secure palm reader pdb's. Sorry. <br />
*** Shouldn't reinvent the wheel. Use calibre for conversion, it's available on all platforms http://calibre.kovidgoyal.net/<br />
*** (include others as you find them)<br />
* Has anyone found a free and open source method to unzip files or data streams in javascript??<br />
** all i have found is a page that refers to the huffman compression technique (http://rumkin.com/tools/compression/compress_huff.php), but i don't know if that is how epub files are zipped and i don't know if we can get our hands on the source.<br />
**: note that this page says that compressing 15K takes MINUTES... ooops. :-( Not going to work<br />
*Can we access the Linux command line? Awk and sed could do for some of the conversion, and gzip for the zipping/unzipping. -FreeTim</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Preware&diff=7927Application:Preware2010-01-01T15:31:20Z<p>FreeTim: very, very minor correction in the install section, in tools menu it's "Update Drivers"</p>
<hr />
<div>{{application<br />
|name=Preware<br />
|type=webOS<br />
|version=Version: Beta 0.9.12 <br />(23 Nov 2009)<br />
|tag=Utilities<br />
|screenshot=Application_Preware_List.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Icon_Preware.png|float:right;}}<br />
Preware is a package management application for the Palm Pre. Preware allows the user to install any package from any of the open standard package repositories on preware.org (or any other location that hosts an open standard package repository). Preware relies on a custom written service developed from community research which allows the mojo app to talk to the built-in ipkg tool.<br />
<br />
This application was the result of extensive community-based design in [[IPKG Service]] and [[Preware Design]].<br />
<br />
For application management, Preware can access more applications, and has more features, than any other on-device package installer.<br />
<br />
And since it is open source, and has a completely open development process supported by a team of world-class WebOS Internals developers, it will continue to get better much faster than any other package management application.<br />
<br />
Preware is the open application installer that has been written specifically to support a homebrew ecosystem where any developer can upload any application to any submission site, and that application can then be installed by any user. Developers no longer need to upload their applications to multiple submission sites, and users are no longer excluded from accessing applications from any open standard package repository.<br />
<br />
=== Key Features ===<br />
<br />
* Install / Remove / Update Homebrew Applications including advanced applications with special requirements. <br />
* Install / Remove / Update WebOS Themes<br />
* Install / Remove / Update WebOS Patches<br />
* Advanced applications and Patches that run scripts require your consent prior to installation. Preware offers to show you the script before you make the decision to let it install. <br />
<br />
== Usage ==<br />
<br />
=== Preferences === <br />
<br />
[[Image:Preferences.png|160px|bottom]]<br><br>You can select preferences in the top left corner of the pre to bring up the preferences screen. On the Preferences screen you can specify the look of the application, the frequency that feeds are updated, and what Preware will show you by default. <br />
<br />
=== Feed Management ===<br />
<br />
[[Image:preware_feeds.png|160px|bottom]][[Image:preware_add_feed.png|160px|bottom]]<br><br>In the preferences section on the top bar on the right side is a button that takes you to the feeds screen. On the feeds screen you can select which feeds are loaded and which ones are not. Simply select the on or off button for that feed. (If you are not interested in themes you can disable the two feeds for themes to speed up the updating of feeds) Preware comes with the following feeds by default. <br />
<br />
* Canuck-software<br />
* Optware<br />
* PimpmyPre<br />
* Precentral<br />
* Precentral Themes<br />
* Prethemer<br />
* Webos-internals<br />
* Webos-patches<br />
<br />
In the future, you will also have the ability to add other feeds that follow the standard feed layout used by Preware. In the new feed section add a name for the feed, and the URL to the feed then tap add feed. This is not implemented yet.<br />
<br />
=== Package Updates ===<br />
=== Applications ===<br />
=== Themes ===<br />
=== Patches ===<br />
=== Installed Packages ===<br />
=== List of Everything ===<br />
<br />
<br />
== Status ==<br />
<br />
This is beta software. Even so:<br />
<br />
* Since 27 August 2009 it is the only over-the-air installer for the palm capable of installing advanced palm applications such as the [[On_Screen_Keyboard|on screen keyboard]] or the terminal application.<br />
* Since 27 August 2009 it is the only application supporting installation from all existing palm homebrew feeds. <br />
* Since 17 September 2009 it also supports installation of themes. <br />
* Since 8 October 2009 it also supports installation of webos patches.<br />
<br />
== License ==<br />
<br />
Please be aware that org.webosinternals.preware and org.webosinternals.ipkgservice are licensed under the GPLv2.<br />
<br />
They cannot be used by a closed source application. If you want to use them in a non-GPLv2 but otherwise open source application, please contact the authors.<br />
<br />
== Operating notes ==<br />
<br />
=== Limitations ===<br />
<br />
No known limitations.<br />
<br />
=== Known bugs ===<br />
<br />
When selecting a patch with dependencies, if you view those dependencies then install them, when Preware returns you to the original patch's screen it will still have the 'install' button showing even though it is installed successfully. Swiping back and returning will show the correct status.<br />
<br />
== Installing Preware ==<br />
<br />
''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]''<br />
<br />
You do not need to access the Linux command line or "root your Pre" to install or use Preware.<br />
<br />
You can use one of the stand-alone Preware Installers at http://get.preware.org/ to install Preware.<br />
<br />
If that fails, please use the [http://forums.precentral.net/homebrew-apps/206905-webos-quick-install-v2-7-beyond.html WebOS Quick Install] tool to install the Package Manager Service and the Preware application directly from the WebOS Internals feed. <br />
<br />
No other application installer tool is sophisticated enough to install the custom Package Manager Service that Preware requires. Preware can install it, but you need a way to bootstrap Preware first, so you need to use our stand-alone Preware Installers or WebOS Quick Install for the very first installation of Preware.<br />
<br />
You need to have your Pre in [[Getting started|developer mode]] when using the stand-alone Preware Installer or WebOS Quick Install for the very first installation of the Package Manager Service and Preware. Once you have Preware correctly installed, you never need to use [[Getting started|developer mode]] again with Preware (it does the required steps in the background for you whenever it needs to).<br />
<br />
Note that Preware works just as well on the Emulator as it does on a real device, and is installed in exactly the same way.<br />
<br />
=== Installing Preware with Preware Installer ===<br />
# '''Put your phone into [[Getting started|Developer Mode]]''' (skip if you already have developer mode on) <br />
## Go to the main (start) screen on your Palm Pre or Pixi <br />
## Start typing "webos20090606" without the quotation marks.<br />
## Tap the Developer Mode icon and turn Developer Mode on. <br />
## Set Developer Mode to ON.<br />
## When asked, tap Reset The Device. Your phone will restart.<br />
## Connect the USB cable to your computer and select "Just Charge" when the phone prompts you.<br />
# '''Install Required Software''':<br />
## [http://www.java.com/en/download/installed.jsp?detect=jre&try=1 Click here] to verify that you have the latest java installed on your computer and update if needed<br />
## [http://www.webos-internals.org/wiki/Webos_Doctor_Versions Click here] to download the current webOS Doctor for your carrier and phone in a subdirectory your will remember (maybe "Palm"?). If you already have it, skip this step. <br />
### '''Do not run the webOS Doctor''' unless you intend to delete all of your phone's files and data and start over.<br />
# '''Install Preware''':<br />
## Right click the most recent PrewareInstaller.jar from [http://get.preware.org/ get.preware.org] and choose ''Save As...''<br />
## Save the Preware Installer in the same folder where your save the webOS Doctor.<br />
## Open (run) the Preware Installer (Double click the jar file you just downloaded.) <br />
## Click Tools then Update Drivers to refresh Novacomd. This may take a few minutes.<br />
## Click INSTALL. Wait while the ''Install'' button is grayed out (Preware is being installed).<br />
## When the Preware Installer Button is no longer grayed out, close the Preware Installer.<br />
# '''Restart your phone''': <br />
## Press and hold the ON/OFF button for 8 seconds<br />
## Tap Power<br />
## Tap Restart<br />
# '''Update the Package Manager Service and Preware'''<br />
## Tap Launcher<br />
## Tap Preware<br />
## Tap OK to continue if there is a splash screen<br />
## Tap Package Updates (an update for Package Manager Service and Preware should be shown)<br />
## Tap Package Manager Service<br />
## Tap Update<br />
## Tap OK when the Package Manager Service application has installed<br />
## Swipe back to return to Package Updates<br />
## Tap Preware<br />
## Tap Update<br />
## Tap OK when the Preware application has installed<br />
<br />
<br />
=== Installing Preware with WebOS Quick Install ===<br />
'''Simple step-by-step instructions with screenshots are here: [http://forums.precentral.net/showthread.php?p=2040315 Getting Started: Preware]'''<br />
<br />
* Put your device in [[Getting started|Developer Mode]]<br />
* Run WebOS Quick Install<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Package Manager Service'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* Press the third button on the right<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. <br />
* Select ''Preware'' from the list. <br />
* Press DOWNLOAD.<br />
* Press INSTALL.<br />
* If WebOS Quick Install offers to install the Package Manager Service automatically to enable tweaking, do not agree. It will install the wrong version. You must install it as detailed above.<br />
<br />
=== Updating ===<br />
<br />
To update Preware or the Package Manager Service, simpy use Preware version 0.9.0 or later.<br />
<br />
Make sure you update the Package Manager Service first, and the Preware application second. As of Preware 0.9.4, this restriction will be enforced automatically.<br />
<br />
If you are updating to Preware version 0.9.3 or later and you have previously used the autopatch-feed package, please follow these [http://forums.precentral.net/webos-patches/208312-autopatch-transitioning-webos-patches-feed.html] directions for the update.<br />
<br />
=== Removal ===<br />
<br />
''Why would you ever want to remove Preware?''<br />
<br />
To remove Preware, use WebOS Quick Install's Device Management page and unselect the Package Manager Service and the Preware application.<br />
<br />
=== Recent enhancements ===<br />
<br />
0.9.12: Fixed the recurring splash screen bug.<br />
<br />
0.9.11: Added a preference for enabling and disabling the fair dinkum partial app limit fix.<br />
<br />
0.9.10: Added support for category themes.<br />
<br />
0.9.9: Massive speed improvements, a fix for the theme hanging problem, and support for Pixi patching.<br />
<br />
0.9.8: Robustified the calls to the JSON parser to handle packages with syntax errors in appinfo.json<br />
<br />
0.9.7: Added a preference to enable or disable fixing the metadata for unknown type packages.<br />
<br />
0.9.6: Added the initial startup screen. Fixed the display of packages with multiple maintainers. Now loads extended appinfo and control file information for Unknown packages. Changed default list second-line to version + maintainer. No longer allows back-gestures during package operations. Multi-line package titles are now supported. Show All Packages changed to Show Available Types and now defaults to No.<br />
<br />
0.9.5: A package is removed if the user cancels installation. More verbose status and error messages. Selects appropriate webos-patches feed automatically.<br />
<br />
0.9.4: Added support for package dependencies.<br />
<br />
0.9.3: Adds the webos-patches feed, and feed management support.<br />
<br />
0.9.1: Adds the All category, plus other miscellaneous fixes.<br />
<br />
0.9.0: Now supports themes, restart flags and the new memory-reduction service methods.<br />
<br />
0.8.5: Massive speed improvement on loading, now supports package types and adding feeds.<br />
<br />
0.8.2: More preferences added and now functional, with listing and update frequency options.<br />
<br />
0.8.1: Preferences scene implemented. Upstart job stops on removal.<br />
<br />
0.8.0: Now supports Descriptions and Screenshots.<br />
<br />
0.7.7: Addition of ipkglog and config list, and if ipkgservice fails at start it notifies people, and if it fails after postinst it considers it complete anyways<br />
<br />
0.7.6: Fixed the superfluous update subscription message windows<br />
<br />
0.7.5: Fixed update subscription oddity.<br />
<br />
0.7.4: Fixed remounting of root filesystem for post-install and pre-remove scripts on the Pre.<br />
<br />
0.7.1: Fixed buttons and title on script view screen.<br />
<br />
0.7.0: Initial support for post-install and pre-remove scripts, including secure informed user consent. Does not work properly with dependencies yet, so please install dependencies one at a time.<br />
<br />
0.6.7: Fixed bug in category drop-down list.<br />
<br />
0.6.6: Fixed bug in package size reporting.<br />
<br />
0.6.5: Updated icon and other graphical annotations.<br />
<br />
0.6.4: Categories drop-down bug fixed. Preware category updated.<br />
<br />
0.6.2: Categories now work to some extent. Still a bug in the drop down box.<br />
<br />
0.6.1: Sorting by name or date is now available. Application details screen is much more organized.<br />
<br />
0.6.0: No user visible changes. Preparation for the secure informed user consent functionality.<br />
<br />
0.5.1: Filtering is now available on the list screens. Just start typing ...<br />
<br />
== Repository ==<br />
<br />
Preware and the Package Manager Service are housed in the applications/preware and services/ipkservice git repositories at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
== Alternative Installation (ADVANCED/CLI Method)==<br />
<br />
Really, unless you *really* know what you are doing, you should use one of the Preware stand-alone installers or the WebOS Quick Install installation instructions above.<br />
<br />
This method is for '''LINUX EXPERTS ONLY'''!<br />
<br />
=== Installing/Updating via Automated Script (Bootstrap) ===<br />
<br />
Really, unless you *really* know what you are doing, you should use one of the Preware stand-alone installers or the WebOS Quick Install installation instructions above.<br />
<br />
<source lang="bash"><br />
cd /tmp<br />
wget http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/preware-bootstrap.sh<br />
#Alternatively, you can use this tiny URL: http://bit.ly/preware-bootstrap<br />
sh preware-bootstrap.sh<br />
</source><br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application_talk:Doom&diff=7926Application talk:Doom2010-01-01T15:11:26Z<p>FreeTim: </p>
<hr />
<div>Adding tilt controls for movement would be very useful and a big plus. [[User:Gkatsev|Gkatsev]] 20:08, 31 December 2009 (UTC)<br />
You all rock and, thanks VERY much for the updated packaging yesterday. -- [[User:FreeTim|FreeTim]] 15:11, 1 January 2010 (UTC)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Applicationoom&diff=7917Applicationoom2009-12-31T17:51:48Z<p>FreeTim: </p>
<hr />
<div>You might be looking for the application: doom page<br />
[http://www.webos-internals.org/wiki/Application:doom Link to - application: doom page ]<br />
<BR><BR><br />
This page provided as a convenience. I think there is a bad link on PreCentral somewhere that comes here, so helping folks get [http://www.webos-internals.org/wiki/Application:doom to the right page.]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Applicationoom&diff=7916Applicationoom2009-12-31T17:51:26Z<p>FreeTim: </p>
<hr />
<div>You might be looking for the application: doom page<br />
[http://www.webos-internals.org/wiki/Application:doom Link to - application: doom page ]<br />
<BR><BR><br />
This page provided as a convenience. I think there is a bad link on PreCentral somewhere that comes here, so helping folks get [http://www.webos-internals.org/wiki/Application:doomto the right page.]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Applicationoom&diff=7915Applicationoom2009-12-31T17:48:22Z<p>FreeTim: New page: You might be looking for the application: doom page [http://www.webos-internals.org/wiki/Application:doom Link to - ]</p>
<hr />
<div>You might be looking for the application: doom page<br />
[http://www.webos-internals.org/wiki/Application:doom Link to - ]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Doom&diff=7914Application:Doom2009-12-31T16:28:17Z<p>FreeTim: Minor commands correction</p>
<hr />
<div>{{application<br />
|name=DOOM!<br />
|type=webOS<br />
|version=Version: Alpha 1.1.0 <br />(1 Jan 2010)<br />
|tag=Utilities<br />
|screenshot=Doom-in-a-card.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Tux_as_Zombie.png|float:right;}}<br />
<br />
== Status ==<br />
<br />
== License ==<br />
<br />
DOOM! for the Palm Pre is distributed under the ID Software License, which allows for non-commercial use only.<br />
<br />
http://doom.wikia.com/wiki/SDL_Doom<br />
<br />
== Operating notes ==<br />
<br />
Tap the screen or hit "Sym" to shoot.<br />
<br />
H - forward at slow speed<br />
<br />
Y - left<br />
<br />
B - right<br />
<br />
G - forward at fast speed<br />
<br />
SPACE - open doors<br />
<br />
COMMA - strafe right<br />
<br />
ORANGE + # - Change weapon. 1 - fist, 2 - pistol, 3 - shotgun, 4 - chaingun (havent gotten other weapons yet but should be the same concept)<br />
<br />
ENTER - display last message (picked up Medikit, etc)<br />
<br />
(feel free to add to this list)<br />
<br />
=== Limitations ===<br />
<br />
=== Known bugs ===<br />
<br />
== Installing Doom ==<br />
====Requirements====<br />
*PreWare<br />
*Terminal<br />
====Steps====<br />
#Install [http://www.webos-internals.org/wiki/Application:Preware Preware and the Package Manager.] <br />
#Install [http://www.webos-internals.org/wiki/Application:Terminal Terminal] - if you already have Terminal, update it using Preware. <br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next install DOOM using PreWare. Launch Preware, search for DOOM and click Install.<br />
#next hit the LAUNCH button and follow the commands in Terminal which your convenience they are listed here:<br />
#TYPE IN THESE COMMANDS IN TERMINAL:<font color=black>'''<br />
##cd /media/cryptofs/apps/usr/palm/applications<br />
##cd org.webosinternals.sdldoom <br />
##./doom <font color=red>(note the leading period.)'''</font><br />
#DOOM! will start in a new card.<br />
<BR><br />
Play DOOM! using the keys above, when done exit the game in the normal way.<br />
<br />
<BR><br />
<br />
== Repository ==<br />
<br />
DOOM! is housed in the games/sdldoom git repository at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application:Doom&diff=7912Application:Doom2009-12-31T16:12:58Z<p>FreeTim: New section 'Install' - Added 21 lines - how to install instructions on how to launch the game.</p>
<hr />
<div>{{application<br />
|name=DOOM!<br />
|type=webOS<br />
|version=Version: Alpha 1.1.0 <br />(1 Jan 2010)<br />
|tag=Utilities<br />
|screenshot=Doom-in-a-card.png<br />
|description=<br />
<br />
== Summary == <br />
{{icon|Tux_as_Zombie.png|float:right;}}<br />
<br />
== Status ==<br />
<br />
== License ==<br />
<br />
DOOM! for the Palm Pre is distributed under the ID Software License, which allows for non-commercial use only.<br />
<br />
http://doom.wikia.com/wiki/SDL_Doom<br />
<br />
== Operating notes ==<br />
<br />
Tap the screen or hit "Sym" to shoot.<br />
<br />
H - forward at slow speed<br />
<br />
Y - left<br />
<br />
B - right<br />
<br />
G - forward at fast speed<br />
<br />
SPACE - open doors<br />
<br />
COMMA - strafe right<br />
<br />
ORANGE + # - Change weapon. 1 - fist, 2 - pistol, 3 - shotgun, 4 - chaingun (havent gotten other weapons yet but should be the same concept)<br />
<br />
ENTER - display last message (picked up Medikit, etc)<br />
<br />
(feel free to add to this list)<br />
<br />
=== Limitations ===<br />
<br />
=== Known bugs ===<br />
<br />
== Installing Doom ==<br />
====Requirements====<br />
*PreWare<br />
*Terminal<br />
====Steps====<br />
#Install [http://www.webos-internals.org/wiki/Application:Preware Preware and the Package Manager.] <br />
#Install [http://www.webos-internals.org/wiki/Application:Terminal Terminal] - if you already have Terminal, update it using Preware. <br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next install DOOM using PreWare. Launch Preware, search for DOOM and click Install.<br />
#next hit the LAUNCH button and follow the commands in Terminal which your convenience they are listed here:<br />
#TYPE IN THESE COMMANDS IN TERMINAL:<font color=black>'''<br />
##cd /media/cryptofs/apps<br />
##cd usr/palm/applications<br />
##cd org.webosinternals.sdldoom <br />
##./doom & (note the leading period.)'''</font><br />
#DOOM! will start in a new card.<br />
<BR><br />
Play DOOM! using the keys above, when done exit the game in the normal way.<br />
<br />
<BR><br />
<br />
== Repository ==<br />
<br />
DOOM! is housed in the games/sdldoom git repository at http://git.webos-internals.org/<br />
<br />
For commit permission to the open source project, contact rwhitby on #webos-internals or email [[mailto:support@webos-internals.org support@webos-internals.org]]<br />
<br />
}}</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Freetim_sandbox&diff=7911Freetim sandbox2009-12-31T16:08:50Z<p>FreeTim: </p>
<hr />
<div>==FreeTim Sandbox==<br />
This is the wiki page that I use when preparing a wiki page, prior to release.<br />
==Current Project==<br />
===Doom!===<br />
====Requirements====<br />
*PreWare<br />
*Terminal<br />
<BR><BR><br />
====Installing Doom:====<br />
<br />
#Install [http://www.webos-internals.org/wiki/Application:Preware Preware and the Package Manager.] <br />
#Install [http://www.webos-internals.org/wiki/Application:Terminal Terminal] - if you already have Terminal, update it using Preware. <br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next install DOOM using PreWare. Launch Preware, search for DOOM and click Install.<br />
#next hit the LAUNCH button and follow the commands in Terminal which your convenience they are listed here:<br />
#TYPE IN THESE COMMANDS IN TERMINAL:<font color=black>'''<br />
##cd /media/cryptofs/apps<br />
##cd usr/palm/applications<br />
##cd org.webosinternals.sdldoom <br />
##./doom & (note the leading period.)'''</font><br />
#DOOM! will start in a new card.<br />
<BR><br />
Play DOOM! using the keys below, when done exit the game in the normal way.<br />
<br />
<BR><BR><BR><BR><BR><br />
===End of Sandbox===<BR><BR><br />
[http://www.webos-internals.org/wiki/User:FreeTim link back to my user page]<BR><BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Freetim_sandbox&diff=7910Freetim sandbox2009-12-31T15:59:39Z<p>FreeTim: </p>
<hr />
<div>==FreeTim Sandbox==<br />
This is the wiki page that I use when preparing a wiki page, prior to release.<br />
==Current Project==<br />
===Doom!===<br />
====Requirements====<br />
*PreWare<br />
*Terminal<br />
<BR><BR><br />
====Installing Doom:====<br />
<br />
#Install Preware and Preware Package Manager (link_needed_here)<br />
#Install [http://www.webos-internals.org/wiki/Application:Terminal] Virtual Terminal - if you already have Terminal, update it using Preware. <br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next install DOOM using PreWare. <br />
#next hit the LAUNCH button and follow the commands in Terminal. For your convenience they are listed here:<br />
#TYPE IN THESE COMMANDS IN TERMINAL:<font color=black>'''<br />
##cd /media/cryptofs/apps<br />
##cd usr/palm/applications<br />
##cd org.webosinternals.sdldoom <br />
##./doom & (note the leading period.)'''</font><br />
#DOOM! will start in a new card.<br />
<br />
Link back to my page: [http://www.webos-internals.org/wiki/User:FreeTim]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Freetim_sandbox&diff=7909Freetim sandbox2009-12-31T15:57:31Z<p>FreeTim: </p>
<hr />
<div>==FreeTim Sandbox==<br />
This is the wiki page that I use when preparing a wiki page, prior to release.<br />
==Current Project==<br />
===Doom!===<br />
====Requirements====<br />
*PreWare<br />
*Terminal<br />
<BR><BR><br />
====Installing Doom:====<br />
<br />
#Install Preware and Preware Package Manager (link_needed_here)<br />
#Install [Application:Terminal] Virtual Terminal - if you already have Terminal, update it using Preware. <br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next install DOOM using PreWare. <br />
#next hit the LAUNCH button and follow the commands in Terminal. For your convenience they are listed here:<br />
#TYPE IN THESE COMMANDS IN TERMINAL:<br />
##cd /media/cryptofs/apps<br />
##cd usr/palm/applications<br />
##cd org.webosinternals.sdldoom ./doom & <br />
#DOOM! will start in a new card.<br />
<br />
Link back to my page: [User:FreeTim]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Freetim_sandbox&diff=7908Freetim sandbox2009-12-31T15:49:32Z<p>FreeTim: Initial sandbox page for Doom - work in progress</p>
<hr />
<div>==FreeTim Sandbox==<br />
This is the wiki page that I use when preparing a wiki page, prior to release.<br />
==Current Project==<br />
===Doom===<br />
Installing Doom:<br />
<br />
#Install Preware and Preware Package Manager (link_needed_here)<br />
#Install Virtual Terminal - if you already have Terminal, update it using Preware<br />
##If you get a warning, this depends on '''1'''other package being updated, choose INSTALL/UPDATE IT (terminal services plugin.)<br />
##If you then get a warning "a script must be executed" then click the <font color=green>'''OK'''</font> button to allow that.<br />
##You may then be presented with button "Restart is required" choose <font color=green>'''OK'''</font> button to allow that, all your apps will close and Luna will restart.<br />
#next step here<br />
#next step here</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=User:FreeTim&diff=7907User:FreeTim2009-12-31T15:45:40Z<p>FreeTim: Added my sandbox</p>
<hr />
<div>==Pages==<br />
Pages I contributed to the community are linked here. I'm not a developer I'm a systems engineer, so these won't be apps or patches, just things of interest regarding access to the underlying Linux operating system, install documents and other Systems things of interest.<br />
<br />
* [http://www.webos-internals.org/wiki/Komodo_WebOS_Add-on_Install the Komodo_WebOS_Add-on_Installpage.] A how-to-install document, how to update, and how to enable Code Intelligence. Screen shots, and verification steps included. (Templarian's Komodo WebOS Add-on is quite a time saver, many thanks to the developer, Templarian!)<BR><br />
* [http://www.webos-internals.org/wiki/putty the putty page] - how to CORRECTLY have PuTTY configured, for SSH2 into your Pre.<br />
* [http://www.webos-internals.org/wiki/bottom_bar the Bottom Bar page] which is possibly deprecated now.<br />
* [http://www.webos-internals.org/wiki/GPS The GPS page detailing the GPS hardware.] and battery tests for the GPS.<br />
* anywhere else that I can help . :)<br />
<br />
==About Me==<br />
* FreeTim - Well my name is Tim, I'm 45 years old, I'm a computer Systems Engineer for a large company. <br />
* I'm a specialist in multiple disciplines such as SunOS, and MCSE+i, Linux, Apache, HPUX, cisco, etc.<br />
* I work near MIT, with a view of the banks of the Charles River in Boston. <br />
* I'm one of the founders of the WEBOSBOSTON community [http://www.webosboston.org We have monthly meetings.]<br />
* I ride MOTORCROSS on the weekends (one of the two days, during the season.)<br />
You'll find me in the IRC chat rooms all day, every day.<br />
<BR><BR><br />
<br />
==Things I think are Useful for me to have here==<br />
===Sandbox===<br />
This is [http://www.webos-internals.org/wiki/freetim_sandbox my sandbox] that I use when initially preparing new wiki pages, before release.<br />
===Blocking WebOS updates===<br />
I don't want the updates to happen at some unplanned (for me) time, so here is the way to block webOS updates:<br />
<BR><BR><br />
cd /usr/bin<br />
mount -o remount,rw /<br />
chmod 664 UpdateDaemon<br />
mount -o remount,ro /<br />
<BR><BR><br />
Then, reboot (ORN+ shift +R) <br />
<BR><br />
To reverse the process use this;<br />
<BR><BR><br />
chmod 775 UpdateDaemon<br />
<BR><BR><br />
This makes it executable again as it was before, and then reboot (required.)<br />
<BR><BR><BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Application_talk:Precorder&diff=7647Application talk:Precorder2009-12-04T11:04:15Z<p>FreeTim: /* Feature Requests */</p>
<hr />
<div>__TOC__<br />
<br />
== Page Layout ==<br />
<br />
Please place all comments under the appropriate category. If you would like a feature that has already been requested then just add your signature by placing two asterisks and four tilde's <nowiki>**~~~~</nowiki> on the line underneath. It will show up like this.<br />
<br />
*Here is a feature request that I will add my signature to.<br />
**[[User:Cryptk|Cryptk]] 19:06, 24 November 2009 (UTC)<br />
<br />
<br />
Please remember to sign all new entries with four tildes <nowiki>~~~~</nowiki><br />
<br />
<br />
I know this is alpha but I want ppl to put their opinions/observations.<br />
<br />
== Bug Reports ==<br />
<br />
* The sound quality is very low --[[User:En0x|en0x]] 14:31, 24 November 2009 (UTC)<br />
** Microphone is on the opposite side of the camera. Narration from user isn't too bad. Sound is better with playback on computer. Looking into ways to stage a temperary alsa config to boost mic, or level it through a 3rd utility which would require another service --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Both the video only and audio only options produce only audio.--[[User:Gkatsev|Gkatsev]] 16:05, 24 November 2009 (UTC)<br />
** Problem noted, on the map --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Sound is only heard in the left channel --[[User:Gryn|Gryn]] 22:39, 24 November 2009 (UTC)<br />
** This fix would probably also require a 3rd service/utility --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App saves files "when it wants to" --[[User:Gryn|Gryn]] 12:30, 25 November 2009 (UTC)<br />
** This problem is directly related to the lack of feedback between the pipeline, the service, and the app. This will eventually be resolved once the output and errors get properly filtered down, and it may not happen til/unless the service is converted to C. --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Recording with flash on forces recording to end around 7 seconds in --[[User:Gryn|Gryn]] 12:30, 25 November 2009 (UTC)<br />
** I have heard no other reports of this problem. If it continues, please see me (zsoc) in #webos-internals for debugging. --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* App only seems to save files when the Video application is open. --[[User:Ccolman|Ccolman]] 17:22, 25 November 2009 (UTC)<br />
* When I select audio format to mp3- video will not record. [[User:13brian|13brian]] 03:54, 3 December 2009 (UTC)<br />
<br />
==Viewfinder discussion ==<br />
<br />
The development of a viewfinder for the app is "hard" -- heck the APP was hard until zsoc showed up. If you know what the term "gstreamer sink" means, then you will understand zsoc's explanation that he can not fork a gstreamer sink. <br />
<br />
If you do NOT know what that means, then we are forced to talk around the actual problem and to attempt to explain it via analogy. The way that Mojo is built, unlike X-windows or Windows, or other existing GUI's, there is exactly and precisely one "pipe" to move video around. If webOS used "X" as a framework instead of Mojo, the viewfinder app would be trivial. But _inside Luna_ Inside the linux app that runs webos, there isn't a way to "fork" a video stream. <br />
<br />
So, when zsoc hooks up the camera to a recording app, he has used up the one and only pipe. There isn't a pipe available to hook the camera up to a display. Some people then had the clever idea, well, the app is //recording// the video, let's play it back, there would be a lag, but that would be better than no viewfinder at all. Nope. one pipe, remember? So if we used the pipe to hook the camera up to the recorder, then there's no pipe to hook the recording up to the display either. <br />
<br />
If you are enough of a programmer to look at zsoc's service and understand what he's done, if you have messed with gstreamer internals, we will be happy to have your input, here, or in the #webos-internals chat on IRC. If not, then if you want to discuss this in detail, please go read code first, zsoc has had a '''''lot''''' of naive suggestions, and his response is pretty much consistent, that the suggester doesn't understand the problem. Please do not post suggestions in the thread unless you have researched "gstreamer sink."<br />
<br />
If you're enough of a programmer to '''fix''' it, the source repository is listed in the article and we will be eternally grateful. <br />
<br />
Thanks for your patience.<br />
<br />
== Feature Requests ==<br />
<br />
* I would like to have Record New moved to the bottom... It's hard to tap it when you have slider open --[[User:En0x|en0x]] 14:21, 24 November 2009 (UTC)<br />
** done --[[User:Prenos|Prenos]] 17:17, 24 November 2009 (UTC)<br />
* Add option to launch video app from precorder --[[User:En0x|en0x]] 17:04, 24 November 2009 (UTC)<br />
**--[[User:Gryn|Gryn]] 22:37, 24 November 2009 (UTC)<br />
*** This is already implemented, will be released in next version --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Way to show how many minutes I recorded? in precorder --[[User:En0x|en0x]] 17:15, 24 November 2009 (UTC)<br />
I have a count up timer planned --[[User:Prenos|Prenos]] 17:18, 24 November 2009 (UTC)<br />
* Flash toggle on main scene? --[[User:En0x|en0x]] 17:21, 24 November 2009 (UTC)<br />
** I looked into this. The whole graphical UI is changing in the next version. This might be a future option still tho --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Have it show the estimated video recording time remaining based on free space in the /media/internal --[[User:Cryptk|Cryptk]] 18:45, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This isn't practical for a number of reasons, but I'll see if someone else wants to implement it --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Use space on keyboard to start/stop recording --[[User:En0x|en0x]] 19:34, 24 November 2009 (UTC)<br />
**--[[User:ProfJonathan|ProfJonathan]] 19:50, 24 November 2009 (UTC)<br />
*** This is feasable, will consider implemented an API for this option --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
*MP3 audio-only recording, for creating podcasts --[[User:ProfJonathan|ProfJonathan]] 19:52, 24 November 2009 (UTC)<br />
** This will require a minor overhaul of the general video start request, or a new request method. It will be an available option if technically feasable once beta hits --[[User:Prenos|Prenos]] 14:45, 25 November 2009 (UTC)<br />
* Allow user to see what is being recorded just like the camera application where you can see the picture being taken. --[[User:thatdude|thatdude]] 00:04 25 November 2009 (EST)<br />
** Consider this impossible for the moment. Look for version 1.0.0 of Precorder or wait till palm releases their app<br />
*** Would it be possible show the video from the camera while not recording? For example to better frame a shot before pressing record?<br />
* If possible have the interface (main scene) look like the camera application where the bottom left icon would open the video application as a new card, the middle button would start/stop recording, and the right button would turn on the flash on/off on the fly. --[[User:thatdude|thatdude]] 00:08 25 November 2009 (EST)<br />
**You mean more buttons? Some UI changes stated above --[[User:Gryn|Gryn]] 21:51, 25 November 2009 (UTC)<br />
* Allow the launch page to orientate the direction the camera needs to be to record. --Mamouton 11:59 pm 28 November 2009<br />
**Formatting the page to the camera orientation --[[User:Gryn|Gryn]] 15:07, 28 November 2009 (UTC)<br />
* Where do we add 'thanks' ? Here? Well, thanks! Really looking forward to this one (now I'll go and find it. Hopefully .ipk.) [[User:FreeTim|FreeTim]] 11:04, 4 December 2009 (UTC)<br />
<br />
== im not a programmer just have an ideah don't hurt me ==<br />
<br />
To save ur time (that you can be useing to save my digital life) answer this question. <br />
Is it possible to program the pre to capture things that are occuring on the screen (like the examples on themes ect.) if so then this idea may be of use to you.<br />
<br />
This is where i don't want you to hurt me. As when the normal still capture camera is running you see a live (digital) renderring of the world. <br />
(2nd and least possible idea) If that digital information could be copied, captured, or intercepted and saved then video could be possible. (1st most propable idea) Use a patch to capture (most likely low resoloution for speed) images in, rappid succession, of the screan while the normal pre camera is displaying on the screan.<br />
<br />
I realize that these ideas may be just that and is completely different from the pre-corder, but i do hope that this idea is truely considered and inspires an even better idea.<br />
<br />
Fingers Crossed O_o<br />
<br />
Me<br />
<br />
GStreamer has a Tee tool. That takes in one stream and splits it in two (if that helps)<br />
<br />
example and explanation from http://www.vidarholen.net/contents/blog/?p=5<br />
<br />
gst-launch-0.10 v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 ! queue ! theoraenc quality=60 ! queue ! muxout. pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 ! queue ! audioconvert ! vorbisenc ! queue ! muxout. oggmux name=muxout ! filesink location=lulz.ogg videoout. ! queue ! ffmpegcolorspace ! ximagesink<br />
<br />
#Get a v4l2 video source, split it and put one end though a<br />
#theora codec and send the other to videoout (defined later)<br />
v4l2src ! tee name=videoout ! queue ! videorate ! video/x-raw-yuv,fps=15 \<br />
! queue ! theoraenc quality=60 ! queue ! muxout. <br />
<br />
#Get audio from a pulseaudio stream, run it through the vorbis encoder<br />
pulsesrc ! audio/x-raw-int,rate=22000,channels=1,width=16 \<br />
! queue ! audioconvert ! vorbisenc ! queue !muxout. <br />
<br />
#Mux the audio and video together, and put it in "media.ogg"<br />
oggmux name=muxout ! filesink location=media.ogg <br />
<br />
#Put the other end of the video split out on the screen<br />
videoout. ! queue ! ffmpegcolorspace ! ximagesink</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=7646GPS2009-12-04T10:57:31Z<p>FreeTim: status-updated the SH known issue, added summary of Location Services, added small Mojo code sample, cleaned up my own grammar, corrected the flow of the contents table</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
==Description==<br />
<br />
The Palm Pre has a built-in hardware GPS, it's integrated in the radio receiver chip.<br />
<br />
Internet has some misleading information out there because the initial tear-downs didn't spot a separate GPS chip, so reviewers thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location like so : ''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<BR><BR><br />
The above isn't entirely accurate - the Palm Pre '''DOES indeed have integrated GPS''' (satellite reciever) hardware, it's part of the RF reciever chip, and it uses this hardware GPS if it's turned on (enabled.) <br />
<br />
====Usage Summary====<br />
*If the GPS is on, '''GPS hardware''' will be used with location determined by satellites.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fall back on cell tower location to locate.<br />
<BR><BR><br />
==Hardware Chips==<br />
<br />
The GPS receiver hardware chip is physically located on the Comm board, right hand side, it's integrated as part of the RF (radio frequency) receiver chip RFR6500 that is part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
The Palm Pre's main communication chipsets include the RFR6500 receiver and RFT6150 transmitter. The GPS isn't part of the MSM6801 controller but rather it's part of the Qualcomm RFR6500 Receiver on the Palm Pre, or since one is a processing controller and the other is the radio receiver chip, the GPS as a whole may be thought of as a combination of these two hardware chips (radio receiver, and processor), which is why some flow diagrams for logic may show the GPS in the MSM6801 (processor) logic block.<br />
<br />
The radio receiver chip, a Qualcomm RFR6500, is a Radio Frequency Support chip and supports both GPS receiving and receiving of the voice part of cellular. This radio receiver chip needs some digital controller for the processing and control, this is done via the Baseband Processor which is the Qualcomm MSM6801A chip. <br />
<br />
Software and the MSM6801A controller won't allow the RFR6500 GPS reception to function without the cell modem first being registered - see errata below.<br />
<br />
PhoneWreck.com shows the RFR6500 reciever too, in the teardown.<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
The engineering report article is where you'll find that Qualcomm’s RFR6500 is a receiver that can "support '''both GPS and '''CDMA2000 cell voice reception."<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
<br />
<br />
==Mojo==<br />
===Location Services===<br />
* There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.) Overview: Some of the Mojo functions allow to get current location, to subscribe to services (thus continually updating coordinates) and also reverse address resolution - put in an address and return the longitude/ latitude.<br />
* See the SDK for the current WebOS version which describes the Javascript use of Location services.<br />
* Available GPS data from Mojo includes in a single call method:<br />
**Longitude<br />
**Latitude<br />
**Altitude<br />
**Heading<br />
**Velocity<br />
**Timestamp (miliseconds from epoch)<br />
<br />
===Mojo Code Sample===<br />
Mojo Code is updated and fully documented in the SDK. Here is a sample snippet for the GPS to get the idea. May change in future versions; this works for 1.3.1 (Dec2009)<br />
this.serviceRequestHandle = new Mojo.Service.Request('palm://com.palm.location', {<br />
method: 'startTracking',<br />
parameters: {<br />
subscribe: true<br />
},<br />
onSuccess: this.onGpsOn.bind(me),<br />
onFailure: this.onGpsOff.bind(me)<br />
<br />
<br />
==Known Issues==<br />
===Southern Hemisphere===<br />
<br />
Mojo software on the Pre may not be converting lon/lat [http://www.rwhitby.net/blog/webos-internals/palm-pre-gps-error.html for the Southern Hemisphere correctly.] <br />
*If patch becomes available, I'll update here.<br />
*Status update: no fix yet, but Palm is aware of the issue. [[User:FreeTim|FreeTim]] 10:57, 4 December 2009 (UTC)<br />
<br />
<br />
===Battery Life===<br />
<br />
* Enabling the GPS itself seems to consume more of the battery than when it's off.<br />
<br />
* Results from today's test with battery meter:<br />
<br />
====Testing method====<br />
**I'm on a 12story building in the 9th floor, in Boston Massachusetts USA. Palm Pre is near a window, and GPS gives location value (I assume it can see satellites.)<br />
**Time: 2-hour tests on the desk without moving the Palm Pre, nor using it in that time, Screen off in 30seconds, no apps running at the same time ( other than Battery Meter.)<br />
<br />
* Procedure:<br />
** Started battery meter.<br />
** Battery level began at 20% discharged to 13%. Then recharged it to 20% again, and enabled GPS discharged again... once for each state.<br />
** Meanwhile just let the Pre sit there. <br />
<br />
*After 2-hours in the first state, from Location services we enabled GPS for the second test.<br />
<br />
<br />
====Results below====<br />
Battery Drain Two-hour test results:<br />
.<br />
* GPS OFF = discharge rate 3.18 % per hour<br />
* GPS ON = discharge rate 3.89 % per hour<br />
.<br />
.<br />
The above are my results, you can evaluate the results yourself - battery meter is freeware homebrew.<br />
<br />
Comment: This was not moving, But, when walking /riding does it use up any more current? Assuming then it might be constantly losing / aquiring satellite signal? Further tests will be needed to determine if this is true.<br />
<br />
<BR><BR><br />
==References==<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*[http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 Magazine PCB007] article "the Pre's main chipsets include the RFR6500 receiver and RFT6150 transmitter"<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
<br />
''This page contributed by FreeTim''<BR><br />
Last update : [[User:FreeTim|FreeTim]] 10:57, 4 December 2009 (UTC)<br />
<br />
==Potential Costs==<br />
The Palm Pre driver uses services such a RX Network "GPS on extra" to improve the accuracy, meaning that it downloads files over the GPRS connection if available. Depending on your service providers's charging plan this may mean additional costs on your bill when Location services is enabled. It is not yet known how much data needs to be downloaded or how often.<br />
<br />
==Low-level Access==<br />
The GPS function it seems it can not or is not enabled until the modem is registered to a network. Therefore the communication with the GPS chip goes over the same port and uses the same protocol as GSM, the messages relating to both services are interleaving in the communication stream. The attempt to document this protocol is coordinated at the [[Research Pre GSM Modem Protocol]] page.<br />
<br />
It is not yet clear whether raw unaided GPS service is at all possible on the Pre hardware, with information such as the number and identitifiers of satellites currently in view, signal strength, and other information provided by traditional GPS chips.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=VNC_(Virtual_Network_Computing)&diff=6969VNC (Virtual Network Computing)2009-11-06T14:52:23Z<p>FreeTim: </p>
<hr />
<div>= VNC on the Palm Pre=<br />
<br />
'''NOTE: As an alternative to enabling VNC by following this tutorial, one can use PalmVNC in the Classic emulator with full control. You may download PalmVNC at: http://palmvnc2.free.fr/download.php'''<br />
<br />
The following is a proof of concept:<br />
<br />
== Prerequisites:==<br />
<br />
1. [http://predev.wikidot.com/rooting Root the Pre].<br />
<br />
2. [http://predev.wikidot.com/debian Install Debian chroot].<br />
<br />
== Demos:==<br />
<br />
* [http://www.youtube.com/watch?v=EzLfai2GrKo Video] on YouTube by [http://www.youtube.com/user/nebj00la nebj00la].<br />
* Also see image to the right (or [http://i40.tinypic.com/jhfnle.png here]).<br />
<br />
== Instructions:==<br />
<br />
1. Download the source tarball, directvnc_0.7.5.orig.tar.gz.<br />
''' NOTE: There is a newer version of directvnc at http://code.google.com/p/directvnc-rev/ ( tarball at http://directvnc-rev.googlecode.com/files/directvnc-0.7.5-test-051207.tar.gz ) that has a feature that might be very useful on the pre, keyboard remapping - http://code.google.com/p/directvnc-rev/wiki/KeyboardMapping - as well as a few others - http://code.google.com/p/directvnc-rev/wiki/NewFeatures - also if someone wants to get GGI working with DirectFB, ggivnc is under current development (unlike even directvnc-rev which is untouched since 2007) - http://www.lysator.liu.se/~peda/ggivnc/ - ggivnc's author is on #ggi on freenode irc. Another option would be to try a GTK-based VNC client, as with [[vala-terminal]].<br />
<br />
2. Move the tarball to /usr/local/src/<br />
<br />
3. Run the following command from /usr/local/src/:<br />
<pre><nowiki>tar zxvf directvnc_0.7.5.orig.tar.gz</nowiki></pre><br />
<br />
4. A new directory structure should be created. cd to /usr/local/src/directvnc-0.7.5/src/<br />
<br />
5. Modify the source of dfb.c (use vi). Remove lines 29, 33, 44, 69 and 83. Here's what each of the lines contains, so you know what we're deleting:<br />
> 29: IDirectFBInputDevice *mouse; #We don't have a mouse.<br />
> 33: DFBCardCapabilities caps; #Won't compile with this line.<br />
> 44: DFBCHECK(DirectFBSetOption ("quiet", "")); #Won't compile with this line, either.<br />
> 69: DFBCHECK(dfb->GetInputDevice( dfb, DIDID_MOUSE, &mouse )); #We don't have a mouse<br />
> 83: mouse->Release( mouse ); #We don't have a mouse<br />
<br />
As you can see, we're removing code that will support a mouse and other things that cause the source not to compile. I haven't figured out how to get mouse control. Maybe someone can write a mouse driver that uses the touchscreen. :)<br />
<br />
6. Change back to /usr/local/src/directvnc-0.7.5/<br />
<br />
7. Run the following command, it will run some checks against the system and get things moving:<br />
<br />
'''NOTE: If any dependencies are missing, let us know in irc.freenode.net #webos-internals, we'll update the wiki.'''<br />
<br />
<pre><nowiki>./configure</nowiki></pre><br />
<br />
8. Run the following command, it will compile the source code:<br />
<pre><nowiki>make && make install</nowiki></pre><br />
<br />
9. Connect to your VNC host:<br />
<pre><nowiki>/usr/local/bin/directvnc <host><:display></nowiki></pre><br />
<br />
10. Testing: On the PC, take some window (like notepad) and drag it all around the screen, because the Pre won't update it's display until the area of the pre's client focus of the PC window actually sees a pixel change. So until that part of the windows changes you might not seem connected. As with any VNC controller you can expect a bit of lag too this is normal.<br />
<br />
<br />
.<br />
[[Image:Vnc.jpg]]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6311GPS2009-10-06T23:10:34Z<p>FreeTim: /* Location of Chip */ Added detail about the digital baseband controller too</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS, it's integrated in the radio receiver chip.<br />
<br />
Internet has some misleading information out there because the initial tear-downs didn't spot a separate GPS chip, so reviewers thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location like so : ''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, it's part of the RF reciever chip, and it uses this hardware GPS if it's turned on (enabled.) <br />
<br />
*If the GPS is on, '''GPS hardware''' will be used with location determined by satellite.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
<br />
==Location of Chip==<br />
<br />
The GPS hardware is physically located on the Comm board, right hand side, as part of the RF (radio frequency) receiver chip RFR6500 that is part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to [http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 magazine PCB007], the Pre's main comm chipsets include the RFR6500 receiver and RFT6150 transmitter. Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows the RFR6500 too, in the teardown.<br />
<br />
This Qualcomm RFR6500 supports both GPS receiving and receiving of the voice part of cellular. This GPS chip will also likely need some digital controller - therefore my conclusion that the Palm Pre's GPS receiver is inside the second Radio Frequency support chip the Qualcomm RFR6500 receiver is the one, and it's likely the processing and control for that GPS may be part of the Baseband processor (Qualcomm MSM6801A.)<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support '''both GPS and '''CDMA2000 cell voice reception.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
==References==<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
<br />
<br />
==Mojo==<br />
===Location Services===<br />
* There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.) Overview: Some of the Mojo functions allow to get current location, to subscribe to services (thus continually updating coordinates) and also reverse address resolution - put in an address and return the longitude/ latitude.<br />
* See the SDK for the current WebOS version which describes the Javascript use of Location services.<br />
<br />
<br />
==Known Issues==<br />
===Southern Hemisphere===<br />
<br />
Apparently the software on the Pre may not be converting lon/lat [http://www.rwhitby.net/blog/webos-internals/palm-pre-gps-error.html for the Southern Hemisphere correctly.] If patch becomes available, I'll update here.<br />
<br />
<br />
===Battery Life===<br />
<br />
* Enabling the GPS itself seems to consume more of the battery than when it's off.<br />
<br />
* Results from today's test with battery meter:<br />
<br />
====Testing method====<br />
**I'm on a 12story building in the 9th floor, in Boston Massachusetts USA. Palm Pre is near a window, and GPS gives location value (I assume it can see satellites.)<br />
**Time: 2-hour tests on the desk without moving the Palm Pre, nor using it in that time, Screen off in 30seconds, no apps running at the same time ( other than Battery Meter.)<br />
<br />
* Procedure:<br />
** Started battery meter.<br />
** Battery level began at 20% discharged to 13%. Then recharged it to 20% again, and enabled GPS discharged again... once for each state.<br />
** Meanwhile just let the Pre sit there. <br />
<br />
*After 2-hours in the first state, from Location services we enabled GPS for the second test.<br />
<br />
<br />
====Results below====<br />
Battery Drain Two-hour test results:<br />
.<br />
* GPS OFF = discharge rate 3.18 % per hour<br />
* GPS ON = discharge rate 3.89 % per hour<br />
.<br />
.<br />
The above are my results, you can evaluate the results yourself - battery meter is freeware homebrew.<br />
<br />
Comment: This was not moving, But, when walking /riding does it use up any more current? Assuming then it might be constantly losing / aquiring satellite signal? Further tests will be needed to determine if this is true.<br />
<br />
<br />
<br />
''This page contributed by FreeTim''<br />
Last update : [[User:FreeTim|FreeTim]] 22:31, 6 October 2009 (UTC)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6310GPS2009-10-06T22:31:53Z<p>FreeTim: Updating the Southern Hemisphere known issue with the GPS - link.</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS, it's integrated in the radio receiver chip.<br />
<br />
Internet has some misleading information out there because the initial tear-downs didn't spot a separate GPS chip, so reviewers thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location like so : ''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, it's part of the RF reciever chip, and it uses this hardware GPS if it's turned on (enabled.) <br />
<br />
*If the GPS is on, '''GPS hardware''' will be used with location determined by satellite.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
<br />
==Location of Chip==<br />
<br />
The GPS hardware is physically located on the Comm board, right hand side, as part of the RF (radio frequency) receiver chip RFR6500 that is part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to [http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 magazine PCB007], the Pre's main comm chipsets include the RFR6500 receiver and RFT6150 transmitter. Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows the RFR6500 too, in the teardown.<br />
<br />
I discovered that this chip, RFR6500 by Qualcomm, supports both GPS receiving and the voice part which is CDMA2000. <br />
Therefore my conclusion that the Palm Pre's GPS is inside one of the two Radio Frequency support chips, the RFR6500 receiver.<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support '''both GPS and '''CDMA2000 cell voice reception.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
<br />
<br />
==References==<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
<br />
<br />
==Mojo==<br />
===Location Services===<br />
* There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.) Overview: Some of the Mojo functions allow to get current location, to subscribe to services (thus continually updating coordinates) and also reverse address resolution - put in an address and return the longitude/ latitude.<br />
* See the SDK for the current WebOS version which describes the Javascript use of Location services.<br />
<br />
<br />
==Known Issues==<br />
===Southern Hemisphere===<br />
<br />
Apparently the software on the Pre may not be converting lon/lat [http://www.rwhitby.net/blog/webos-internals/palm-pre-gps-error.html for the Southern Hemisphere correctly.] If patch becomes available, I'll update here.<br />
<br />
<br />
===Battery Life===<br />
<br />
* Enabling the GPS itself seems to consume more of the battery than when it's off.<br />
<br />
* Results from today's test with battery meter:<br />
<br />
====Testing method====<br />
**I'm on a 12story building in the 9th floor, in Boston Massachusetts USA. Palm Pre is near a window, and GPS gives location value (I assume it can see satellites.)<br />
**Time: 2-hour tests on the desk without moving the Palm Pre, nor using it in that time, Screen off in 30seconds, no apps running at the same time ( other than Battery Meter.)<br />
<br />
* Procedure:<br />
** Started battery meter.<br />
** Battery level began at 20% discharged to 13%. Then recharged it to 20% again, and enabled GPS discharged again... once for each state.<br />
** Meanwhile just let the Pre sit there. <br />
<br />
*After 2-hours in the first state, from Location services we enabled GPS for the second test.<br />
<br />
<br />
====Results below====<br />
Battery Drain Two-hour test results:<br />
.<br />
* GPS OFF = discharge rate 3.18 % per hour<br />
* GPS ON = discharge rate 3.89 % per hour<br />
.<br />
.<br />
The above are my results, you can evaluate the results yourself - battery meter is freeware homebrew.<br />
<br />
Comment: This was not moving, But, when walking /riding does it use up any more current? Assuming then it might be constantly losing / aquiring satellite signal? Further tests will be needed to determine if this is true.<br />
<br />
<br />
<br />
''This page contributed by FreeTim''<br />
Last update : [[User:FreeTim|FreeTim]] 22:31, 6 October 2009 (UTC)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=User:FreeTim&diff=6308User:FreeTim2009-10-06T22:12:09Z<p>FreeTim: /* Pages */</p>
<hr />
<div>==Pages==<br />
Pages I contributed to the community are linked here. I'm not a developer I'm a systems engineer, so these won't be apps or patches, just things of interest regarding access to the underlying Linux operating system, install documents and other Systems things of interest.<br />
<br />
* [http://www.webos-internals.org/wiki/Komodo_WebOS_Add-on_Install the Komodo_WebOS_Add-on_Installpage.] A how-to-install document, how to update, and how to enable Code Intelligence. Screen shots, and verification steps included. (Templarian's Komodo WebOS Add-on is quite a time saver, many thanks to the developer, Templarian!)<BR><br />
* [http://www.webos-internals.org/wiki/putty the putty page] - how to CORRECTLY have PuTTY configured, for SSH2 into your Pre.<br />
* [http://www.webos-internals.org/wiki/bottom_bar the Bottom Bar page] which is possibly deprecated now.<br />
* [http://www.webos-internals.org/wiki/GPS The GPS page detailing the GPS hardware.] and battery tests for the GPS.<br />
* anywhere else that I can help . :)<br />
<br />
==About Me==<br />
* FreeTim - Well my name is Tim, I'm a computer Systems Engineer for a large company. <br />
* I'm a specialist in multiple disciplines such as SunOS, and MCSE+i, Linux, Apache, HPUX, cisco, etc.<br />
* I work near MIT, with a view of the banks of the Charles River in Boston. <br />
* I'm one of the founders of the WEBOSBOSTON community [http://www.webosboston.org We have monthly meetings.]<br />
* I ride MOTORCROSS on the weekends (one of the two days, during the season.)<br />
You'll find me in the IRC chat rooms all day, every day.<br />
<BR><BR><br />
<br />
==Things I think are Useful for me to have here==<br />
===Blocking WebOS updates===<br />
I don't want the updates to happen at some unplanned (for me) time, so here is the way to block webOS updates:<br />
<BR><BR><br />
cd /usr/bin<br />
mount -o remount,rw /<br />
chmod 664 UpdateDaemon<br />
mount -o remount,ro /<br />
<BR><BR><br />
Then, reboot (ORN+ shift +R) <br />
<BR><br />
To reverse the process use this;<br />
<BR><BR><br />
chmod 775 UpdateDaemon<br />
<BR><BR><br />
This makes it executable again as it was before, and then reboot (required.)<br />
<BR><BR><BR></div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6307GPS2009-10-06T22:06:16Z<p>FreeTim: Adding Battery Drain test results to the page</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS, it's integrated in the radio receiver chip.<br />
<br />
Internet has some misleading information out there because the initial tear-downs didn't spot a separate GPS chip, so reviewers thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location like so : ''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, it's part of the RF reciever chip, and it uses this hardware GPS if it's turned on (enabled.) <br />
<br />
*If the GPS is on, '''GPS hardware''' will be used with location determined by satellite.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
<br />
==Location of Chip==<br />
<br />
The GPS hardware is physically located on the Comm board, right hand side, as part of the RF (radio frequency) receiver chip RFR6500 that is part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to [http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 magazine PCB007], the Pre's main comm chipsets include the RFR6500 receiver and RFT6150 transmitter. Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows the RFR6500 too, in the teardown.<br />
<br />
I discovered that this chip, RFR6500 by Qualcomm, supports both GPS receiving and the voice part which is CDMA2000. <br />
Therefore my conclusion that the Palm Pre's GPS is inside one of the two Radio Frequency support chips, the RFR6500 receiver.<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support '''both GPS and '''CDMA2000 cell voice reception.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
<br />
<br />
==References==<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
<br />
<br />
==Mojo==<br />
===Location Services===<br />
* There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.) Overview: Some of the Mojo functions allow to get current location, to subscribe to services (thus continually updating coordinates) and also reverse address resolution - put in an address and return the longitude/ latitude.<br />
* See the SDK for the current WebOS version which describes the Javascript use of Location services.<br />
<br />
<br />
==Known Issues==<br />
===Southern Hemisphere===<br />
<br />
Apparently the software on the Pre currently isn't doing Southern Hemisphere correctly, this is unconfirmed.<br />
<br />
<br />
===Battery Life===<br />
<br />
* Enabling the GPS itself seems to consume more of the battery than when it's off.<br />
<br />
* Results from today's test with battery meter:<br />
<br />
====Testing method====<br />
**I'm on a 12story building in the 9th floor, in Boston Massachusetts USA. Palm Pre is near a window, and GPS gives location value (I assume it can see satellites.)<br />
**Time: 2-hour tests on the desk without moving the Palm Pre, nor using it in that time, Screen off in 30seconds, no apps running at the same time ( other than Battery Meter.)<br />
<br />
* Procedure:<br />
** Started battery meter.<br />
** Battery level began at 20% discharged to 13%. Then recharged it to 20% again, and discharged again... once for each state.<br />
** Meanwhile just let the Pre sit there. <br />
<br />
*AFter 2-hours in the first state, I Went to Location services, Enabled GPS for the second test.<br />
<br />
<br />
====Results below====<br />
<br />
* GPS OFF = discharge rate 3.18 % per hour<br />
* GPS ON = discharge rate 4.44 % per hour<br />
.<br />
.<br />
The above are my results, you can evaluate the results yourself - battery meter is freeware homebrew.<br />
<br />
* Note: I am repeating these results tomorrow just to verify the two hours is consistant across both tests.<br />
<br />
<br />
<br />
''This page contributed by FreeTim''</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6300GPS2009-10-06T17:56:52Z<p>FreeTim: /* Mojo */ Quick summary of the GPS mojo features</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
Google shows some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. I found misleading detail on several reviews:<br />
<br />
''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
*If the GPS is on, '''GPS hardware''' will be used.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
<br />
===Location of Chip===<br />
<br />
The GPS hardware is physically located on the Comm board, right hand side, as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to [http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 magazine PCB007], the Pre's main comm chipsets include the RFR6500 receiver and RFT6150 transmitter. Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows the RFR6500 too, in the teardown.<br />
<br />
I discovered that this chip, RFR6500 by Qualcomm, supports both GPS receiving and the voice part which is CDMA2000. <br />
Therefore my conclusion that the Palm Pre's GPS is inside one of the two Radio Frequency support chips, the RFR6500 receiver.<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support GPS and CDMA2000 voice.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
<br />
<br />
===References===<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
===Mojo===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.) Overview: Some of the Mojo functions allow to get current location, to subscribe to services (thus continually updating coordinates) and also reverse address resolution - put in an address and return the longitude/ latitude.<br />
<br />
===Known Issues===<br />
<br />
<br />
Apparently the software on the Pre currently isn't doing Southern Hemisphere correctly.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6299GPS2009-10-06T17:48:55Z<p>FreeTim: Removed documents from Google and direct quotes to clean it up.</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
Google shows some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. I found misleading detail on several reviews:<br />
<br />
''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
*If the GPS is on, '''GPS hardware''' will be used.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
<br />
===Location of Chip===<br />
<br />
The GPS hardware is physically located on the Comm board, right hand side, as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to [http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2 magazine PCB007], the Pre's main comm chipsets include the RFR6500 receiver and RFT6150 transmitter. Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows the RFR6500 too, in the teardown.<br />
<br />
I discovered that this chip, RFR6500 by Qualcomm, supports both GPS receiving and the voice part which is CDMA2000. <br />
Therefore my conclusion that the Palm Pre's GPS is inside one of the two Radio Frequency support chips, the RFR6500 receiver.<br />
<br />
There is an [http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176 engineering report here.]<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support GPS and CDMA2000 voice.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board here.] (photo.)<br />
<br />
<br />
<br />
===References===<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] <br />
<br />
===Mojo===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.)<br />
<br />
===Known Issues===<br />
<br />
<br />
Apparently the software on the Pre currently isn't doing Southern Hemisphere correctly.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6296GPS2009-10-06T17:32:00Z<p>FreeTim: Minor research results update</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
This is a new page and it's in-progress, I should have it done by tomorrow<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
Google shows some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. I found misleading detail on several reviews:<br />
<br />
''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
*If the GPS is on, '''GPS hardware''' will be used.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
===Location of Chip===<br />
<br />
The GPS hardware is physically located on the Comm board as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]<br />
<br />
According to magazine PCB007,<br />
http://www.pcb007.com/pages/zone.cgi?artcatid=&a=50798&artid=50798&pg=2<br />
<br />
<br />
Detailing the main comm chipsets including the RFR6500 receiver and RFT6150 transmitter.<br />
<br />
Is it possible, the GPS isn't part of the MSM6801 but rather it's part of the Qualcomm RFR6500 Receiver, also on the Palm Pre?<br />
<br />
Phone wreck shows this chip here:<br />
http://www.google.com/url?sa=t&source=web&ct=res&cd=5&url=http%3A%2F%2Fwww.phonewreck.com%2Fwiki%2Findex.php%3Ftitle%3DMotorola_Krave_ZN4&ei=E3zLStySJdPIlAe0y7nJBQ&rct=j&q=RFR6500+receiver&usg=AFQjCNE5wLHDuIvH0tQHccBZTGJMipJj1g&sig2=CSrRRzUe1Y7kM0fVzW05YA<br />
<br />
<br />
http://www.google.com/url?sa=t&source=web&ct=res&cd=2&url=http%3A%2F%2Fwww.semiconductor.com%2Fresources%2Freports_database%2Fview_report.asp%3Fpid%3D4176&ei=E3zLStySJdPIlAe0y7nJBQ&rct=j&q=RFR6500+receiver&usg=AFQjCNGuPwi2Noa4YS47-PADdCTzT9bRtw&sig2=LQmfMvTItQCSq7shnuxHCg<br />
<br />
I discovered that the RFR6500 supports both GPS receiving and CDMA2000. <br />
Therefore my conclusion that the Palm Pre's GPS is inside one of the two Radio Frequency support chips, the RFR6500 receiver.<br />
<br />
There is an engineering report here:<br />
http://www.google.com/url?sa=t&source=web&ct=res&cd=2&url=http%3A%2F%2Fwww.semiconductor.com%2Fresources%2Freports_database%2Fview_report.asp%3Fpid%3D4176&ei=E3zLStySJdPIlAe0y7nJBQ&rct=j&q=RFR6500+receiver&usg=AFQjCNGuPwi2Noa4YS47-PADdCTzT9bRtw&sig2=LQmfMvTItQCSq7shnuxHCg<br />
(above, archive)<br />
http://www.semiconductor.com/resources/reports_database/view_report.asp?pid=4176<br />
(above, engineering report article)<br />
<br />
Where you'll find that Qualcomm’s RFR6500 is a receiver that can support GPS and CDMA2000 voice.<br />
<br />
<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board in Step6 here.] (photo.)<br />
*Chip may possibly be Murata - researching this.<br />
<br />
<br />
===References===<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] Maybe it really is Marvell?<br />
<br />
TODO:<br />
<br />
Clean up formatting.<br />
<br />
===Mojo===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6283GPS2009-10-06T14:21:05Z<p>FreeTim: Listing alternative research</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
This is a new page and it's in-progress, I should have it done by tomorrow<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
Google shows some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. I found misleading detail on several reviews:<br />
<br />
''The Pre does use the assisted GPS capabilities of the Qualcomm baseband. That means the phone will not be able to get a location fix when it is not connected to the cellular network.''<br />
<br />
<br />
This isn't entirely accurate - the Palm Pre '''does indeed have integrated GPS '''hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
*If the GPS is on, '''GPS hardware''' will be used.<br />
*If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
<br />
<br />
===Location of Chip===<br />
<br />
The GPS hardware is physically located on the Comm board as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]it's integrated into the NL55xx Bluetooth chip.<br />
<br />
*this means the chip may be marked "NL5512" or similar (NL55xx) and will have the Texas Instruments logo.<br />
*Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board in Step6 here.] (photo.)<br />
*Chip may possibly be Murata - researching this.<br />
<br />
<br />
===References===<br />
<br />
*Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
*Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
*Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
*Ifixit [http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.palminfocenter.com%2Fnews%2F9825%2Fifixit-tears-down-the-pre-and-touchstone%2F&ei=9j_LSqndCKCNtgeNluTbAQ&rct=j&q=palm+pre+tear+location&usg=AFQjCNFT0jONhOxxF6GRXLHwmxUSY7pMlQ&sig2=krl4zHjeDeeo8GhkiQckEg tears down the Palm Pre.]<br />
*Here is Phonewreck's [http://www.phonewreck.com/2009/06/07/palm-pre-teardown-and-analysis-review-coming-soon/#more-320 parts analysis.] Maybe it really is Marvell?<br />
<br />
TODO:<br />
<br />
It's not clear why in some teardowns the MURATA brand chip is listed - I'm researching that and will update here.<br />
<br />
<br />
===Mojo===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6282GPS2009-10-06T14:05:44Z<p>FreeTim: Adding CES reference. Adding Rapir Repair photos link showing comm board with GPS.</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
There is some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. <br />
<br />
This wasn't entirely accurate - the Palm Pre does indeed have integrated GPS hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
If the GPS is on, GPS hardware will be used.<br />
<br />
If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
===Location===<br />
<br />
The GPS hardware is physically located on the Comm board as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]it's integrated into the NL55xx Bluetooth chip.<br />
<br />
so, this means the chip might be marked "NL5500" or similar and will be TI brand<br />
<br />
<br />
===Reference===<br />
<br />
Palm announced at CES the Pre uses the TI OMAP 3430 as an applications processor.<br />
Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
Rapid Repair shows the [http://www.rapidrepair.com/guides/Palm-Pre/palm-pre-dissasembly-repair-guide.html comm board in Step6 here.] (photo.)<br />
<br />
===Software===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=GPS&diff=6281GPS2009-10-06T13:45:09Z<p>FreeTim: New page: ==GPS== The GPS hardware page. Software found elsewhere (location services - see SDK.) ====Description==== The Palm Pre has a built-in hardware GPS for location services. There is som...</p>
<hr />
<div>==GPS==<br />
<br />
The GPS hardware page.<br />
<br />
Software found elsewhere (location services - see SDK.)<br />
<br />
====Description====<br />
<br />
The Palm Pre has a built-in hardware GPS for location services.<br />
<br />
There is some misleading information out there, because the initial tear-downs didn't spot a separate GPS chip it was earlier thought the Palm Pre didn't have a GPS and thus must rely on cell phone tower location. <br />
<br />
This wasn't entirely accurate - the Palm Pre does indeed have integrated GPS hardware, and uses GPS if it's turned on (enabled.)<br />
<br />
If the GPS is on, GPS hardware will be used.<br />
<br />
If the GPS is turned off in Location Services, the Palm Pre will fallback on cell tower location.<br />
<br />
===Location===<br />
<br />
The GPS hardware is physically located on the Comm board as part of the [http://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTexas_Instruments_OMAP&ei=00LLSq6IE8iwtgf74KXrAQ&rct=j&q=arm+texas+instruments+omap+3+chipset+palm+pre&usg=AFQjCNEmNf0DMuYepJcYOS4WiM4dr77fYw&sig2=Drg2ly2tTdnTihaq_XFYrw OMAP3 chipset (PDF file),]it's integrated into the NL55xx Bluetooth chip.<br />
<br />
so, this means the chip might be marked "NL5500" or similar and will be TI brand<br />
<br />
<br />
===Reference===<br />
<br />
Here is the [http://focus.ti.com/lit/ml/swpt024b/swpt024b.pdf Omap 3 bulletin from TI] - PDF file.<br />
Here is the [http://focus.ti.com.cn/cn/lit/ml/swpt019a/swpt019a.pdf mainARM chipset detail] from TI - PDF file.<br />
<br />
===Software===<br />
<br />
There are Mojo methods detailed in the SDK under Location Services (and so, no need to also detail them here.)</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Portal:Hardware&diff=6280Portal:Hardware2009-10-06T13:35:31Z<p>FreeTim: Adding GPS</p>
<hr />
<div>__notoc__<br />
{{portal-header|<br />
Just list everything related to the hardware. <br><br />
Title pages: '''Hardware [description]'''<br />
}}<br />
'''[[:Category:Hardware|All pages in Category:Hardware]]'''<br />
<br />
* [[A2dp]]<br />
* [[Accelerometer]]<br />
* [[Ambient Light Sensor]]<br />
* [[Bluetooth Research]]<br />
* [[GPS]]<br />
* [[Hardware]]<br />
* [[IR Proximity Sensor]]<br />
* [[Controlling LEDs from the Shell|LEDS: Control from the shell]]<br />
* [[More on Leds|LEDS: More information]] <br />
* [[OMAP vibration device|OMAP vibration device]] <br />
* [[Torch/Flash|Torch/Flash]] <br />
* [[USB]]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=User:FreeTim_Sandbox&diff=5619User:FreeTim Sandbox2009-09-10T13:59:57Z<p>FreeTim: New page: ==Sandbox== ===This page is a test page for FreeTim=== * Here is where I may create intial pages to get used to the layout and view, for creating 'actual' page at some later time. * If yo...</p>
<hr />
<div>==Sandbox==<br />
===This page is a test page for FreeTim===<br />
<br />
* Here is where I may create intial pages to get used to the layout and view, for creating 'actual' page at some later time.<br />
* If you have reached this page by '''searching''', you may want to go ''back''.<br />
<br />
<br />
Here is how to install PreWare, top to bottom without omitting anything, all in one document.<br />
<br />
===Prerequisites===<br />
====You MUST do these first====<br />
* free registration on precentral.com required - so go sign up (free.) Required in order to download software.<br />
* go to this web page and do a control-f (find) for "install.jar" and download the file.<br />
http://forums.precentral.net/homebrew-apps/194832-webos-quick-install.html<br />
* download webosrecovery ram - WARNING DO NOT RUN THIS FILE just download it to the same folder, for We need components from this file only, not the main portion of the file which is used to restore factory settings.<br />
download this from http://palm.cdnetworks.net/rom/pre_p100eww/webosdoctorp100ewwsprint.jar<br />
* If your MAC or PC machine doesn't have at least Java 1.6, you can install that now from http://www.java.com/en/download/manual.jsp _________ MAC instructions needed here.<br />
<br />
<br />
===Install Steps===<br />
* Unplug your phone from USB before you start, or the drive may hang on a later step.<br />
* Enable DEV mode and restart your phone (required.) To do this, you need to enable a hidden application and then toggle it and reboot. To do this, close all applications on the phone, then just start typing and enter this EXACTLY: <br />
upupdowndownleftrightleftrightbastart using the phone's slide-out keyboard and <br />
when you press ENTER key nothing will seem to happen - now open the launcher and find the new "DEV MODE" application. Toggle the slider to 'on' and use button Reset the Device to reboot. This is how Palm has configured the Pre to allow root over the USB cable (this is by design) and We will toggle this to 'off' as a clean up step at the end of these instructions.<br />
* Now run double-click WebOSQuickInstall.jar<br />
* On the notebook, run the WebOSInstall.jar file (warning do NOT RUN the webosdoctor.jar file by mistake)<br />
* Choose USB (this can be changed later if you want to change to the emulator.)<br />
* PLUG IN YOUR PHONE NOW to USB - choose "just charge" on the phone. If you press any wrong button just unplug it, wait 10 seconds, then plug it back in - choose "just charge."<br />
* On the WebOS Quick Install, Select the 3rd button (the one below the minus button.)<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top., Select Package Manager Service from the list.<br />
* Select DOWNLOAD, then Select Close button, then INSTALL.<br />
* Again Select the 3rd button (the one below the minus button.)<br />
* Choose WebOS Internals Feed (all) from the dropdown list at the top. Select Preware from the list.<br />
* Select DOWNLOAD, then Select Close button, then INSTALL. At this point you are done.<br />
<br />
===Cleanup===<br />
* After this is done, you should see a new application "PreWare" on the phone in the launcher.<br />
You use this similar to "app catalog" to install homebrew applications, like KeyRing and Google Voice.<br />
* Useage of PreWare: Try to be on WIFI, it's faster that way.<br />
* If it fails to fully load (spins forever) then just close the app and open it again.<br />
* Removal of homebrew:<br />
Homebrew applications are real applications, so to remove them do it the same way you would with one from the App Catalog - go to Launcher and select "List applications" from the menus. Click on any to delete (confirmation is required to help avoid mistakes.)<br />
* Disable DEV mode as a clean up step. To do this, as before close all applications on the phone then type EXACTLY upupdowndownleftrightleftrightbastart using the phone's slide-out keyboard and hit ENTER key, this shows the Dev Mode icon in the launcher. <br />
* In the launcher, find Dev Mode icon and toggle the slider to OFF and and use button Reset the Device to reboot. This is the clean up step from above.<br />
<br />
===Summary===<br />
This is a sandbox (wiki test page) for user FreeTim.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Mojo_Fonts&diff=5579Mojo Fonts2009-09-09T14:47:01Z<p>FreeTim: Redirecting to Fonts summary</p>
<hr />
<div>#REDIRECT [[Fonts_summary]]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Mojo_Fonts&diff=5578Mojo Fonts2009-09-09T14:46:46Z<p>FreeTim: Redirecting to Fonts Summary</p>
<hr />
<div>#REDIRECT [[Fonts Summary]]</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Portal:SDK&diff=5577Portal:SDK2009-09-09T14:44:11Z<p>FreeTim: Adding Fonts to both columns under Design</p>
<hr />
<div>__notoc__<br />
{{portal-header<br />
|Since a lot of developers felt they could write more concise documentation the pages have been created to do so below. In the second column next to the documentation is the official version for up to the date reference.}}<br />
{{portal-two-columns<br />
|column1=<br />
== Mojo Documentation ==<br />
<br />
=== Storage ===<br />
<br />
* [[Mojo Storage Cookie|Cookie]]<br />
* [[Mojo Storage Depot|Depot]]<br />
* [[Mojo Storage Database|Database]]<br />
<br />
=== Widgets ===<br />
<br />
* [[Mojo Widget Button|Button]]<br />
* [[Mojo Widget CheckBox|CheckBox]]<br />
* [[Mojo Widget ToggleButton|ToggleButton]]<br />
* [[Mojo Widget RadioButton|RadioButton]]<br />
* [[Mojo Widget ListSelector|ListSelector]]<br />
* [[Mojo Widget Slider|Slider]]<br />
* [[Mojo Widget List|List]]<br />
* [[Mojo Widget FilePicker|FilePicker]]<br />
<br />
=== Design ===<br />
<br />
* [[Mojo Design Icons|Icons]]<br />
* [[Mojo Fonts|Fonts]]<br />
* [[Mojo Design UI|User Interface]]<br />
<br />
|column2=<br />
==Official Mojo Documentation (external)==<br />
<br />
=== Storage ===<br />
<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Model.Cookie.html Cookie]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Depot.html Depot]<br />
* [http://dev.w3.org/html5/webdatabase/ Database] (and [http://www.sqlite.org/lang.html SQLite 3 syntax])<br />
<br />
=== Widgets ===<br />
<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.Button Button]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.CheckBox CheckBox]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.ToggleButton Toggle Button]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.RadioButton Radio Button]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.ListSelector List Selector]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.Slider Slider]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.Widget.html#.List List]<br />
* [http://developer.palm.com/palm-sdk/jsdoc/symbols/Mojo.FilePicker.html FilePicker]<br />
<br />
=== Design ===<br />
<br />
* Icons<br />
* Fonts<br />
* User Interface<br />
}}<br />
<br />
==Tools to use with the SDK==<br />
<br />
Please visit the [[Portal:Tools|Tools Portal]] to see a list of all tools and editors.<br />
<br />
==Adding Other Pages==<br />
<br />
If you add other pages to this list make sure they match up with the right column. If there is no other page, make sure the spacing shows that.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Fonts_summary&diff=5576Fonts summary2009-09-09T14:41:40Z<p>FreeTim: New page: == Fonts Summary == * [http://www.webos-internals.org/wiki/Fonts_available_on_board_the_Pre Built-in fonts that come with the pre] are listed * [http://www.webos-internals.org/wiki/Fonts_c...</p>
<hr />
<div>== Fonts Summary ==<br />
* [http://www.webos-internals.org/wiki/Fonts_available_on_board_the_Pre Built-in fonts that come with the pre] are listed<br />
* [http://www.webos-internals.org/wiki/Fonts_canvas Custom fonts via bitmap / canvas - not yet documented.] Some of the games use this method.</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Mojo_Storage_Depot&diff=5568Mojo Storage Depot2009-09-09T13:43:20Z<p>FreeTim: New page: ==Listing of Depot tutorials:== * jcrawford has created a Depot tutorial: 'The application created in this walk-through will explain the concepts behind creating a basic application, expl...</p>
<hr />
<div>==Listing of Depot tutorials:==<br />
<br />
* jcrawford has created a Depot tutorial:<br />
'The application created in this walk-through will explain the concepts behind creating a basic application, explaining what each part is and why you have to do it that way. I will also [http://www.webosboston.org/2009/08/17/a-basic-webos-application-and-the-depot/ introduce the Depot in this walk-through. Are you ready?]'</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Resources&diff=5567Resources2009-09-09T10:28:35Z<p>FreeTim: /* Web Sites */ minor spelling correction 'offical' to official</p>
<hr />
<div>== Web Sites==<br />
Here's a list of websites with forums, tutorials, and general Palm Pre information.<br />
<br />
* [http://developer.palm.com/ Palm webOSdev] - Official Palm Pre Developer Site<br />
* [http://www.PreCentral.net/ PreCentral] The most active Pre-centric forums and the largest source for homebrew apps. [[PreCentral|PreCentral]] Page has more details.<br />
* [http://www.EverythingPre.com/ EverythingPre]<br />
* [http://www.weboshelp.net/ webOShelp] - webOS Developer Site<br />
* [http://www.PalmPre.org/ PalmPre] - Unofficial Palm Pre Fan site<br />
<!--* howard forums - Good for a wide variety of general phone / carrier info--><br />
<br />
==Programming Basics==<br />
Sites with tutorials covering programming basics (HTML, CSS, Javascript)<br />
<!-- TEMPLATE FOR LINKING TO SITE<br />
* [LINK/ NAME] - DESCRIPTION<br />
--><br />
===HTML===<br />
* [http://www.w3schools.com/htmL/ w3c HTML Tutorial]<br />
* [http://www.htmldog.com/guides/htmlbeginner/ HTML Beginner Tutorial] <br />
<br />
===CSS===<br />
* [http://www.w3schools.com/Css/default.asp/ w3c CSS Tutorial]<br />
* [http://www.csstutorial.net/css_tutorial_part1.php/ The CSS Tutorial]<br />
* [http://www.htmldog.com/guides/cssbeginner/ CSS Beginner Tutorial]<br />
<br />
===JavaScript ===<br />
* [http://www.w3schools.com/JS/default.asp/ w3c JavaScript Tutorial]<br />
* [https://developer.mozilla.org/en/A_re-introduction_to_JavaScript/A re-introduction to JavaScript]<br />
* [http://www.webteacher.com/javascript/JavaScript for the Total Non-Programmer]<br />
<br />
<br />
<br><br><br />
<br />
==Books==<br />
<!-- TEMPLATE FOR LINKING TO SITE<br />
* [http://LINK/ NAME] - DESCRIPTION<br />
--><br />
Palm webOS <br />
<br>''The Insider's Guide to Developing Applications in JavaScript using the Palm Mojo™ Framework''<br />
<br>By Mitch Allen<br />
<br />
<br />
<br />
JavaScript: The Good Parts <br />
<br>''Unearthing the Excellence in JavaScript ''<br />
<br>By Douglas Crockford</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Putty&diff=4808Putty2009-08-26T18:03:51Z<p>FreeTim: /* Connecting to EMULATOR */ Minor coorection for the encryption type</p>
<hr />
<div>== Detailed Putty Terminal Settings using SSh-2, DropBear and DynDNS.==<br />
<br />
* How to configure Putty for the Dynamic DNS to the Pre, so you can connect via Wifi and have good terminal settings.<br />
<br />
== Detailed settings for Putty: v0.60==<br />
<br />
* We assume you've [http://www.putty.org/ installed '''PuTTY''' software - if not you can get it at this link]<br />
<BR> <br />
* We assume you've already completed the [[Tutorials_Linux_DDNS_Update_Client_ez-ipupdate|'''Dynamic DNS Update Client''' install for the Pre]] from this wiki, so you don't have to constantly look up your Pre's IP address and can access it via WiFi.<br />
<BR> <br />
* If you have not, on step-7 you can use the wifi IP address from the DeviceInfo screen.<BR><BR><BR><br />
* First, in Putty we will work from bottom to top screens, doing the "session" window as last step to save settings for reuse at later time.<BR><BR><br />
<br />
<br />
== Procedure ==<br />
<BR><br />
0. Run PuTTY then;<br />
<br />
1. Expand CONNECTION in the left-hand pane by clicking on the plus (+) sign.<br />
<br />
* Seconds between keepalives 30 --- these settings required <br />
* Disable Nagle's algorithm - checked<br />
* Enable TCP keepalives - checked<br />
<br />
2. Click on (select) the word '''SSH''' and on that screen change preferred protocol version = 2. There is no need to save yet.<br />
* Comment - This is the step that stops you from sending your password in the clear - SSH2 encrypts entire session including your logon to your Pre for safety.<br />
<br />
3. (Optional) On the left-hand pane select "'''Window'''" and set "columns" =100 "Rows" =50 and "lines of Scrollback" = 600. Higher values give the advantage to scroll back more, at the cost of using more local WindowsXP swap file space. <br />
<br />
4. (Optional) On the left-hand pane under WINDOW, choose '''APPEARANCE'''. Change the font to Fixedsys, 12-point.<br />
<br />
5. On the left-hand pane under TERMINAL, choose '''KEYBOARD'''. <br />
<br />
* Set: Backspace key to 127. --- these settings required <br />
* Choose Function Keys VT100<br />
<br />
6. On the left-hand pane select '''TERMINAL''' itself.<br />
<br />
* Enable "Auto Wrap", Enable "Use Background Color", uncheck the others ("DEC", "Implicit", and "Blinking.")<br />
* For Line Discipline options choose AUTO and again AUTO. - some have reported the Force Off works for them.<br />
<br />
7. On the left-hand pane select '''SESSION'''.<br />
* For the hostname - enter your DynDNS hostname you assigned during DynDNS "yourhostname.getmyip.com" for example<br />
* For the port - choose 222<br />
<br />
8. (Optional) under Session '''LOGGING''' you can turn logging on and give some file name. <br />
* Recommended. This may help you when chatting in the IRC channel if you want to share your session text with others.<br />
<br />
9. On the left-hand pane select '''SESSION.''' In "Load" box window, give some friendly name like "Palm_Pre_Dropbear" and click SAVE button.<BR><br />
* '''This is the point where it saves all of the above settings''', which is why we do it last even though it's the 'first' screen when opening putty.<br />
<br />
10. TEST by waking up your phone so it connects to wifi, and then double click on the saved session "Palm Pre Dropbear" you should be asked your password.<br />
* If you are prompted to 'add security certificate' upon your first connection to your Pre, answer yes. <br />
* If you get the Linux prompt then success you're in! <br />
* Success on SSH-2 ! Jump for joy. Read tricks below on usage.<br />
<BR><BR><br />
<br />
== Troubleshooting suggestions:==<br />
<br />
* If it never connects, can you PING to your wifi IP or hostname? The TTL for DynDNS is 60 seconds, so after you 'wake up' your pre the IP may not be correct for one minute. Also set your Pre to the 3-minute timeout screen value so it doesn't go to sleep too quickly during testing.<br />
* If it works good at first, but then after a minute of idle it seems to be sluggish or slow, then check the keepalives setting in above section.<BR><br />
* To keep the phone active you may [http://www.webos-internals.org/wiki/Changing_the_%22Turn_off_after_X%22_time use the tweak to increase idle timer] on the screen and lock application's settings (i.e; Turn Off: 30 minutes.)<br />
<BR><BR><br />
<br />
== Connecting to EMULATOR ==<br />
Once you have done the above to connect to your physical Pre, load the same settings from above,<br />
then save as a different NAME to connect to the EMULATOR. Also, you'll change the hostname and port.<br />
* The only difference is on Step7 from above, really for the SESSION setting<br />
** Hostname: localhost (or use 127.0.0.1)<br />
** Choose ssh2 on port 5522 <br />
* And on the emulator, you don't have to install dropbear, it's there by default for you already.<br />
* TEST by running the emulator, wait for the ready screen then SSH2 into it.<br />
* Logon as root, password (blank, none.)<br />
<BR><BR><br />
<br />
== Using PuTTY - Usage Tricks.==<br />
* You can PASTE text from wiki into PuTTY: control-c to copy into your windowsXP clipboard. Then in Putty, simply RIGHT clicking does paste. <BR>'''This trick makes it super easy to use commands exactly from this wiki.'''<br />
* COPY text from PuTTY: Simply select the text. The text will automatically be placed into windows clipboard<br />
* Or you can capture all of your scrollback into your clipboard by right-clicking the blue header bar, and selecting Copy All To Clipboard option<br />
* There is configurable logging too, if it helps you. It's off by default, but see Step8 above. <br />
* If you make any session changes that you want to save for future connections, save again (step 9) too.<br />
<BR><BR><br />
== About this Wiki Putty page==<br />
<br />
''Contributed by ''FreeTim'' , but feel free to append to it your own tricks.''</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=Putty&diff=4807Putty2009-08-26T17:58:27Z<p>FreeTim: Added steps to connect to the EMULATOR hostname, and custom port, and testing method.</p>
<hr />
<div>== Detailed Putty Terminal Settings using SSh-2, DropBear and DynDNS.==<br />
<br />
* How to configure Putty for the Dynamic DNS to the Pre, so you can connect via Wifi and have good terminal settings.<br />
<br />
== Detailed settings for Putty: v0.60==<br />
<br />
* We assume you've [http://www.putty.org/ installed '''PuTTY''' software - if not you can get it at this link]<br />
<BR> <br />
* We assume you've already completed the [[Tutorials_Linux_DDNS_Update_Client_ez-ipupdate|'''Dynamic DNS Update Client''' install for the Pre]] from this wiki, so you don't have to constantly look up your Pre's IP address and can access it via WiFi.<br />
<BR> <br />
* If you have not, on step-7 you can use the wifi IP address from the DeviceInfo screen.<BR><BR><BR><br />
* First, in Putty we will work from bottom to top screens, doing the "session" window as last step to save settings for reuse at later time.<BR><BR><br />
<br />
<br />
== Procedure ==<br />
<BR><br />
0. Run PuTTY then;<br />
<br />
1. Expand CONNECTION in the left-hand pane by clicking on the plus (+) sign.<br />
<br />
* Seconds between keepalives 30 --- these settings required <br />
* Disable Nagle's algorithm - checked<br />
* Enable TCP keepalives - checked<br />
<br />
2. Click on (select) the word '''SSH''' and on that screen change preferred protocol version = 2. There is no need to save yet.<br />
* Comment - This is the step that stops you from sending your password in the clear - SSH2 encrypts entire session including your logon to your Pre for safety.<br />
<br />
3. (Optional) On the left-hand pane select "'''Window'''" and set "columns" =100 "Rows" =50 and "lines of Scrollback" = 600. Higher values give the advantage to scroll back more, at the cost of using more local WindowsXP swap file space. <br />
<br />
4. (Optional) On the left-hand pane under WINDOW, choose '''APPEARANCE'''. Change the font to Fixedsys, 12-point.<br />
<br />
5. On the left-hand pane under TERMINAL, choose '''KEYBOARD'''. <br />
<br />
* Set: Backspace key to 127. --- these settings required <br />
* Choose Function Keys VT100<br />
<br />
6. On the left-hand pane select '''TERMINAL''' itself.<br />
<br />
* Enable "Auto Wrap", Enable "Use Background Color", uncheck the others ("DEC", "Implicit", and "Blinking.")<br />
* For Line Discipline options choose AUTO and again AUTO. - some have reported the Force Off works for them.<br />
<br />
7. On the left-hand pane select '''SESSION'''.<br />
* For the hostname - enter your DynDNS hostname you assigned during DynDNS "yourhostname.getmyip.com" for example<br />
* For the port - choose 222<br />
<br />
8. (Optional) under Session '''LOGGING''' you can turn logging on and give some file name. <br />
* Recommended. This may help you when chatting in the IRC channel if you want to share your session text with others.<br />
<br />
9. On the left-hand pane select '''SESSION.''' In "Load" box window, give some friendly name like "Palm_Pre_Dropbear" and click SAVE button.<BR><br />
* '''This is the point where it saves all of the above settings''', which is why we do it last even though it's the 'first' screen when opening putty.<br />
<br />
10. TEST by waking up your phone so it connects to wifi, and then double click on the saved session "Palm Pre Dropbear" you should be asked your password.<br />
* If you are prompted to 'add security certificate' upon your first connection to your Pre, answer yes. <br />
* If you get the Linux prompt then success you're in! <br />
* Success on SSH-2 ! Jump for joy. Read tricks below on usage.<br />
<BR><BR><br />
<br />
== Troubleshooting suggestions:==<br />
<br />
* If it never connects, can you PING to your wifi IP or hostname? The TTL for DynDNS is 60 seconds, so after you 'wake up' your pre the IP may not be correct for one minute. Also set your Pre to the 3-minute timeout screen value so it doesn't go to sleep too quickly during testing.<br />
* If it works good at first, but then after a minute of idle it seems to be sluggish or slow, then check the keepalives setting in above section.<BR><br />
* To keep the phone active you may [http://www.webos-internals.org/wiki/Changing_the_%22Turn_off_after_X%22_time use the tweak to increase idle timer] on the screen and lock application's settings (i.e; Turn Off: 30 minutes.)<br />
<BR><BR><br />
<br />
== Connecting to EMULATOR ==<br />
Once you have done the above to connect to your physical Pre, load the same settings from above,<br />
then save as a different NAME to connect to the EMULATOR. Also, you'll change the hostname and port.<br />
* The only difference is on Step7 from above, really for the SESSION setting<br />
** Hostname: localhost (or use 127.0.0.1)<br />
** Use worked great with ssh2 on port 5522 <br />
* And on the emulator, you don't have to install dropbear, it's there by default for you already.<br />
* TEST by running the emulator, wait for the ready screen then SSH2 into it.<br />
* Logon as root, password (blank, none.)<br />
<BR><BR><br />
== Using PuTTY - Usage Tricks.==<br />
* You can PASTE text from wiki into PuTTY: control-c to copy into your windowsXP clipboard. Then in Putty, simply RIGHT clicking does paste. <BR>'''This trick makes it super easy to use commands exactly from this wiki.'''<br />
* COPY text from PuTTY: Simply select the text. The text will automatically be placed into windows clipboard<br />
* Or you can capture all of your scrollback into your clipboard by right-clicking the blue header bar, and selecting Copy All To Clipboard option<br />
* There is configurable logging too, if it helps you. It's off by default, but see Step8 above. <br />
* If you make any session changes that you want to save for future connections, save again (step 9) too.<br />
<BR><BR><br />
== About this Wiki Putty page==<br />
<br />
''Contributed by ''FreeTim'' , but feel free to append to it your own tricks.''</div>FreeTimhttp://wiki.webos-internals.org/index.php?title=User:FreeTim&diff=4694User:FreeTim2009-08-23T12:58:50Z<p>FreeTim: /* Pages */</p>
<hr />
<div>==Pages==<br />
Pages I contributed to the community are linked here. I'm not a developer I'm a systems engineer, so these won't be apps or patches, just things of interest regarding access to the underlying Linux operating system, install documents and other Systems things of interest.<br />
<br />
* [http://www.webos-internals.org/wiki/Komodo_WebOS_Add-on_Install the Komodo_WebOS_Add-on_Installpage.] A how-to-install document, how to update, and how to enable Code Intelligence. Screen shots, and verification steps included. (Templarian's Komodo WebOS Add-on is quite a time saver, many thanks to the developer, Templarian!)<BR><br />
* [http://www.webos-internals.org/wiki/putty the putty page] - how to CORRECTLY have PuTTY configured, for SSH2 into your Pre.<br />
* [http://www.webos-internals.org/wiki/bottom_bar the Bottom Bar page] which I think may be deprecated now.<br />
<br />
==About Me==<br />
* FreeTim - Well my name is Tim, I'm a computer Systems Engineer for a large company. <br />
* I'm a specialist in multiple disciplines such as SunOS, and MCSE+i, Linux, Apache, HPUX, cisco, etc.<br />
* I work near MIT, with a view of the banks of the Charles River in Boston. <br />
* I'm one of the founders of the WEBOSBOSTON community [http://www.webosboston.org We have monthly meetings.]<br />
* I ride MOTORCROSS on the weekends (one of the two days, during the season.)<br />
You'll find me in the IRC chat rooms all day, every day.<br />
<BR><BR><br />
<br />
==Things I think are Useful for me to have here==<br />
===Blocking WebOS updates===<br />
I don't want the updates to happen at some unplanned (for me) time, so here is the way to block webOS updates:<br />
<BR><BR><br />
cd /usr/bin<br />
mount -o remount,rw /<br />
chmod 664 UpdateDaemon<br />
mount -o remount,ro /<br />
<BR><BR><br />
Then, reboot (ORN+ shift +R) <br />
<BR><br />
To reverse the process use this;<br />
<BR><BR><br />
chmod 775 UpdateDaemon<br />
<BR><BR><br />
This makes it executable again as it was before, and then reboot (required.)<br />
<BR><BR><BR></div>FreeTim