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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2013, 05:39 PM   #76
allw
Member
allw began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2010
Location: France
Device: Bebook (OI), sony PRS-T1, kobo aura HD, kobo mini
I had the same problem ...
I used the truncate method from http://softwarebakery.com/shrinking-images-on-linux

Unfortunately I coudln't modify the swap with gparted (got an error on all partitions ...)
It allows me to boot, but still having a problem with suspend of the nickel (perhaps dues to this swap issue ....but as other people report it ...)
allw is offline   Reply With Quote
Old 10-29-2013, 06:04 PM   #77
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,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Hmm... a 16GB image even zipped down to 6GB, still needs a 16GB or larger uSD card. The image is what matters, it is made for a 16GB card.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 10-30-2013, 01:49 AM   #78
allw
Member
allw began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2010
Location: France
Device: Bebook (OI), sony PRS-T1, kobo aura HD, kobo mini
I think you are mistaken, we are using a 8go SD card with a 8 Go SD card. The number of sectors varies slightly accross card (depending of manufactering acceptance criteria i guess)
allw is offline   Reply With Quote
Old 10-30-2013, 10:18 AM   #79
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,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by mastnacek View Post
Done, now i have it
Tomorrow I upload image for Kobo Mini.

I was made 16GB image for kobo MINI, 7Ziped its 6GB. Want this anybody?
So this is not what you are talking about?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 10-30-2013, 08:00 PM   #80
as32
Junior Member
as32 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: KOBO Touch, KOBO Aura HD
It's working now.
@Marek: Wow, excellent work.

Quote:
Originally Posted by as32 View Post
Same problem here.
Transcend 8GB class 4.
not enough space on disk: 15652864 sectors , availabale: 15556608 sectors

Too bad.
Sorry about my complain, I was a little disappointed at first.
Thanks for the help and the hints though. I guess there are several tools and several ways to get around this.

I didn't want to buy more SD cards, so I used Win32DiskImager to write the image to an 8GB USB Stick.
Then, using parted, I removed the swap partition, changed units to sectors and recreated partition 3 ending at sector 1555607.
Interestingly, parted offered ext2 as partition type, but after creating the partition, it was linux-swap(v1), just like before. Anyway, I applied mkswap to make sure.
Then I plugged in my Transcend micro SD card via USB adapter and used dd to copy from the USB stick. It worked.
(dd if=/dev/sdb of=/dev/sda bs=512 count=15556608)

I'm new to the eReader world and initially started out buying a Aura HD for the sake of -- what a surprise -- reading.
But I'm also a Linux enthusiast and I was amazed to learn that I got a Linux system therein. After that I found this forum and this thread and I couldn't help but buying an additional Kobo Touch N905C for trying this out.
I just started using it, but I know already that it's just great, from the dual boot to the awesome window manager.
Awesome.

I also created a 2GB image of the debian directory in that image and used chroot with the gloScreen utilities to run awesome on my Aura HD. But all the images seem to be only black&white. Why is this, because of the missing kernel changes or a different image format?

I'd love to help developing, e.g. to make this work on the Aura HD, but I'm probably not up to such a project.
There's always so much knowledge I miss, about toolchains and putting such an installation together.
And still I even don't dare to open up my new Aura HD.
Compared to the Touch, that looks much more difficult.

Last edited by as32; 10-30-2013 at 08:12 PM. Reason: typo
as32 is offline   Reply With Quote
Old 10-30-2013, 08:12 PM   #81
as32
Junior Member
as32 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: KOBO Touch, KOBO Aura HD
.....

Last edited by as32; 09-02-2014 at 04:06 PM. Reason: Deleted double posted text (sorry!).
as32 is offline   Reply With Quote
Old 10-31-2013, 02:47 AM   #82
allw
Member
allw began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2010
Location: France
Device: Bebook (OI), sony PRS-T1, kobo aura HD, kobo mini
Quote:
Originally Posted by Ken Maltby View Post
So this is not what you are talking about?

Luck;
Ken
I suppose that as32 did the same as me :
- take SD image for the kobo touch (8go)
- follow the tutorial to use mini hardware (from dancol90 at page 2 of this thread)

Unfortunnatelly, using this approach the mini boots but the resume in the official firmware does not work (see post ws64 on page 4)

@as32 what is this gloscreen ? isn't it normal that the images are B&W, or is it missing the graylevels ?
allw is offline   Reply With Quote
Old 10-31-2013, 07:55 AM   #83
as32
Junior Member
as32 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: KOBO Touch, KOBO Aura HD
Quote:
Originally Posted by allw View Post
@as32 what is this gloscreen ? isn't it normal that the images are B&W, or is it missing the graylevels ?
Yes, it's missing the gray levels.
That doesn't look so pretty.
And all the buttons/windows are so small on the Aura HD.

The "gloscreen utilities" as I named it (sorry, no "official name" I guess )...
I was referring to the gloScreen.zip file in another thread
Quote:
Originally Posted by KevinShort View Post
You're correct, the binaries just need to be updated for the larger screen size. I've attached the source code and binaries below.
I recompiled that fb update utils for the Aura HD resolution.

And there's another thread how to use a chroot environment and it uses another method of updating the framebuffer without kernel changes:
Debian chroot for Kobo
(AFAIK, the image is from Andreas Heider)

I tried to combine both worlds, the Andreas Heider fb_update and Marek's chroot dir running the awesome window manager.
It worked somehow, but not really pretty, because of the black&white issue and the much smaller buttons/windows.

Last edited by as32; 11-01-2013 at 12:28 PM. Reason: typo
as32 is offline   Reply With Quote
Old 10-31-2013, 02:09 PM   #84
as32
Junior Member
as32 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: KOBO Touch, KOBO Aura HD
Is it normal, that the green LED is constantly blinking?
Does that mean there's SD card access all the time?
I'm a little worried about that.
as32 is offline   Reply With Quote
Old 11-01-2013, 12:21 PM   #85
rabsmd
Junior Member
rabsmd began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2013
Location: France
Device: Kobo Glo
Quote:
Originally Posted by as32 View Post
And there's another thread how to use a chroot environment and it uses another method of updating the framebuffer without kernel changes:
Debian chroot for Kobo
(AFAIK, the image is from Andreas Heider)

I tried to combine both worlds, the Andreas Heider fb_update and Marek's chroot dir running the aweseme window manager.
It worked somehow, but not really pretty, because of the black&white issue and the much smaller buttons/windows.
My notes on the Debian chroot (I didn't try the patched kernel, but following what happens here) :

- The fb_update method is eating quite some CPU resources. I guess it's checking a buffer and updating the display every 10th of second. I don't know how the kernel stuff works, but maybe it's better.

- The matchbox WM (already present in the chroot) is quite good for such device. I also had to tweak a few things here and there (cursor settings, and keyboard layout).
rabsmd is offline   Reply With Quote
Old 11-04-2013, 11:08 AM   #86
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
Quote:
Originally Posted by as32 View Post
Is it normal, that the green LED is constantly blinking?
Does that mean there's SD card access all the time?
I'm a little worried about that.
The green LED starts blinking when you turn the Kobo on, and will keep blinking until it's turned off. It's not SD card access, so you don't have to worry about that. The commands to turn it off are in the default /etc/init.d/rcS script on the Kobo. Marek must of not added those commands to his rcS file.
KevinShort is offline   Reply With Quote
Old 11-06-2013, 02:50 AM   #87
scooter66
Junior Member
scooter66 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: none
This is extremely cool. I've been interested in something like this. I can't find the N905C model anywhere to buy online (I'm in Israel). Is that the only Touch model it works on? Which Kobo Mini model(s) will this support?
scooter66 is offline   Reply With Quote
Old 11-06-2013, 11:39 AM   #88
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
Quote:
Originally Posted by scooter66 View Post
This is extremely cool. I've been interested in something like this. I can't find the N905C model anywhere to buy online (I'm in Israel). Is that the only Touch model it works on? Which Kobo Mini model(s) will this support?
I believe this hack will only work on N905C models of the Touch, because other models don't use an internal SD card for memory. However, any model of Mini should work just fine.
KevinShort is offline   Reply With Quote
Old 11-06-2013, 01:26 PM   #89
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
@as32: Thanks! I'm really glad that you like it

Yes, it's strange that almost every 8GB SD card has different size Believe me that I was aware of that and I took the smallest one I had and even it was not the smallest one on the market Anyway the last partition is swap so it doesn't matter if it doesn't fit as it can be easily recreated as you've mentioned

Quote:
I also created a 2GB image of the debian directory in that image and used chroot with the gloScreen utilities to run awesome on my Aura HD. But all the images seem to be only black&white. Why is this, because of the missing kernel changes or a different image format?
Hmm... If you didn't change kernel at all that must be because of gloScreen utitlities. My kernel changes were made for triggering auto-refresh (on change only). If you have source codes for gloScreen utilities you can play with different refresh modes. Make sure it doesn't use EPDC_FLAG_FORCE_MONOCHROME flag on mxcfb_update_data structure data. Something like this should work ok with grayscale (you can try to use other values for WAVEFORM_MODE_AUTO if it doesn't):
https://github.com/marek-g/kobo-kern...ull_update.cpp
Or you can try to merge my eInk driver changes for Aura HD's kernel (only auto-update related ones, without touching waveform modes).

Quote:
The fb_update method is eating quite some CPU resources. I guess it's checking a buffer and updating the display every 10th of second. I don't know how the kernel stuff works, but maybe it's better.
Yes, but it uses MMU and the check is triggered only when something changed. For example if you are reading something static (like text in full screen) it won't use any CPU power until there is any change in the screen. Just limit the amount of visible changes to zero and you will be good.

Quote:
I believe this hack will only work on N905C models of the Touch, because other models don't use an internal SD card for memory. However, any model of Mini should work just fine.
So you're saying that not every Touch model has removable internal SD card? That's bad. However there is still possibility to change uboot loader to start from external SD card when inserted. It's possible also to do it that way on models you don't want to open. But I strongly do not recommend it. If something goes wrong you will have to open it! And if you cannot open it and remove internal SD card it will stay bricked (until you can connect to it through J-TAG).
MarekGibek is offline   Reply With Quote
Old 11-06-2013, 01:38 PM   #90
MarekGibek
Zealot
MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.MarekGibek is out to avenge the death of his or her father, Domingo Montoya.
 
MarekGibek's Avatar
 
Posts: 129
Karma: 34471
Join Date: Aug 2013
Location: Cracow, Poland
Device: Kobo Touch N905C
Announcement

I can see that this thread is still active (and I like it ) so I would like to announce that there are new kernel changes made by me.

I've implemented full refresh (when full screen content changes). It's not good for page scrolling or playing games but at least when you are reading (we want to use it for reading, after all?) there are no "ghosts" behind letters and general contrast is much better because of that. So if you are using debian not for playing games but for reading you may like it.

I did also very simple modifications for Calibre's ebook-viewer:
- auto hide/show controls on full screen mode
- larger side margins for two columns mode
- a fix for turning pages
Two columns mode is very nice to have on horizontal orientation. And I've found calibre's viewer to be the best (in my opinion) for viewing ePub files. You have the easiest access to enlarge font settings and the best content rendering engine.

I have also found that there is a very good dictionary app for Linux - called goldendict. It can be configured to hide to the tray and if you double click on a word in callibre's ebook-viewer - the popup with description pop ups. English is not my native language so I use it very frequently. And it is much easier to find good dictionary for it than for original kobo software. If you have wifi on it will include great definitions from wikipedia (with pictures etc). The two apps play very well together.

Please also take note that I've made mistake with Firefox/Icewasel configuration - by installing AdBlock plugin there. The plugin is very memory hungry. Disabling it gives you enough memory for good browsing experience. If you want to block ads, there is somewhere in the internet a list of ad sites you can redirect to localhost by adding them to /etc/hosts config file.

https://github.com/marek-g/kobo-kernel-2.6.35.3-marek
https://github.com/marek-g/calibre

Last edited by MarekGibek; 11-06-2013 at 01:49 PM.
MarekGibek is offline   Reply With Quote
Reply

Tags
image, kobo, linux, tablet, x11

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any interest in Kobo Desktop for Linux? JCKobo Kobo Reader 356 05-16-2023 09:31 PM
Vox Kobo Vox memory card image - Fix tablet upgrade error and more pcampbell Kobo Tablets 76 05-05-2020 12:11 PM
Touch Kobo with Linux Pistos Kobo Reader 23 08-01-2011 02:06 AM
Kobo runs linux and busybox billingd Kobo Reader 32 04-03-2011 10:19 AM
Synching Kobo with Linux luqmaninbmore Kobo Reader 1 07-08-2010 09:13 PM


All times are GMT -4. The time now is 07:30 PM.


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