Thread: PRS-500 Did I Brick It? OMG!
View Single Post
Old 08-14-2007, 12:28 PM   #8
diabloNL
Gadget ForceŽ
diabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with othersdiabloNL plays well with others
 
diabloNL's Avatar
 
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
I'm afraid the USB doesn't initializes because you replaced applicationstart.xml with main.xml. But maybe Igorsk can help in this. Or maybe kovidgoyal has any idea because he reversed engineered the USB protocol.

The code that seems to do this in applicationstart.xml is:

Code:
<code>
		<function id="initialized">
			USBDispatcher.doRegister(this.getWindow())
			this.getDevice().doProcessed(100);
			this.getDevice().enableBlueLED(true);
		</function>
		<function id="terminating">
			this.getDevice().resetOrientation();
			this.getDevice().doProcessing(100);
			USBDispatcher.doUnregister()
		</function>
	</code>
Did you try the "ten times" reset method that I posted? Maybe it will initialize the USB outside of the appplicationstart.xml. It is meant to recover from a corrupt firmware so who knows.

Last edited by diabloNL; 08-14-2007 at 12:32 PM.
diabloNL is offline   Reply With Quote