http://wiki.webos-internals.org/api.php?action=feedcontributions&user=Hochstrb&feedformat=atomWebOS Internals - User contributions [en]2024-03-29T11:41:21ZUser contributionsMediaWiki 1.35.1http://wiki.webos-internals.org/index.php?title=Torch/Flash&diff=10441Torch/Flash2010-07-06T21:18:39Z<p>Hochstrb: /* Concerns */</p>
<hr />
<div>== The Camera Flash LED - Background==<br />
<br />
This is a pretty cool device. I just did some research and concluded that Palm is using the Luxeon Flash LED after looking at available products. There is a PDF application note available [*http://www.philipslumileds.com/pdfs/DR01.PDF HERE] from the manufacturer.<br />
<br />
According to the application note, the maximum steady state you can safely run the LED at with typical thermal treatment is 150ma. The Pre's hardware will let you drive it at 200ma steady-state, and 400ma or 500ma for a quarter of a second. (flash mode) Maybe Palm did a better thermal treatment and tested the LED to be steady-state capable at 200ma? This is an assumption, so it's probably best to keep it at 150ma or below. 100ma will be completely safe.<br />
<br />
The Pre's battery contains almost 4 watt-hours of usable energy, but the battery protection system probably prevents you from using that last 1/2 watt-hour or so.<br />
<br />
The current levels the hardware makes available for steady-state (flashlight) usage are:<br />
50ma, 75ma, 100ma, 150ma, and maybe even 200ma if we limit on time.<br />
<br />
Engineering calculations applied to the various current levels result in:<br />
50ma: 20 hours of runtime, or 5% for 1 hour.<br />
75ma: 14 hours of runtime, or 7% for 1 hour.<br />
100ma: 10 hours of runtime, or 10% for 1 hour.<br />
150ma: 6 hours of runtime, or 16% for 1 hour.<br />
200ma: 4 hours of runtime, or 25% for 1 hour. (//but probably a BAD idea!//)<br />
<br />
It's also possible to make a "strobe mode" that is 250ms on every second. Would be useful for dazzling a potential attacker or spontaneous sickening fun at parties!<br />
<br />
Pretty cool stuff! <br />
<br />
== How to make your Pre a flashlight using the LED camera flash!==<br />
=== Turn the torch on===<br />
<pre><nowiki><br />
cd /sys/class/i2c-adapter/i2c-2/2-0033<br />
echo -n 1 >avin<br />
echo -n 100mA >torch_current<br />
echo -n torch >mode<br />
</nowiki></pre><br />
<br />
=== Turn the torch off===<br />
<pre><nowiki><br />
cd /sys/class/i2c-adapter/i2c-2/2-0033<br />
echo -n shutdown >mode<br />
echo -n 0mA >torch_current<br />
echo -n 0 >avin<br />
</nowiki></pre><br />
=== mode options===<br />
<pre><nowiki><br />
shutdown torch torch/flash<br />
</nowiki></pre><br />
=== torch_current options===<br />
<pre><nowiki><br />
0mA 50mA 75mA 100mA 150mA 200mA* 250/400mA 250/500mA<br />
</nowiki></pre><br />
=== Script the actions for later reuse===<br />
One for turning it on<br />
<pre><nowiki><br />
nano -wc /opt/bin/torch-on # or whatever you'd like to call it<br />
<br />
#!/bin/sh<br />
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin<br />
echo -n 100mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current<br />
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode<br />
</nowiki></pre><br />
..and one for turning it off<br />
<pre><nowiki><br />
nano -wc /opt/bin/torch-off # or whatever you'd like to call it<br />
<br />
#!/bin/sh<br />
echo -n shutdown >/sys/class/i2c-adapter/i2c-2/2-0033/mode<br />
echo -n 0mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current<br />
echo -n 0 >/sys/class/i2c-adapter/i2c-2/2-0033/avin<br />
</nowiki></pre><br />
<br />
Here's a shell script that will accept a parameter to turn on or off the light. <br />
<br />
<pre><nowiki><br />
cat > /opt/bin/flashlight.sh<br />
#/bin/sh<br />
# Written by firestorm_v1<br />
case "$1" in<br />
on)<br />
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin<br />
echo -n 50mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current<br />
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode<br />
echo Flashlight is on<br />
;;<br />
<br />
off)<br />
echo -n shutdown >/sys/class/i2c-adapter/i2c-2/2-0033/mode<br />
echo -n 0mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current<br />
echo -n 0 >/sys/class/i2c-adapter/i2c-2/2-0033/avin<br />
echo Flashlight is off<br />
;;<br />
*)<br />
echo flashlight \(on\|off\|help\)<br />
echo Turns on or off the "Flash"light on the Pre<br />
;;<br />
esac<br />
# Ctrl-D<br />
</nowiki></pre><br />
<br />
Usage:<br />
$ flashlight on - Turns the flashlight on<br />
$ flashlight off - Turns the flashlight off<br />
$ flashlight help (or any other parameter not "on" or "off") - Displays flashlight usage.<br />
<br />
In this implementation, I wanted to play it safe so I only have mine set to 50mA, but you can change the line to whatever you want. I would suggest keeping inline with the original warnings about running the flashlight too hot.<br />
<br />
== Concerns==<br />
We don't know the impact both electrically and thermally of running the torch over 100mA for extended periods of time, be careful or you may damage your Pre.<br />
<br />
These instructions only apply to the Pre. Does anyone know how to interface with the torch on a Pixi?<br />
<br />
== Contributors==<br />
Thanks to scm6079 from Precentral for finding the device nodes, rennerik and dreadchicken for lighting it up and this page, Robi for the scripts to call directly, and pEEf for doing the LED research and runtime calculations.</div>Hochstrbhttp://wiki.webos-internals.org/index.php?title=Development_%26_Tweak_Ideas&diff=10385Development & Tweak Ideas2010-06-25T13:45:21Z<p>Hochstrb: /* Development Ideas */</p>
<hr />
<div>{{template:patch}}<br />
Here are some ideas for tweaks which have not been implemented yet (to my knowledge):<br />
<br />
If you decide to start working one of these, '''please leave a note''' under the item as a second-level bullet. If you don't have wiki access, find someone in the IRC channel who does. This will help encourage collaborative discovery, and reduce duplicate effort. We also recommend starting a new wiki page where you '''take notes about any discoveries''' you've made related to the tweak idea. <br />
<br />
Once you've figured it out, it would be appreciated if you make a write-up for the Stock App Mods page. If you don't want to do a write up, at least try to share your findings with someone who can subsequently document them for you. At the very least, jot a few notes onto a wiki page, and tag it with "cleanup".<br />
<br />
=Patch Ideas=<br />
* Create a patch for showing day events in month view on calendar <i>--isn't that the "All-Day Events in Month View" patch in Preware?</i><br />
* Restore "Ignoring calendar alarm repeats the alarm in 5 minutes" to WebOS 1.10, the way it was in WebOS 1.04 and Palm<br />
* Enable simultaneous Voice and Data access. <i>This is a limitation of current CDMA radios (ie all Sprint, Verizon, Alltel, etc.. phones affected)</i><br />
* Multiple attachments per Message<br />
* Add date (& other info?) to time display when Pre is on Touchstone<br />
* Enable landscape clock with bigger numbers while docked on Touchstone<br />
* Create a minute beep or auto hang up calls for those with free voice minute plans.<br />
* Mod the day number scroller in Date Picker widget to add a day-of-week letter/icon as a superscript to the day number<br />
<br />
=Tweak Ideas=<br />
* Device automatically goes into USB Drive Mode without tapping on the option (For bad touchscreen issues). Another option is to do an Orange + Symbol + key sequence for that.<br />
* Make bootup faster (parallel?)<br />
** See [http://ubuntuforums.org/showthread.php?t=727224 Upstart on Ubuntu info]<br />
* Fix the horrendous white balance issues with the camera (especially with the flash on)<br />
** See http://www.theregister.co.uk/2009/06/25/cameraphone_faceoff/ for a post showing the problems.<br />
* Make the Pre vibrate differently based on caller ID<br />
** See http://www.azarask.in/blog/post/know-whos-calling-tactile-design/<br />
*Enable image saving/save to wallpaper from the browse.<br />
*Enable opening PDF/doc whatever from Web browser.<br />
** //Done a slight bit of testing with this. It's very easy to get the browser to pass along a link to the application (tested with PDF). <code>/usr/palm/command-resource-handlers.json</code> contains all of the MIME types and you just have to change <code>streamable</code> to true. Of course, the application itself has an issue with this and errors out.//<br />
* Enable uploads in a browser (dialog box with browse, etc.).<br />
* Enable track skipping without turning the device on.<br />
** [[Hardware Key Track Skip]]<br />
** [[track-skipping-using-volume-up-down-buttons|Skip tracks using volume up/down buttons]] ~ FXDemolisher<br />
* Quick copy of locked calendar events to the local calendar so that they can be edited.<br />
* Make the Pre vibrate longer.<br />
** tictac is working on this [[make-pre-vibrate-longer | here]].<br />
* Allow other messaging protocols using libpurple plugins (Facebook, Jabber, etc.).<br />
* Trigger camera remotely.<br />
** Wonder420 is working on this [[camera-remote-view | here]].<br />
* Back up contact link information. (This is currently not stored in the Palm Profile, so it will be lost on a device wipe.) -- [[Contact Link Backup]]<br />
* Landscape virtual keyboard in the Web app.<br />
* Find better touch scroll threshold numbers so the action is not as jerky/fuzzy while moving. 1.0.3 update seems to have improved that a bit.. //~ Robi//<br />
* Look into [http://www.lesswatts.org/projects/powertop/ PowerTop] to potentially save even more power and extend batt life. //~ Robi//<br />
* Allow universal search to search through email text as well<br />
* Multiple card rows in the small card view<br />
* Add a "scrubber" to the music app to control song position<br />
* Remove Amazon section from music app to see if it loads faster without (Music app loads instantly but then you have to wait 30 seconds or so before you can do anything until the Amazon section shows up).<br />
** Unfortunately it seems that it's the thumbnail creation for the few albums shown in shuffle all that causes the delay- removing the Amazon entry doesn't seem to change the speed at all.<br />
* Change the sorting of the music app so that A, An, The in band names and album names are ignored and it sorts alphabetically using the next word [[Patch MediaPlayer Ignore 'A', 'An', and 'The' In Artist and Album names]] ~ Keegan99<br />
* In the camera app, use the volume up/down buttons to snap a picture.<br />
** [[Patch Camera Using Volume Buttons to Take a Picture|Take a picture using volume buttons]] ~ FXDemolisher<br />
* When camera app loads, also load photos app (for quicker review). Even better, let user choose to "keep" or "delete" a picture, and keep the photo on the screen until a choice is made.<br />
* Stop the alert noise from obnoxiously playing every single time you put the Pre back on the Touchstone. <br />
** [[remove-charging-event-alerts]]<br />
* Set up the center button to wake the Pre up, like an iPhone's home button wakes up the iPhone.<br />
* Disable the slide to unlock screen.<br />
* Allow copy to work from google maps, so you can get a url of your current location to paste in chats/sms/mms //~ hemna//<br />
* Light up Navi lights when a notification is received<br />
* Setting to disable ring for Unknown Number (May be a simple addition to the patch "Call Block/Rejecter" by Elryon)<br />
* When the clock's alarm goes off, it only turns on the screen for the customary ~2 seconds before shutting the screen off. Change this to keep the screen on as long as the alarm is playing, then go to sleep when the "snooze" button is pressed.<br />
* Make "all-day" appointments show up in calendar month view (currently invisible)<br />
** [[Patch Calendar Show All-Day Events in Month View]] //~ Sloloem// <br />
* Allow the phone app to run in the background, without a visible card, (to speed up ringtone playing on incoming phone calls).<br />
* Disable the end call sound and the low battery sound.<br />
* Add the ability to snooze a calendar reminder for a certain amount of time that user can choose.<br />
** [[Patch Clock Changing Alarm Button Order and Snooze Duration]] //~ HebrewzHammer//<br />
* Add additional gstreamer plugins into the gstreamer plugin directory; should allow adding support for additional media formats pretty easily.<br />
* Make Contacts app and Universal Search search ALL contact fields. Similar to Google Contacts.<br />
* Provide for two different brightness levels, one (brighter) for while charging, with another for when the Pre is on battery // Proposed on irc by navinag //<br />
* Use [[Ambient Light Sensor]] to dynamically adjust screen brightness.<br />
* Add alternate Date Picker widget that has month-view like Palm OS (or some other alternative that lets user see target date in context of day-in-week or week-in-month)<br />
<br />
=Development Ideas=<br />
Get [[vnc | VNC]] input working with a mouse and keyboard driver. //~ ultraBlack//<br />
<br />
Get [http://synergy2.sourceforge.net/ Synergy] working with a mouse and keyboard driver. :O Why not? :P //~ ultraBlack//<br />
<br />
Develop a power calculator app for the Pre, with DIGIT-GROUPING, more functions, and possibly even a graphing mode. //~ ultraBlack//<br />
<br />
Put [http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0.11&os=linux&lang=en-US Firefox] on it. Definitely not practical. Maybe [http://portableapps.com/node/9364 Portable Firefox?] //~ ultraBlack//<br />
* Consider [http://www.opera.com/mobile/ Opera Mobile] or [http://www.opera.com/mini/ Opera Mini] as more worthwhile alternatives. //~ ultraBlack//<br />
* Opera Mobile can successfully upload files to web servers. (re: idea to upload via browser) //~ oc80z//<br />
<br />
Work out a good backup solution, perhaps mrb or netapp like .snapshots, so updates/upgrades are easier. //~ Robi//<br />
<br />
Look into setting up [[ad-hoc networking | ad-hoc networking]] for file sharing over WiFi and BitTorrent. //~ Robi//<br />
<br />
Put [http://www.apache.org/ Apache] on it. //~ ultraBlack// Done. http://predev.wikidot.com/apache //~nebula//<br />
* Consider [http://www.lighttpd.net/ Lighttpd] or [http://www.cherokee-project.com/ Cherokee] as more worthwhile alternatives. //~ Robi//<br />
* For limited needs thttpd + php as shown in [[ajaxphpterm]] seems to work fine with minimal resource usage. //~ djbclark//<br />
* Sprint blocks connections to the Pre on port 80, but port 2222 and 8080 has been tested and work //~ smashman// 8000 also works //~nebula//<br />
<br />
Make LunaSysMgr run without exclusive access to I/O, so it can be run alongside [[DirectFB]] applications (and since directfb can run GTK, QT, and X11 applications directly, also those). Some ideas on how to do this are on the [[DFBTerm DirectFB Terminal Emulator]] page's "Virtual Keyboard-Video-Monitor (KVM) Switch" section, however if LunaSysMgr source code becomes available the best method would probably be to just change it to run against directfb instead of using /dev/fb* and /dev/input/* directly. //~ djbclark//<br />
<br />
Confirm that the device is free of Digital Restrictions Management (DRM) by installing Linux compiled from source. There is a /proc/config.gz, and palm has released the patches they used at http://opensource.palm.com/packages.html (search for "linux kernel"). This may also be useful as linux patches may be needed for some of the other ideas on this page. //~ djbclark// <br />
* Done by //~ rwhitby// and //~ tonycpsu// at [[Custom Kernels]]<br />
<br />
Possibly easier accessing linux procedure - create an .ipk (ipkg) file that does the accessed linux setup; have user execute either by emailing them the file (it has been confirmed that you can install ipkg files via the email client), and/or by having them temporarily manually set their DNS to a DNS server that would direct the app store somewhere else. //~ djbclark//<br />
<br />
Make directfb (via tslib - http://tslib.berlios.de/ - or gpm - http://unix.schottelius.org/gpm/ ) work with the palm pre's /dev/touchscreen (new driver CONFIG_TOUCHSCREEN_CY8MRLN=y (cypress touchscreen) included in http://palm.cdnetworks.net/opensource/1.0.1/linux-2.6.24-patch.gz) - see [[vala-terminal]] for more details. //~ djbclark//<br />
<br />
Add more Bluetooth profiles/support such as HID so that BT keyboards can be used.<br />
<br />
Enable printing - my testing of CUPS install failed on the 'insmod' file missing, could not installed printer driver, CUPS-DOC worked and the web interface was functioning well on localhost from the Pre browser. //~ dld121//<br />
<br />
Implementing a learning autocorrect system. Perhaps just a process that monitors keyboard input and removes //word// from the dictionary when //word//<space><backspace>//nextword// is found.<br />
<br />
Create or port a Usenet news reader under WebOS<br />
<br />
Figure out how to add custom gestures to the screen/gesture area. (I'd really like to tap around the center button to emulate a 5-way pad.)<br />
<br />
RSS Reader (Importable Feeds, Subscription to podcasts) //~ oc80z//<br />
<br />
Get [http://www.freesmartphone.org/ (FSO) ]working on the Palm Pre as an alternative platform to the nonfree [http://www.freesmartphone.org/index.php/HardwareInteresting_Targets LunaSysMgr GUI] - http://laforge.gnumonks.org/weblog/2009/06/20/20090620-palm_pre_wanted //~ djbclark// [http://www.freesmartphone.org/index.php/Palm_Pre Links and community organizing.]<br />
<br />
TASK application - add categories column A-B-C like, and priority column 1-2-3-4-5, like the Treo755p Task application. Make them sortable by clicking on column header. Additional development: maybe some way to sync the Tasks with desktop or web based interface<br />
<br />
PGP support using optware gnupg: GUI for entering PGP passphrase, registration hooks for gpg/pgp files & resending to app after decrypting, and create GUI for keyring management<br />
<br />
Subversion support using optware svn: GUI for repo browsing/checkout, performing checkins, etc.</div>Hochstrbhttp://wiki.webos-internals.org/index.php?title=Development_%26_Tweak_Ideas&diff=10384Development & Tweak Ideas2010-06-25T12:49:59Z<p>Hochstrb: /* Development Ideas */</p>
<hr />
<div>{{template:patch}}<br />
Here are some ideas for tweaks which have not been implemented yet (to my knowledge):<br />
<br />
If you decide to start working one of these, '''please leave a note''' under the item as a second-level bullet. If you don't have wiki access, find someone in the IRC channel who does. This will help encourage collaborative discovery, and reduce duplicate effort. We also recommend starting a new wiki page where you '''take notes about any discoveries''' you've made related to the tweak idea. <br />
<br />
Once you've figured it out, it would be appreciated if you make a write-up for the Stock App Mods page. If you don't want to do a write up, at least try to share your findings with someone who can subsequently document them for you. At the very least, jot a few notes onto a wiki page, and tag it with "cleanup".<br />
<br />
=Patch Ideas=<br />
* Create a patch for showing day events in month view on calendar <i>--isn't that the "All-Day Events in Month View" patch in Preware?</i><br />
* Restore "Ignoring calendar alarm repeats the alarm in 5 minutes" to WebOS 1.10, the way it was in WebOS 1.04 and Palm<br />
* Enable simultaneous Voice and Data access. <i>This is a limitation of current CDMA radios (ie all Sprint, Verizon, Alltel, etc.. phones affected)</i><br />
* Multiple attachments per Message<br />
* Add date (& other info?) to time display when Pre is on Touchstone<br />
* Enable landscape clock with bigger numbers while docked on Touchstone<br />
* Create a minute beep or auto hang up calls for those with free voice minute plans.<br />
* Mod the day number scroller in Date Picker widget to add a day-of-week letter/icon as a superscript to the day number<br />
<br />
=Tweak Ideas=<br />
* Device automatically goes into USB Drive Mode without tapping on the option (For bad touchscreen issues). Another option is to do an Orange + Symbol + key sequence for that.<br />
* Make bootup faster (parallel?)<br />
** See [http://ubuntuforums.org/showthread.php?t=727224 Upstart on Ubuntu info]<br />
* Fix the horrendous white balance issues with the camera (especially with the flash on)<br />
** See http://www.theregister.co.uk/2009/06/25/cameraphone_faceoff/ for a post showing the problems.<br />
* Make the Pre vibrate differently based on caller ID<br />
** See http://www.azarask.in/blog/post/know-whos-calling-tactile-design/<br />
*Enable image saving/save to wallpaper from the browse.<br />
*Enable opening PDF/doc whatever from Web browser.<br />
** //Done a slight bit of testing with this. It's very easy to get the browser to pass along a link to the application (tested with PDF). <code>/usr/palm/command-resource-handlers.json</code> contains all of the MIME types and you just have to change <code>streamable</code> to true. Of course, the application itself has an issue with this and errors out.//<br />
* Enable uploads in a browser (dialog box with browse, etc.).<br />
* Enable track skipping without turning the device on.<br />
** [[Hardware Key Track Skip]]<br />
** [[track-skipping-using-volume-up-down-buttons|Skip tracks using volume up/down buttons]] ~ FXDemolisher<br />
* Quick copy of locked calendar events to the local calendar so that they can be edited.<br />
* Make the Pre vibrate longer.<br />
** tictac is working on this [[make-pre-vibrate-longer | here]].<br />
* Allow other messaging protocols using libpurple plugins (Facebook, Jabber, etc.).<br />
* Trigger camera remotely.<br />
** Wonder420 is working on this [[camera-remote-view | here]].<br />
* Back up contact link information. (This is currently not stored in the Palm Profile, so it will be lost on a device wipe.) -- [[Contact Link Backup]]<br />
* Landscape virtual keyboard in the Web app.<br />
* Find better touch scroll threshold numbers so the action is not as jerky/fuzzy while moving. 1.0.3 update seems to have improved that a bit.. //~ Robi//<br />
* Look into [http://www.lesswatts.org/projects/powertop/ PowerTop] to potentially save even more power and extend batt life. //~ Robi//<br />
* Allow universal search to search through email text as well<br />
* Multiple card rows in the small card view<br />
* Add a "scrubber" to the music app to control song position<br />
* Remove Amazon section from music app to see if it loads faster without (Music app loads instantly but then you have to wait 30 seconds or so before you can do anything until the Amazon section shows up).<br />
** Unfortunately it seems that it's the thumbnail creation for the few albums shown in shuffle all that causes the delay- removing the Amazon entry doesn't seem to change the speed at all.<br />
* Change the sorting of the music app so that A, An, The in band names and album names are ignored and it sorts alphabetically using the next word [[Patch MediaPlayer Ignore 'A', 'An', and 'The' In Artist and Album names]] ~ Keegan99<br />
* In the camera app, use the volume up/down buttons to snap a picture.<br />
** [[Patch Camera Using Volume Buttons to Take a Picture|Take a picture using volume buttons]] ~ FXDemolisher<br />
* When camera app loads, also load photos app (for quicker review). Even better, let user choose to "keep" or "delete" a picture, and keep the photo on the screen until a choice is made.<br />
* Stop the alert noise from obnoxiously playing every single time you put the Pre back on the Touchstone. <br />
** [[remove-charging-event-alerts]]<br />
* Set up the center button to wake the Pre up, like an iPhone's home button wakes up the iPhone.<br />
* Disable the slide to unlock screen.<br />
* Allow copy to work from google maps, so you can get a url of your current location to paste in chats/sms/mms //~ hemna//<br />
* Light up Navi lights when a notification is received<br />
* Setting to disable ring for Unknown Number (May be a simple addition to the patch "Call Block/Rejecter" by Elryon)<br />
* When the clock's alarm goes off, it only turns on the screen for the customary ~2 seconds before shutting the screen off. Change this to keep the screen on as long as the alarm is playing, then go to sleep when the "snooze" button is pressed.<br />
* Make "all-day" appointments show up in calendar month view (currently invisible)<br />
** [[Patch Calendar Show All-Day Events in Month View]] //~ Sloloem// <br />
* Allow the phone app to run in the background, without a visible card, (to speed up ringtone playing on incoming phone calls).<br />
* Disable the end call sound and the low battery sound.<br />
* Add the ability to snooze a calendar reminder for a certain amount of time that user can choose.<br />
** [[Patch Clock Changing Alarm Button Order and Snooze Duration]] //~ HebrewzHammer//<br />
* Add additional gstreamer plugins into the gstreamer plugin directory; should allow adding support for additional media formats pretty easily.<br />
* Make Contacts app and Universal Search search ALL contact fields. Similar to Google Contacts.<br />
* Provide for two different brightness levels, one (brighter) for while charging, with another for when the Pre is on battery // Proposed on irc by navinag //<br />
* Use [[Ambient Light Sensor]] to dynamically adjust screen brightness.<br />
* Add alternate Date Picker widget that has month-view like Palm OS (or some other alternative that lets user see target date in context of day-in-week or week-in-month)<br />
<br />
=Development Ideas=<br />
Get [[vnc | VNC]] input working with a mouse and keyboard driver. //~ ultraBlack//<br />
<br />
Get [http://synergy2.sourceforge.net/ Synergy] working with a mouse and keyboard driver. :O Why not? :P //~ ultraBlack//<br />
<br />
Develop a power calculator app for the Pre, with DIGIT-GROUPING, more functions, and possibly even a graphing mode. //~ ultraBlack//<br />
<br />
Put [http://www.mozilla.com/en-US/products/download.html?product=firefox-3.0.11&os=linux&lang=en-US Firefox] on it. Definitely not practical. Maybe [http://portableapps.com/node/9364 Portable Firefox?] //~ ultraBlack//<br />
* Consider [http://www.opera.com/mobile/ Opera Mobile] or [http://www.opera.com/mini/ Opera Mini] as more worthwhile alternatives. //~ ultraBlack//<br />
* Opera Mobile can successfully upload files to web servers. (re: idea to upload via browser) //~ oc80z//<br />
<br />
Work out a good backup solution, perhaps mrb or netapp like .snapshots, so updates/upgrades are easier. //~ Robi//<br />
<br />
Look into setting up [[ad-hoc networking | ad-hoc networking]] for file sharing over WiFi and BitTorrent. //~ Robi//<br />
<br />
Put [http://www.apache.org/ Apache] on it. //~ ultraBlack// Done. http://predev.wikidot.com/apache //~nebula//<br />
* Consider [http://www.lighttpd.net/ Lighttpd] or [http://www.cherokee-project.com/ Cherokee] as more worthwhile alternatives. //~ Robi//<br />
* For limited needs thttpd + php as shown in [[ajaxphpterm]] seems to work fine with minimal resource usage. //~ djbclark//<br />
* Sprint blocks connections to the Pre on port 80, but port 2222 and 8080 has been tested and work //~ smashman// 8000 also works //~nebula//<br />
<br />
Make LunaSysMgr run without exclusive access to I/O, so it can be run alongside [[DirectFB]] applications (and since directfb can run GTK, QT, and X11 applications directly, also those). Some ideas on how to do this are on the [[DFBTerm DirectFB Terminal Emulator]] page's "Virtual Keyboard-Video-Monitor (KVM) Switch" section, however if LunaSysMgr source code becomes available the best method would probably be to just change it to run against directfb instead of using /dev/fb* and /dev/input/* directly. //~ djbclark//<br />
<br />
Confirm that the device is free of Digital Restrictions Management (DRM) by installing Linux compiled from source. There is a /proc/config.gz, and palm has released the patches they used at http://opensource.palm.com/packages.html (search for "linux kernel"). This may also be useful as linux patches may be needed for some of the other ideas on this page. //~ djbclark// <br />
* Done by //~ rwhitby// and //~ tonycpsu// at [[Custom Kernels]]<br />
<br />
Possibly easier accessing linux procedure - create an .ipk (ipkg) file that does the accessed linux setup; have user execute either by emailing them the file (it has been confirmed that you can install ipkg files via the email client), and/or by having them temporarily manually set their DNS to a DNS server that would direct the app store somewhere else. //~ djbclark//<br />
<br />
Make directfb (via tslib - http://tslib.berlios.de/ - or gpm - http://unix.schottelius.org/gpm/ ) work with the palm pre's /dev/touchscreen (new driver CONFIG_TOUCHSCREEN_CY8MRLN=y (cypress touchscreen) included in http://palm.cdnetworks.net/opensource/1.0.1/linux-2.6.24-patch.gz) - see [[vala-terminal]] for more details. //~ djbclark//<br />
<br />
Add more Bluetooth profiles/support such as HID so that BT keyboards can be used.<br />
<br />
Enable printing - my testing of CUPS install failed on the 'insmod' file missing, could not installed printer driver, CUPS-DOC worked and the web interface was functioning well on localhost from the Pre browser. //~ dld121//<br />
<br />
Implementing a learning autocorrect system. Perhaps just a process that monitors keyboard input and removes //word// from the dictionary when //word//<space><backspace>//nextword// is found.<br />
<br />
Create or port a Usenet news reader under WebOS<br />
<br />
Figure out how to add custom gestures to the screen/gesture area. (I'd really like to tap around the center button to emulate a 5-way pad.)<br />
<br />
RSS Reader (Importable Feeds, Subscription to podcasts) //~ oc80z//<br />
<br />
Get [http://www.freesmartphone.org/ (FSO) ]working on the Palm Pre as an alternative platform to the nonfree [http://www.freesmartphone.org/index.php/HardwareInteresting_Targets LunaSysMgr GUI] - http://laforge.gnumonks.org/weblog/2009/06/20/20090620-palm_pre_wanted //~ djbclark// [http://www.freesmartphone.org/index.php/Palm_Pre Links and community organizing.]<br />
<br />
TASK application - add categories column A-B-C like, and priority column 1-2-3-4-5, like the Treo755p Task application. Make them sortable by clicking on column header. Additional development: maybe some way to sync the Tasks with desktop or web based interface<br />
<br />
Create a GnuPG package, GUI for entering passphrase, registration hooks for gpg/pgp files & resending to app after decrypting, and create GUI for keyring management<br />
<br />
Port subversion, GUI for repo browsing</div>Hochstrb