| 
			
			 | 
		#1 | 
| 
			
			
			
			 Time Waster 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422 
				Karma: 289160 
				Join Date: May 2011 
				
				
				
				Device: Kobo Glo and Aura HD 
				
				
				 | 
	
	
	
		
		
			
			 
				
				[solved]Help from those who have telnet access
			 
			
			
			Hi everyone. I'm porting koreader (https://github.com/koreader/koreader/issues/50) to the kobo platform; I am almost done with it, I just need to know a file that exists in every kobo model in order to detect that the program is running on a kobo. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			This is my guess, and what I'm currently using: /sys/devices/platform/pmic_leds.114/modalias can anyone with a model different from a kobo glo (which I own) confirm that this file exists on his kobo? (specifying the model) I guess it should be there, since the distributed firmware is the same at least for mini, glo and aura hd... let me know! Last edited by giorgio130; 06-11-2013 at 05:41 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Why not see if the file /bin/kobo_config.sh exists and use that to determine kobo vs non Kobo?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466 
				Karma: 6900052 
				Join Date: Dec 2009 
				Location: The Heart of Texas 
				
				
				Device: Boox Note2, AuraHD, PDA, 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I would think that all the Kobo devices that the port would work in will have a .kobo folder in the root of the partition.  There is a "version" file in that folder on my AuraHD, it would be common practice to have such a file available in the same place over a range of products.  If you needed your program to respond to the various models differently, the file begins with the model number.  
		
	
		
		
		
		
		
		
		
		
		
		
		
			It is also likely that each device with an SD internal memory, will have the model number starting at offset 200. Luck; Ken Last edited by Ken Maltby; 06-11-2013 at 05:13 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Time Waster 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422 
				Karma: 289160 
				Join Date: May 2011 
				
				
				
				Device: Kobo Glo and Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Probably that would be the best option, assuming it is not going to be removed in future firmware updates... which is unlikely. Thanks for the idea!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Nameless Being 
			
			
			
		
			
			
			 | 
	
	
	
		
		
		
		
		 
			
			How about taking PeterT's idea one step further.  The kobo_config.sh file show you how to get the hardware's id.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Time Waster 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422 
				Karma: 289160 
				Join Date: May 2011 
				
				
				
				Device: Kobo Glo and Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well currently it's not needed, but could be in the future, thanks!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,841 
				Karma: 5843878 
				Join Date: Oct 2010 
				Location: UK 
				
				
				Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466 
				Karma: 6900052 
				Join Date: Dec 2009 
				Location: The Heart of Texas 
				
				
				Device: Boox Note2, AuraHD, PDA, 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I am assuming that the AuraHD is going to be included, even though it isn't a listed 
		
	
		
		
		
		
		
		
		
		
		
		
	
	device. This port is something I really could get behind. Luck; Ken  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Time Waster 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422 
				Karma: 289160 
				Join Date: May 2011 
				
				
				
				Device: Kobo Glo and Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, I have no way to test since I don't have an Aura, but it should work without modifications even there.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201 
				Karma: 42238 
				Join Date: Oct 2012 
				
				
				
				Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I really hope so.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| PRS-T1 Telnet to reader | vishcompany | Sony Reader Dev Corner | 6 | 12-06-2011 07:37 PM | 
| Can't SSH or Telnet to Kindle 3 | eshiku | Kindle Developer's Corner | 13 | 07-28-2011 08:23 PM | 
| Using Telnet on Kindle 3 | DaGin WinterBorn | Kindle Developer's Corner | 0 | 05-22-2011 11:47 PM | 
| Kindle 3 v3.1 hacked, can't telnet | mpercy725 | Kindle Developer's Corner | 1 | 05-13-2011 02:43 AM | 
| Ssh/telnet access over 3G? | lolcat | Kindle Developer's Corner | 12 | 02-21-2011 12:56 PM |