Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2009, 06:11 AM   #1
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Matchbox Keyboard Update

In response to allovertheglobe, here is an update to the original matchbox keyboard. I intend to work on this for a while, so suggestions are welcome.

The Matchbox Keyboard is part of the Matchbox Project which was ported by iRex to work on the DR. It pops up when you want to search the dictionary, search inside documents and also in third party applications such as Leafpad and Xournal.

List of changes:
Version 0.2:
1. Character repeat interval changed to a more reasonable value. You should no longer be surprised by a ginormous repeated string when holding down a key. This was due to slow display refreshes, the first few repeats now match up with the refreshes.
2. Key highlights removed. If you ever noticed, the original matchbox keyboard actually has each key "light up" as you click them, but this is mostly lost on an eink screen due to the display refresh rate. Sometimes the keys happen to "light up" in sync with the refresh, leading to sudden flickers (annoying IMHO). This no longer happens.
3. Keys look "more rounded", special keys are shaded gray to differentiate them at a glance. The faces of the "toggle" keys (such as Ctrl and Caps-lock) now invert when active.
Version 0.1:
1. Key borders darkened for quick identification and overall contrast improvement.

Known issues:
1. Sometimes the shading on a key ends up looking slightly lighter/darker than it should be.
2. Several rapid shift state changes result in "ghosting" which makes the letters on the keys difficult to read.
Issues (1) and (2) are related to eink displays in general - we'll have to live with them (for now).
3. In one instance, the update failed to restart the DR after upgrading. Possibly a specific hardware issue. See posts below.

Installation instructions for firmware 1.5 (similar to the CTB update):

0. If you already have an earlier upgrade to the matchbox keyboard installed, UNINSTALL it first. You should already have a "Restore Matchbox Keyboard" shortcut on your DR, which should restore the original matchbox keyboard shipped with firmware 1.5.
1. Download the file updkbd_0.2.zip to your computer and unzip.
2. Copy the Programs folder and its contents to the root of your SD card on the DR. Essentially, you should see a
<SD Drive>:\Programs\_upd-matchbox-keyboard
on your computer.
NOTE: The .desktop files are merely shortcuts and can be placed anywhere on the DR. If you like, you can create a folder called "Add/Remove Programs" inside "Programs" and place the 2 .desktop files there, if you think your Programs folder is too cluttered.
3. It is best if you shut down all applications that are using the keyboard on your DR. Also try and make sure that your battery level is not too low (above 35%), or connect the DR to a power supply.
4. Navigate to Documents->Programs (or wherever you put the shortcuts) on your DR and select "Update Matchbox Keyboard". The DR will restart to make changes effective, give it about 30 seconds to do its job.

Ideas for later versions (if and when):
1. Buttons such as the space bar and the shift keys can be shortened to accommodate a few more buttons or so (such as ?, ! or $).
2. Optional dictionary lookup for autocompletion suggestions and spell checking.
3. Map some of the DR keys to keys on the keyboard (such as mapping center "round button" to shift for faster typing).

Update 03/26: Source has been attached. Look at howto_patch.txt for information.
Update 05/13: With the release of firmware 1.6, you should not need this update anymore.
Attached Thumbnails
Click image for larger version

Name:	matchbox-kbd-upgrade.jpg
Views:	401
Size:	93.1 KB
ID:	25994  
Attached Files
File Type: zip updkbd_0.2.zip (108.1 KB, 238 views)
File Type: gz matchbox-keyboard-0.1-patched-0.2-src.tar.gz (66.1 KB, 208 views)

Last edited by Grimulkan; 05-13-2009 at 04:23 PM. Reason: Updated software
Grimulkan is offline   Reply With Quote
Old 03-16-2009, 10:02 AM   #2
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 598
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
I can't get it to install. Keeps saying the application cannot be found. I've tried a couple of times with the same result.

Howard
pthwaite is offline   Reply With Quote
 
Enthusiast
Old 03-16-2009, 01:48 PM   #3
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Weird, I'll take a look. It may have something to do with the permissions being handled differently from the emulator.

EDIT: I've updated it, try now. Does it say "cannot open" or "cannot find"?

The "cannot open" error typically means that the script does not have execute permission, and I have to figure out how to fix that without console access on the DR (on the emulator its a simple matter of ssh+chmod). I didn't think this would be a problem as the filesystem on the SD card is FAT32. Did you copy over the entire folder structure to your SD card root? So in Windows (or Linux) there should be a <Drive:>/Programs/_upd-matchbox-keyboard present, with the 2 script (.sh) files in it.

I just tried it out and it works fine with the emu. My DR just shipped and will be here tomorrow, I'll take a look if it still does not work. Out of curiosity, what OS do you run?

Last edited by Grimulkan; 03-16-2009 at 02:35 PM.
Grimulkan is offline   Reply With Quote
Old 03-16-2009, 03:47 PM   #4
allovertheglobe
Grumpy Old Man
allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.
 
allovertheglobe's Avatar
 
Posts: 260
Karma: 1364
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
Just tried the latest version, crashed the Reader when installing (hung display, red light on top) Ouch.

I am unable to reset the device at all, even with the card removed. Will maybe wait until the battery dies.

DO NOT TRY THIS FOR FOR NOW!!

UPDATE:
Well, this was one of those c**p-in-your-pants moments! Despite how much some people complain about the DR1000's inadequacies, I like mine very much! I've never run into this kind of trouble before with all my experiments so far.

Reset wouldn't work, holding it for ~30sec would see the red light die down, but then come back immediately. Inserting the card with the firmware 1.5 update didn't do anything since the reader was unable to reset...

Holding reset for a couple of minutes finally seemed to turn it off completely (no more red light) But then it wouldn't turn back on, even with more reset attempts... finally after connecting it to my PC, it came back to life.

It looked like it had to restart at least twice, hanging the first time after a couple of seconds. After booting completed, it also reported the firmware update. I held off to test the keyboard, and lo and behold, it has been updated (see attached picture)!

The battery calibration seems to be off, since it reported almost no power left, which was not the case before. A couple of recharge cycles should take care of that.

Now could we please have a less scary way to do this?
Attached Thumbnails
Click image for larger version

Name:	UpgradedKeyboard.jpg
Views:	298
Size:	115.8 KB
ID:	25771  

Last edited by allovertheglobe; 03-16-2009 at 04:29 PM. Reason: Update
allovertheglobe is offline   Reply With Quote
Old 03-16-2009, 05:06 PM   #5
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Woah! Did not expect that. I seriously wonder why, the update could not be more simple, and is exactly like the content browser one, in fact. Will look into it, but until then, hold of the downloads.

@allovertheglobe: You may want to reflash to the original 1.5 just in case. Sorry about the scare Glad to know it works though, will fix. Is this what you had in mind (apart from the heart-in-mouth moment)?
Grimulkan is offline   Reply With Quote
Old 03-17-2009, 12:41 AM   #6
allovertheglobe
Grumpy Old Man
allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.
 
allovertheglobe's Avatar
 
Posts: 260
Karma: 1364
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
I'll stick with it for now. I have rebooted/recharged the unit and will see if anything else comes up (and let you know)

As far as the keyboard goes, yes, that's certainly very close (beyond the cosmetic rounded corners), the only difference is that I had the special keys (modifiers, cursor, return) shaded to distinguish them further, but I don't know how feasible that would be.

Great job as it works for now, thanks for giving it a go!
allovertheglobe is offline   Reply With Quote
Old 03-19-2009, 06:03 AM   #7
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by allovertheglobe View Post
Just tried the latest version, crashed the Reader when installing (hung display, red light on top) Ouch.

<snip>
I just tested both install and uninstall scripts on my DR, multiple times, and it works fine! Could you walk me through what you did? Perhaps it is just one of the many mysteries of the DR, and perhaps one that will not happen too often. If you have the time, could you also remove, and then reinstall the keyboard update, and let me know how that goes?

When you run the update script, make sure you don't have the keyboard itself running somewhere in the background and give it about 30 seconds to do its job.

A general word of caution: both this and the content browser installation scripts are not meant to be run twice in a row (without "uninstalling" in between). If you do, you'll end up overwriting the backup with no way to restore the original firmware short of a reflash.

Because of the trouble you had, I suspect this is not the best way iRex expects us to update the firmware, perhaps there is a cleaner way of doing it instead of writing directly to the internal memory...
Grimulkan is offline   Reply With Quote
Old 03-19-2009, 10:05 AM   #8
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 598
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Funny, After trying a couple of times and failing as per my above post, I tried once more and success. Oh well. Cheers Grimulkan.
pthwaite is offline   Reply With Quote
Old 03-19-2009, 03:26 PM   #9
allovertheglobe
Grumpy Old Man
allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.
 
allovertheglobe's Avatar
 
Posts: 260
Karma: 1364
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
Quote:
Originally Posted by Grimulkan View Post
I just tested both install and uninstall scripts on my DR, multiple times, and it works fine! Could you walk me through what you did? <snip>
I just unzipped the folder, put everything on the card ("Programs" folder as designated), inserted it and clicked on "Update Matchbox Keyboard". After a couple of seconds the display got corrupted & hung, and the LED turned solid red. I did not run anything before doing the update (including anything using the keyboard), I know better than that.

It may have just been just some weird lockup. If you are using the same update process than the contentbrowser update, it should be OK since I never had any problems with those ones so far. Maybe it is tied to some hardware glitch, like some people having the the pen lock-up bug and others not (like me...)

When I get around to it, I'll reinstall 1.5 and try it again, and post the result here.
allovertheglobe is offline   Reply With Quote
Old 03-19-2009, 06:57 PM   #10
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by allovertheglobe View Post
<snip>
It may have just been just some weird lockup. If you are using the same update process than the contentbrowser update, it should be OK since I never had any problems with those ones so far. Maybe it is tied to some hardware glitch, like some people having the the pen lock-up bug and others not (like me...)
It *is* the same update script as the content browser. In an effort to reproduce the error, I tried installing/uninstalling under every possible situation I could think of.

I didn't have any trouble, except when the battery level was below 25%. The update itself worked but the DR got stuck booting, but booted fine when I connected it to the external battery pack/wall charger/computer. Interestingly, it also booted fine without the SD card inserted, but this wasn't very repeatable and probably not directly related.

If the above problem was not due to low battery, perhaps it really is a specific hardware issue. In any case, I'm removing the warning from the first post so others can download it, I don't think the problems are directly related to the update. Someone correct me if they feel otherwise.

Quote:
Originally Posted by pthwaite View Post
Funny, After trying a couple of times and failing as per my above post, I tried once more and success. Oh well. Cheers Grimulkan.
Thanks I actually did encounter similar "cannot open" errors, although it had nothing to do with my update. The errors either fix themselves, or can be fixed by deleting the metadata.db file in the troublesome folder (or target folder, in the case of a troublesome shortcut).

EDIT: I've put up version 0.2 with a few updates. Check out the original post, and be sure to run the uninstallation script for 0.1 before upgrading.

Last edited by Grimulkan; 03-19-2009 at 07:37 PM.
Grimulkan is offline   Reply With Quote
Old 03-20-2009, 05:01 PM   #11
allovertheglobe
Grumpy Old Man
allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.allovertheglobe is no ebook tyro.
 
allovertheglobe's Avatar
 
Posts: 260
Karma: 1364
Join Date: Jul 2006
Location: L.A., Euro ex-pat
Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200
I installed the newest version, no problem this time. The keyboard is looking great! And the ghosting is much less indeed than with the original keyboard.

- One glitch I noticed with the shaded (modifier) keys: if you select them (say Shift), then deselect them, they loose their grey shade. However once the keyboard is refreshed (hiding it & back, wake up from sleep) it's OK again.

- General improvements: Can't think of many things. Some improvements, like adding the equivalent of a numeric keypad, aren't worth it since it's not a real keyboard, you'll always be tapping one character at a time anyway... The special characters are there, so are the international ones (I use both french and german myself)...

One thing that I find curious is the replacement of the escape key (which could be used to close the keyboard?) has been replaced with the Euro character, of all things?? I guess it must be the "business" image of the DR1000


Quote:
Originally Posted by Grimulkan View Post
It *is* the same update script as the content browser. In an effort to reproduce the error, I tried installing/uninstalling under every possible situation I could think of. <snip>
Reading over my post, it can be read as implying that you didn't use the same script, but I didn't mean that, I apologize. I meant to say that even tough it -is- the same script, the fact that it crashed so badly might be some other issue, maybe hardware, maybe firmware-related, due to one of the previous updates I ran perhaps.
allovertheglobe is offline   Reply With Quote
Old 03-22-2009, 08:50 AM   #12
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by allovertheglobe View Post
<snip>
One glitch I noticed with the shaded (modifier) keys: if you select them (say Shift), then deselect them, they loose their grey shade. However once the keyboard is refreshed (hiding it & back, wake up from sleep) it's OK again.
Curiously, there is nothing in the code that should trigger this behavior, and I can only conclude that this is an "artifact" of the display (or display driver) itself.

Edit: See here for an explanation.

Quote:
Originally Posted by allovertheglobe View Post
<snip>
One thing that I find curious is the replacement of the escape key (which could be used to close the keyboard?) has been replaced with the Euro character, of all things?? I guess it must be the "business" image of the DR1000
I toyed with the idea of changing this, then decided against it. An escape key would be superfluous for the applications currently available anyway.

Last edited by Grimulkan; 03-30-2009 at 05:57 PM.
Grimulkan is offline   Reply With Quote
Old 03-26-2009, 12:23 PM   #13
Viacheslav
Connoisseur
Viacheslav doesn't litterViacheslav doesn't litter
 
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
Where is the patch code? I am making another custom version of matchbox-keyboard to support cyrillic/latin layout cycling and I would like to integrate both patches. Besides, not releasing the patch is a GPL violation
Viacheslav is offline   Reply With Quote
Old 03-26-2009, 12:31 PM   #14
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by Viacheslav View Post
Where is the patch code? I am making another custom version of matchbox-keyboard to support cyrillic/latin layout cycling and I would like to integrate both patches. Besides, not releasing the patch is a GPL violation
Whoops! Completely forgot that I hadn't uploaded it. Will do ASAP.

Last edited by Grimulkan; 03-26-2009 at 08:49 PM.
Grimulkan is offline   Reply With Quote
Old 03-26-2009, 08:49 PM   #15
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Done

This is the original 1.5 source with the patch file included.
Grimulkan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 keyboard shortcuts et al btobw Amazon Kindle 25 10-15-2011 09:43 AM
Firmware Update Can I reinstall the official amazon update after the update file from this site ? yuenslhk Amazon Kindle 2 06-20-2010 11:24 AM
About the Keyboard in EBW1150 locomouse Fictionwise eBookwise 2 12-11-2009 01:35 PM
External keyboard alrumich Sony Reader 5 05-21-2009 01:03 PM
Matchbox-sized laser projector drachasor Legacy E-Book Devices 1 06-13-2006 11:27 PM


All times are GMT -4. The time now is 04:34 AM.


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