Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2013, 09:33 AM   #361
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
If the problem is solved by the Giorgio's unmodified port of Koreader, you might want to try doing the factory reset, then updating to the current Kobo firmware, then installing the launcher of your choice, then doing the Koreader install form post #1, then doing any modifications one by one. There are a number of them described throughout this thread. Perhaps there is something in the mods or order of their application, in Markismus's 1 Step Hack that is reacting with something on your Touch. Doing the mods one at a time might let you see where the problem gets introduced.

The "1 Step Hack" is a great convenience, to those of us that use it with no problems,
as it incorporates a number of separate mods and hacks as well as the two major programs, Giorgio's port of Koreader and Sergey's Launcher with USBnet. It may be reasonable to expect that there will be some who will want or need to follow the more "official" path of the individual installs.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 07-30-2013, 03:17 PM   #362
robmyers
Junior Member
robmyers began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2013
Device: kobo mini
I'm having trouble building koreader for Kobo (djvulibre fails with a weird ld error). Are there any step-by-step Kobo-specific environment setup and compilation instructions available?
robmyers is offline   Reply With Quote
Old 07-31-2013, 06:41 AM   #363
cgm999
Enthusiast
cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.cgm999 knows the way to San Jose.
 
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
Giorgio: I only care to have koreader functional on kobo , so fell free to use my patch / hack as you see fit .
cgm999 is offline   Reply With Quote
Old 08-02-2013, 05:24 AM   #364
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by someGuyHere View Post
I looked at the diffs between the version on page 1 and the version of the 1 klick install.

I could not really find something that looks like the problem, so I decided to just copy all configuration changed files from the version of page 1 into the version of the 1 klick install.

Note: I did not change the koreader-base.

Viewing and Typing area are the same, but horizontally inverse (right is left), so one of the configuration changes is bad for the Kobo Touch and mixes up the orientation between input and screen layout.

Having a solution for that I tried to find where the horionzal input is done and I found out that changing the orientation to landscape results in left and right being correct, but up and down is inverted.

I tried changing the rotation_map line 132 in koreader/frontend/ui/inputevent.lua to the following:

Code:
	rotation_map = {
		[0] = {},
		[1] = { Up = "Down", Right = "Left", Down = "Up", Left = "Right" },
		[2] = { Up = "Right", Right = "Down", Down = "Left", Left = "Up" },
		[3] = { Up = "Left", Right = "Up", Down = "Right", Left = "Down" }
After that did nothing I fiddled around with the calculations in line 323 f with no success (no changes in the following code snippet).

Code:
		elseif Device:isKobo() then
			input.open("/dev/input/event1")
			Device:setTouchInputDev("/dev/input/event1")
			input.open("/dev/input/event0") -- Light button and sleep slider
			print(_("Auto-detected Kobo"))
			if dev_mod ~= 'Kobo_trilogy' then
				function Input:eventAdjustHook(ev)
					if ev.type == EV_ABS then
						if ev.code == ABS_X then
							ev.code = ABS_Y
						elseif ev.code == ABS_Y then
							ev.code = ABS_X						
							-- We always have to substract from the physical x,
							-- regardless of the orientation
							if (Screen.width<Screen.height) then
								ev.value = Screen.width - ev.value
							else
								ev.value = Screen.height - ev.value
							end
						end
					end
					return ev
				end
			end
Any ideas?

I'll might be able to try something later, but from tomorrow on I'll be offline for a few days. When I'm back I can have a look at the changes that cause the problem solved by changing the configuration to the version in post #1.

Thanks for the support!
Thomas
Hi! It's not very clear for me if the official package is working ok for you or not. If it's not, I'll try to help! With official package I mean the one at first post without any mods applied. A couple guys reported touch input as mangled on the kobo touch, and at least that version includes a fix addressing it. If you still have the problem I'll have to investigate some more. (I have the suspect that inverted touch happened only on the "old" touch that still uses a distinct firmware, and if it is like that, now it should be the other way around...)
giorgio130 is offline   Reply With Quote
Old 08-02-2013, 05:30 AM   #365
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by robmyers View Post
I'm having trouble building koreader for Kobo (djvulibre fails with a weird ld error). Are there any step-by-step Kobo-specific environment setup and compilation instructions available?
If you're half-way through compilation, you should be almost done
A couple things you could have missed:
- in koreader-base, you should modify the file "Makefile.defs" changing "-mfloat-abi=softfp" to "-mfloat-abi=hard"
- if you're using the linaro toolchain, I had to rename arm-linux-gnueabihf-pkg-config to something else, so that it couldn't been found
- to build a complete package: cd to koreader-base, "make kobo", cd .., make customupdate

You should find a zip containing your build
giorgio130 is offline   Reply With Quote
Old 08-02-2013, 06:46 AM   #366
someGuyHere
Junior Member
someGuyHere began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2013
Device: Kobo Touch
Hi Giorgio,

sorry to answer so late, but I didn't take a computer along.

Quote:
Originally Posted by giorgio130 View Post
Hi! It's not very clear for me if the official package is working ok for you or not. ... With official package I mean the one at first post without any mods applied.

(I have the suspect that inverted touch happened only on the "old" touch that still uses a distinct firmware, and if it is like that, now it should be the other way around...)
I cleaned my Touch and updated to the current Firmware 2.6.1. After that I installed the one klick thing to get the launcher and replaced the koreader with the one in the first post.

I don't know if I have an "old" touch, how do I find out?

Anyway the problem is still present. In "normal" not landscape orientation left and right are switched. In landscape orientation up and down is switched.

I cant figure out where to touch to exit the FileManager yet.

Best regards,
Thomas
someGuyHere is offline   Reply With Quote
Old 08-04-2013, 07:20 AM   #367
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by someGuyHere View Post
Hi Giorgio,

sorry to answer so late, but I didn't take a computer along.



I cleaned my Touch and updated to the current Firmware 2.6.1. After that I installed the one klick thing to get the launcher and replaced the koreader with the one in the first post.

I don't know if I have an "old" touch, how do I find out?

Anyway the problem is still present. In "normal" not landscape orientation left and right are switched. In landscape orientation up and down is switched.

I cant figure out where to touch to exit the FileManager yet.

Best regards,
Thomas
Try changing in inputevent.lua:
if dev_mod ~= 'Kobo_trilogy' then
function Input:eventAdjustHook(ev)

modify "Kobo_trilogy" to something else, whatever you wish, and save; see if this solves. If it's so, I'll try to find a way to discriminate between new and old touch.
giorgio130 is offline   Reply With Quote
Old 08-05-2013, 11:09 AM   #368
someGuyHere
Junior Member
someGuyHere began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2013
Device: Kobo Touch
Quote:
Originally Posted by giorgio130 View Post
Try changing in inputevent.lua:
if dev_mod ~= 'Kobo_trilogy' then
function Input:eventAdjustHook(ev)

modify "Kobo_trilogy" to something else, whatever you wish, and save; see if this solves. If it's so, I'll try to find a way to discriminate between new and old touch.
This made things worse. I can't see what I do in the file manager but it is hard to find a spot to open a specific pdf. In Koboreader up is left, left is up.

So I have a Kobo_trilogy device... . I tried to solve the problem, but I don't understand the language. It seems that I don't get input events in the file manager, if I use the function part.
someGuyHere is offline   Reply With Quote
Old 08-05-2013, 12:43 PM   #369
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
I added the Disable Double Tap = True language from Github, but have not setup the development environment to compile a build. So I don't know if just changing the defaults.lua is enough to do anything. It does seem that paging through a lot of pages is working faster and smoother, without double page jumps or anything. Has anyone else tried it out?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 08-05-2013, 05:13 PM   #370
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
I'll post an updated build tomorrow. I've integrated light support in the main project; moreover I've implemented some fixes for the "strikeout font" on the Aura and made the X to close file manager bigger, should be easy to reach now.
giorgio130 is offline   Reply With Quote
Old 08-06-2013, 03:33 AM   #371
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
new build available at first post. Next in line are suspend support and an easier to install package.
giorgio130 is offline   Reply With Quote
Old 08-06-2013, 03:51 AM   #372
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by Ken Maltby View Post
I added the Disable Double Tap = True language from Github, but have not setup the development environment to compile a build. So I don't know if just changing the defaults.lua is enough to do anything. It does seem that paging through a lot of pages is working faster and smoother, without double page jumps or anything. Has anyone else tried it out?

Luck;
Ken
"Double Tap" is a gesture, which means it is possible to detect a double tapping as a different entity from two single interactions. It is currently being disabled when interacting with the keyboard, since if you write fast enough it is possible to tap twice on the same key. Disabling it globally should not have any effect on page turning; moreover if I'm right the option had no effect on the older build.
giorgio130 is offline   Reply With Quote
Old 08-06-2013, 07:59 AM   #373
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
@Giorgio130
The new build is a great!

In Filemanager the letters are clear (without invisible line) and the extra linespacing makes tapping the wrong directory or file near impossible.
I haven't found a use for the keyboard yet, except for the light setting and goto page. However, it does seem to bring the implementation of notes nearer.

Also the selection of words in a pdf-document has improved. The pop-up now only shows the dictionary with at the bottom greyed-out highlighting and notes. Those that want dictionary support, will still have to convert their books to pdf: still no support for it in the epub-part (crengine).

@cgm999 Can we still use your modifications for standby, inverse and light settings without messing up the new build?
Markismus is offline   Reply With Quote
Old 08-06-2013, 09:31 AM   #374
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
I figured that disabling the "double-tap" might help when trying to rapidly flip through a bunch of pages, as there would be no confusion or delay from determining if two taps were two page turns or a double-tap. Probably just seeing an improvement because I was hoping for/expecting one.

Wow, a new port build already! Great work!

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 08-06-2013, 11:27 AM   #375
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
I really like the look of the File Manager now and the file selection is much better with the separation of the menu items.

The X in the corner looks closer to the right edge, now and I still can't get it to do anything.

On my Aura, in the File Manager, the page # and right & left chevrons are halfway under the bezel and I can't get it to work like it does for the Contents pages.

Is the light supposed to come on when you select a file?

Love the Go to function.

Is there a way to set a default for the Margins setting?

All in all some great giant steps forward. This is looking very close to what an average reader could appreciate, and use without problem.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1289 04-07-2025 10:18 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 02:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 04:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 02:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 08:25 AM


All times are GMT -4. The time now is 04:45 PM.


MobileRead.com is a privately owned, operated and funded community.