| 
			
			 | 
		#1 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Checkers for Kobo Touch and Kobo Glo
			 
			
			
			Hi! 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Today I've compiled my first program for Kobo Touch and Cobo Glo - Checkers. https://dl.dropbox.com/u/33538054/ch...1.0.7_kobo.zip But I have no Kobo and don't know exactly how to run it. Instructions (to advanced users or developers that can access to Kobo through telnet/ssh): 1. Unpack archive 2. Copy "checkers" directory into the root of internal flash memory (/mnt/onboard) 3. Copy qt_plugins/libKindleFb.so to Qt plugins directory on Kobo (probably /usr/local/Trolltech/QtEmbedded-4.8.0-arm/plugins/gfxdrivers) 4. Start checkers.sh (I don't know exactly how to do it) Please assist me to make installation and add start/stop nickel support to checkers.sh. I need help of advanced users or developers that can access to Kobo through telnet/ssh. P.S. Program is 100% working and tested with Amazon Kindle, PocketBook, Onyx and Desktop. Last edited by sergeyvl12; 11-16-2012 at 07:04 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 7786 
				Join Date: Jan 2012 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It starts, see the attached screenshot. Touch input doesn't work.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	First of all, Qt seems can't find it's fonts ... Ok, I'll add fonts to checkers installation. Second, about touchscreen export QWS_MOUSE_PROTO=tslib:/dev/input/event1 does "/dev/input/event1" file exists? And probably we should try killall nickel first...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ok, I've added fonts to installation and also modified checkers.sh for fonts: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Code: 
	#!/bin/sh root=/mnt/onboard/checkers export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib export QWS_DISPLAY=kindlefb export QT_QWS_FONTDIR=$root/fonts export QWS_MOUSE_PROTO=tslib:/dev/input/event1 # ??? killall nickel before start ??? $root/checkers -qws # ??? restore nickel after exit ??? ls -lR /usr/local/Trolltech/QtEmbedded-4.8.0-arm/plugins P.S. Just in case. In your screenshot I see registration message box in the center with "Ok" button (small square). Tap on this "Ok" button. Message box should close and you can play (if everything other is ok). Last edited by sergeyvl12; 11-16-2012 at 10:50 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 7786 
				Join Date: Jan 2012 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That fixed the fonts, the touchscreen still doesn't work. /dev/input/event1 is the right device (catting it produces output when interacting with it), and nickel uses export QWS_MOUSE_PROTO="tslib_nocal:/dev/input/event1". I tried that as well, without success. I killed nickel before, of course. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Also, you overwrote the binary with the script in the latest zip, so I used the older one. Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		![]() I don't see mouse plugin among your plugins ![]() That's can be the reason. I'll try to compile plugin... Can you look for "libqtslibmousedriver.so" ? probably it is in other place. Also give me the "env" command output. Last edited by sergeyvl12; 11-16-2012 at 12:06 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 7786 
				Join Date: Jan 2012 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Neither find / | grep -i tslib or grep -i mouse find anything, so I suppose it's not there. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I can only assume that nickel has this plugin (as long as screen plugin) inside  
		
	
		
		
		
		
		
		
		
		
		
		
	
	  . Ok, I'll try to compile tslib and Qt mouse driver.
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've uploaded a new version with mousedrivers/libqtslibmousedriver.so 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Put libqtslibmousedriver.so into /usr/local/Trolltech/QtEmbedded-4.8.0-arm/plugins/mousedrivers.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 7786 
				Join Date: Jan 2012 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The checkers binary is still missing, and it now complains about /etc/pointercal not being there. If I create an empty file i can move the window by randomly touching stuff on the screen, but the calibration is off. Nickel uses tslib_nocal, if that helps.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Another option is to look into Kindle Paperwhite touch screen driver... Otherwise we need to calibrate touch screen somehow... I don't familiar with tslib but I'll try to gather some info on that. Thanks for your help! I hope that we will success!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ah- I have an idea   nickel is 'qws' server. So, probably we don't need to start our own qws server. Our program will be qws client. It will use qws server with it's plugins to handle touchscreen input and render graphics. pbchess.sh: ("-qws" parameter should be removed) Code: 
	#!/bin/sh root=/mnt/onboard/checkers export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib export QT_QWS_FONTDIR=$root/fonts # ??? do I need this? $root/checkers If everything ok, client program (checkers) will connect to qws server (nickel).  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 7786 
				Join Date: Jan 2012 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well, the best way would be to implement it via nickels plugin interface. Then you get fully working drivers and good integration with the rest. See the examples in the koboreader git repository for inspiration.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 ebook fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735 
				Karma: 2528718 
				Join Date: Dec 2010 
				
				
				
				Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   - as far as I know plugins can't be unloaded till device restart.Please try the script below ...  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() Posts: 49 
				Karma: 208 
				Join Date: Nov 2012 
				
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			sergeyvl12, did you get it working? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'm looking for something to write a standalone QT app (same as your checkers)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Kobo Storage Upgrade Service (Wifi, Touch, Mini, Glo, Vox) | jefftheworld | Kobo Reader | 14 | 10-24-2012 02:20 PM | 
| Kobo Glo, or Nook Touch Glow/wait for nextgen | MorningSong | Which one should I buy? | 1 | 10-14-2012 09:56 AM | 
| Kobo Glo fonts compared to Kobo Touch | RobertJSawyer | Kobo Reader | 3 | 10-11-2012 01:10 AM | 
| Kobo Glo Vs Kobo Touch Sizes (Want to use my Skindigital cover) | Chocky | Kobo Reader | 3 | 09-25-2012 11:47 AM | 
| Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 07:50 AM |