06/10/2009, 05:37 AM
|
#301 (permalink)
|
|
Member
Join Date: Jun 2009
Posts: 34
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 2: |
06/10/2009, 05:49 AM
|
#304 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 226
Thanks: 8
Thanked 46 Times in 22 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, 05:57 AM
|
#307 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 226
Thanks: 8
Thanked 46 Times in 22 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, 05:59 AM
|
#308 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 6
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:
// Deduce the correct document from the element's owner. this is needed for // lightweight stage bull**** in Mojo Code:
\// Extra functions for renderMode = x... Can't put these in the obecjt to extend, it ****s up when one clals "Obejct.extned" Last edited by -wireless-; 06/10/2009 at 06:13 AM. Reason: more lols |
|
|
06/10/2009, 06:00 AM
|
#309 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 226
Thanks: 8
Thanked 46 Times in 22 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
|
|
|
06/10/2009, 06:02 AM
|
#310 (permalink) |
|
Member
Join Date: Jan 2008
Location: Los Angeles
Posts: 62
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, 06:06 AM
|
#311 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 405
Thanks: 55
Thanked 61 Times in 33 Posts
|
Quote:
|
|
|
|
06/10/2009, 06:20 AM
|
#312 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 34
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: |
06/10/2009, 06:47 AM
|
#313 (permalink) |
|
Member
Join Date: Oct 2008
Posts: 15
Thanks: 3
Thanked 5 Times in 3 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:
/usr/lib/jvm/java-1.5-palm/bin/java -version |
|
|
06/10/2009, 06:53 AM
|
#314 (permalink) |
|
Member
Join Date: Oct 2008
Posts: 15
Thanks: 3
Thanked 5 Times in 3 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...
|
|
|
| Thanked By 3: |
06/10/2009, 07:15 AM
|
#315 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
|
Quote:
![]() Cheers |
|
|
|
| Thanked By: |
06/10/2009, 07:25 AM
|
#316 (permalink) | |
|
Member
Join Date: Oct 2008
Posts: 15
Thanks: 3
Thanked 5 Times in 3 Posts
|
Quote:
Code:
passthrud diskmode.sh wifidriver |
|
|
|
| Thanked By: |
06/10/2009, 07:39 AM
|
#318 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter and read the wiki at www.webos-internals.org
Posts: 2,506
Thanks: 25
Thanked 1,895 Times in 566 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 07:48 AM. |
|
|
|
06/10/2009, 07:51 AM
|
#320 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 226
Thanks: 8
Thanked 46 Times in 22 Posts
|
Quote:
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -4. The time now is 12:01 PM.








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









