| 
			
			 | 
		#61 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442 
				Karma: 300001 
				Join Date: Sep 2006 
				Location: Belgium 
				
				
				Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			How do you link it?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#62 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 10 
				Join Date: Oct 2006 
				
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 How to produce export lib: create a fake dll in VS/C++ with the same name and with the same set of exported functions (at least the prototypes (names and parameters) and ordinals of the used exports should be the same), the build process will give you the export lib.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#63 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442 
				Karma: 300001 
				Join Date: Sep 2006 
				Location: Belgium 
				
				
				Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			There's a simpler way: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) run "dumpbin /exports ebookusb.dll /out:ebookusb.def" 2) Edit ebookusb.def to look like following: Code: 
	LIBRARY ebookusb.dll EXPORTS _CheckBlock@0 _UsbBeginEnd@4 _UsbBuffFree@4 ...etc 4) use ebookusb.lib for linking.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#64 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 10 
				Join Date: Oct 2006 
				
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Creating a fake dll gives you a debugging stub to work with you client.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#65 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364 
				Karma: 1035291 
				Join Date: Jul 2006 
				Location: Redmond, WA 
				
				
				Device: iPad Mini,Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks guys; my C/C++ experience is almost all in the *nix world,  so I haven't had to deal with this much before (actually I did do this once before to access the radio interface library on smartphones, but had forgotten about it). 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Will press on tonight. I'm planning on making a straight .exe that will act a bit like busybox; i.e. support dir/ls, cp, etc style commands. That way it will be useful outside of my RSS project, and won't require Python installed.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#66 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() Posts: 285 
				Karma: 129 
				Join Date: Sep 2006 
				Location: New England 
				
				
				Device: PRS-500 · iPad · K3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Come on, ppl, lets update that firmware  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#67 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442 
				Karma: 300001 
				Join Date: Sep 2006 
				Location: Belgium 
				
				
				Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well, I think I'm almost done. I just tried writing to the "Reserved" partition which seems to be unused and could read my data back. Next is to try updating an actual filesystem... wish me luck   
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#68 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() Posts: 285 
				Karma: 129 
				Join Date: Sep 2006 
				Location: New England 
				
				
				Device: PRS-500 · iPad · K3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Good luck, Igor  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#69 | 
| 
			
			
			
			 Gizmologist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615 
				Karma: 929550 
				Join Date: Jan 2006 
				Location: Republic of Texas Embassy at Jackson, TN 
				
				
				Device: Pocketbook Touch HD3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#70 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556 
				Karma: 1057213 
				Join Date: Sep 2006 
				Location: North Eastern U.S. 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Good luck, Igor.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	  Please keep us informed about how you get to where you get.  Does writing to a reserved partition involve only a command to the eBook software, which then somehow flashes new data from one place in the filesystem into the read-only ones, or did you have to first encrypt the data being written?
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#71 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 10 
				Join Date: Oct 2006 
				
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It is simple to test safely: when reflashing a reflashing screen is being shown. Run the hard reset and see if the screen came. Good luck to you and shame on those helpless sony lurkers!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#72 | 
| 
			
			
			
			 Uebermensch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583 
				Karma: 1094606 
				Join Date: Jul 2003 
				Location: Italy 
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Any idea what parts/memory partition is needed to keep the emergency hard-reset intact?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#73 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607 
				Karma: 2157 
				Join Date: Oct 2005 
				
				
				
				Device: NCR3125, Nokia 770,... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Amusing, so we are "almost inside" the iLiad and the Reader at the same time. Not enough man resources for both, eh, TadW!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#74 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607 
				Karma: 2157 
				Join Date: Oct 2005 
				
				
				
				Device: NCR3125, Nokia 770,... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I do not undestand this process tree. First, where are the Reader applications? Do they switch off automatically when you switch on the USB? Second, the only living thing is this tinyhttp.sh shell script. Is is related to usb? How? Is it a httpd process or a series of http gets going on continously? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#75 | |
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556 
				Karma: 1057213 
				Join Date: Sep 2006 
				Location: North Eastern U.S. 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 How are the USB comms handled? Perhaps by the interrupts and device drivers (loadable modules) on the Reader side. Here is the list of kernel modules: Code: 
	usbtg_pd 6916 1 usbtg_core 22300 0 [usbtg_pd] snsc_mpu110_rtc 7328 1 libroi2s 9956 0 soundcore 3984 2 [libroi2s] sd 53200 2 ms_sep 47188 2 librofb 52308 64 Last edited by porkupan; 10-20-2006 at 03:30 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| PRS-500 Reader Internals 2.0 (pics!) | lint | Sony Reader Dev Corner | 60 | 11-18-2013 09:25 AM | 
| Kindle DX Internals | revilo | Amazon Kindle | 0 | 06-15-2009 05:50 AM | 
| Kindle 2 Internals | JSWolf | Amazon Kindle | 19 | 02-27-2009 03:45 PM | 
| PRS-500 Connect internals | igorsk | Sony Reader Dev Corner | 1 | 10-12-2006 05:50 AM | 
| iLiad Iliad internals | ali | iRex Developer's Corner | 39 | 07-21-2006 05:28 AM |