06/10/2009, 04:37 AM
|
#301 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 34
Likes: 0
Thanks: 0
Thanked 69 Times in 15 Posts
|
oh damn... this comment is too good not to post:
// On the offchance that the user hits the 'minimize' // before we finished capture ... slimy ******* users. Mr. Rik Sagar has a potty mouth... |
|
Thanked by
-wireless-, fourply
|
06/10/2009, 04:49 AM
|
#304 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts
|
Is anyone familiar with ipkg? I wonder where it pulls the locations from. If it was like apt on debian and we could just edit a sources file and add a custom sources that would be awesome for installing custom software and additional user-made packages without using the app catalog.
People who have done Zaurus hacking would probably be pretty familiar with a lot of this. Oh and check out the contents of /var/usr/palm/applications/net.likeme/doc/command-history-likeme-mobile-match-staging.txt Good thing they password protected their svn repository cause the URL and username are in that file. Probably should have deleted that before making the package. |
|
06/10/2009, 04:57 AM
|
#307 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts
|
shortcovers is using some kind of obfuscation script:
ObfuscateJS Javascript Obfuscator 0.3.6 Latest updates on: ObfuscateJS - A Free Javascript Obfuscator I bet more devs will start doing that, or use online services that require a login to access data so they have more control. |
|
06/10/2009, 04:59 AM
|
#308 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post
|
Here is a bit of lol worthy reading.
Also if you want more less vulgar reading, do a search on the FIXME's instead of the TODO's. Lots of the FIXME's end up being HACK's haha. [CODE] /** * @private * Describe Graphwalker * * Treats an object as a 'graph' and breaks down its properties into nodes. * * Implemented using a *******ized Euler-tour-style tree traversal. Every node is 'entered' * and 'exited' once with the left value corresponding to entering, and right value to exiting. * A node is entered before and exited after its children have entered/exited. This allows * the graph structure to be stored in a flattened form. * * Supports self-loops/backpointers, and cycles by replacing them with a dud reference node * using the original's left reference number. * * Yay for seemingly useless academic algorithms. * */ [/code] [code] // Deduce the correct document from the element's owner. this is needed for // lightweight stage bull**** in Mojo [/code] [code]\// Extra functions for renderMode = x... Can't put these in the obecjt to extend, it ****s up when one clals "Obejct.extned" [/code] Cheers Last edited by -wireless-; 06/10/2009 at 05:13 AM. Reason: more lols |
|
06/10/2009, 05:00 AM
|
#309 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts
|
I wonder if modifying any of these would change the volume of the speaker:
[code] root@castle:/var/gadget# cat /etc/audio/phone_back_speaker.txt # Modified: 090225 by Ron Horowitz # Revised volume steps # modified: 090206 by Ron Horowitz # comments: Tx gain changes for QC EEC begin phone_back_speaker # enable RXR2, VRX, TXL2 # Changeed VRXPGA, RXR1 setreg 0x02 0x94 setreg 0x04 0x01 setreg 0x05 0x11 setreg 0x06 0x00 setreg 0x07 0x08 setreg 0x08 0x00 # mix VRX with RXR2 setreg 0x09 0x20 # TXL2=0dB setreg 0x0c 0x00 setreg 0x0e 0x01 setreg 0x0f 0x61 # RXR1=0dB setreg 0x12 0x3F # VRXPGA=+6dB setreg 0x14 0x2b setreg 0x15 0x00 # VRX2ARXPGA=0dB setreg 0x16 0x19 setreg 0x17 0x04 # RXR1=+12dB setreg 0x1c 0x03 setreg 0x1e 0x00 setreg 0x21 0x00 setreg 0x25 0x00 setreg 0x26 0x00 setreg 0x2a 0x20 setreg 0x2a 0x30 # h-bridge input = RXR2 setreg 0x2a 0x3e setreg 0x3f 0x00 # mix SDRR2 and SDRL2 into R2 setreg 0x43 0x10 # ANAMIC_GAIN=+6dB setreg 0x48 0x01 end begin phone_back_speaker_mute setreg 0x05 0x00 end begin phone_back_speaker_unmute setreg 0x05 0x11 end begin phone_back_speaker_volume_0 # FS-22dB setreg 0x14 0x15 end begin phone_back_speaker_volume_1 # FS-20dB setreg 0x14 0x17 end begin phone_back_speaker_volume_2 # FS-18dB setreg 0x14 0x19 end begin phone_back_speaker_volume_3 # FS-16dB setreg 0x14 0x1b end begin phone_back_speaker_volume_4 # FS-14dB setreg 0x14 0x1d end begin phone_back_speaker_volume_5 # FS-12dB setreg 0x14 0x1f end begin phone_back_speaker_volume_6 # FS-9dB setreg 0x14 0x22 end begin phone_back_speaker_volume_7 # FS -6dB setreg 0x14 0x25 end begin phone_back_speaker_volume_8 # FS -3dB setreg 0x14 0x28 end begin phone_back_speaker_volume_9 # 0dB (full scale, or "FS") setreg 0x14 0x2b end [/code] |
|
06/10/2009, 05:02 AM
|
#310 (permalink) |
|
Member
![]() Join Date: Jan 2008
Location: Los Angeles
Posts: 64
Likes: 0
Thanks: 2
Thanked 18 Times in 7 Posts
|
not to trump the previous wiki created, but I ended up creating a dedicated wiki site for WebOS if anyone is interested. I'll do my best to keep it updated. If anyone is interested in helping admin, and moderate I'd be happy to get the help. site is at http://www.WebOSwiki.com but .net, .org and .info all work.
|
|
06/10/2009, 05:06 AM
|
#311 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Location: London, UK
Posts: 456
Likes: 94
Thanks: 152
Thanked 149 Times in 109 Posts
|
Quote:
|
|
|
06/10/2009, 05:20 AM
|
#312 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 34
Likes: 0
Thanks: 0
Thanked 69 Times in 15 Posts
|
Well - I need to get to sleep so I can wake up and code at my real job in the morning.
Wait ... it is morning. Oh, well. I did find some more on the camera flash for those interested. There is a daemon for the camera named camd that runs when the camera application is started. It is linked to the hardware via the linux i2c subsystems. The device can be queried for the current status as so:root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# cat torch_current 0mA* 50mA 75mA 100mA 150mA 200mA 250/400mA 250/500mA root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# cat flash_current 150mA 200mA 300mA 400mA 500mA* 700mA 900mA 1200mA There is a "file" called mode that recognizes the command "shutdown" - and power is terminated by echoing a 0 into the avin file. root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# echo -n shutdown > mode Anyways... always fun... I can't wait to see what else gets done by a programmer defined "morning." _Scott |
|
Thanked By:
fourply
|
06/10/2009, 05:47 AM
|
#313 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts
|
Some info on the Java Virtual Machine that is being used on the Pre.
It's Apache Harmony they are using. See harmony.apache.org. It supports version 1.5 of Java SE. The virtual machine is being called OasisVM by Palm: "usage: OasisVM [options] [classfile [args]]" Can anyone run the foolowing command to get some more version info: [CODE]java -version[/CODE] or [CODE]/usr/lib/jvm/java-1.5-palm/bin/java -version[/CODE] |
|
06/10/2009, 05:53 AM
|
#314 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts
|
So a third WebOS device is coming? Saw the name zepfloyd coming by already, but found it in a different file (diskmode.sh), together with the castle (pre) and pixie (eos):
[CODE]#!/bin/sh # castle SYSDIR=/sys/devices/platform/musb_hdrc.0/gadget/gadget-lun0 if [ ! -d $SYSDIR ]; then SYSDIR=/sys/devices/platform/msm_hsusb/gadget/gadget-lun0 # pixie if [ ! -d $SYSDIR ]; then # zepfloyd SYSDIR=/sys/devices/platform/omap_udc/gadget/gadget-lun0 if [ ! -d $SYSDIR ]; then echo "Error: gadget-lun0 directory not found" exit 1 fi fi fi ...snipped...[/CODE] |
|
|
06/10/2009, 06:15 AM
|
#315 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post
|
Quote:
![]() Cheers |
|
|
Thanked By:
mer1
|
06/10/2009, 06:25 AM
|
#316 (permalink) | |
|
Member
![]() ![]() Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts
|
Quote:
[CODE]passthrud diskmode.sh wifidriver[/CODE] When opening wifidriver, you'll see the castle and the zepfloyd named in the first couple of lines. The pixie is not there, but we already knew it would not have WIFI... It all fits perfectly. :-) |
|
|
Thanked By:
mer1
|
06/10/2009, 06:32 AM
|
#317 (permalink) |
|
Member
![]() Join Date: Oct 2006
Posts: 29
Likes: 0
Thanks: 1
Thanked 11 Times in 4 Posts
|
Just read all 16 pages of this thread in one sitting and I want to congratulate everyone on all their hard work. You all deserve a huge round of applause.
-Stefan |
|
Thanked By:
mer1
|
06/10/2009, 06:39 AM
|
#318 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,110
Likes: 464
Thanks: 90
Thanked 8,437 Times in 2,768 Posts
|
Quote:
We're working on doing a loopback mount from the big vfat partition before writing up a procedure for this - we don't want people filling up / by running ipkg install emacs22 ... Anyone with a rooted Pre who wants to help, just join #webos-internals on Freenode and let yourself be known :-) -- Rod Last edited by rwhitby; 06/10/2009 at 06:48 AM. |
|
|
06/10/2009, 06:43 AM
|
#319 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post
|
Found some info about the itunes:
[code] nova-cust-image-castle.rootfs\usr\share\storaged [/code] SysInfoExtended couldn't possibly be all the code to sync to itunes could it? Cheers |
|
06/10/2009, 06:51 AM
|
#320 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts
|
Quote:
|
|
|
![]() |
| webOS Nation Forums OK ROM comes |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|













Wait ... it is morning. Oh, well. I did find some more on the camera flash for those interested. There is a daemon for the camera named camd that runs when the camera application is started. It is linked to the hardware via the linux i2c subsystems. The device can be queried for the current status as so:

Linear Mode










