Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-10-2013, 05:20 AM   #1
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
Turn your Kobo into a Debian Linux tablet

Sorry for the delay - I was on vacation

It's fantastic that you guys were able to solve most of your problems yourself and even managed to run my sample image on a Kobo Mini (fixing bootloader)!!

Now I'm back with the necessary kernel changes needed to install Debian on your Kobos:

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

The only changes needed to run X11 are related to the eInk display driver and keyboard driver. Inside !Marek/framebuffer-utils folder there are the files to enable and disable eInk's autoupdate mode.

You can undo changes for touch driver because:
  • the changes enable multitouch in the kernel but I still didn't find a working driver for X11 (I started implementing a custom X11 driver but it supports single touch only for now and no right button) - maybe it's because I left single touch events for compatibility with original software
  • according to other posts I probably hardcoded 800x600 resolution somewhere so that needs to be fixed
If you stay with the original touch driver you can use the evdev driver for X11 and still have a working touch and even configure the right mouse button emulation.

I was playing with the image posted here and I've found it's nice to:
  • install nautilus to navigate through your files
  • install okular (with extensions) to view PDF files
  • install calibre - it has great ePub reader (ebook-viewer command) - it needs path to ebook as a parameter so you can use zenity command to open file selector and pass the selected path to ebook-viewer (you can use this command: ebook-viewer `zenity --file-selector`)
  • install gtk-theme-switch to change font sizes and look of gtk apps
  • modify gtk theme to increase slider size
  • modify Firefox's chrome.css file to increase tab sizes etc. - it would be nice to have custom Firefox theme for Kobo
You can add new software to the menu by editing the awesome.lua config file in the ~/.config folder.

I hope that together we will be able to do things like:
  • better screen updates (automatic full screen refresh from time to time)
  • support for screen rotation at any time
  • enable multitouch
  • port existing / write new software
  • ... ?

Have a good fun,
Marek

Related: Sample Kobo Debian firmware image
Attached Thumbnails
Click image for larger version

Name:	01_boot_menu.png
Views:	5633
Size:	100.8 KB
ID:	110739   Click image for larger version

Name:	04_gamesmenu.png
Views:	5473
Size:	84.1 KB
ID:	110740   Click image for larger version

Name:	07_terminal_and_keyboard.png
Views:	5579
Size:	37.0 KB
ID:	110741   Click image for larger version

Name:	08_fbreader.png
Views:	5148
Size:	71.6 KB
ID:	110742   Click image for larger version

Name:	09_nytimes.png
Views:	5059
Size:	146.1 KB
ID:	110743   Click image for larger version

Name:	10_klondike.png
Views:	4776
Size:	106.4 KB
ID:	110744  

Last edited by Alexander Turcic; 09-10-2013 at 09:46 AM. Reason: moved to frontpage
MarekGibek is offline   Reply With Quote
Old 09-10-2013, 06:34 PM   #2
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,746
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X
legendary ...
joblack is offline   Reply With Quote
Advert
Old 09-10-2013, 09:24 PM   #3
fsiefken
Junior Member
fsiefken began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2013
Device: none
Quote:
Originally Posted by MarekGibek View Post
I hope that together we will be able to do things like:
  • better screen updates (automatic full screen refresh from time to time)
  • support for screen rotation at any time
  • enable multitouch
  • port existing / write new software
  • ... ?
Hi Marek, do you know if the chipset and usb in this Kobo supports usb host functionality to use an usb keyboard or usb bluetooth dongle with the correct cabling?
fsiefken is offline   Reply With Quote
Old 09-11-2013, 04:00 AM   #4
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Quote:
Originally Posted by fsiefken View Post
Hi Marek, do you know if the chipset and usb in this Kobo supports usb host functionality to use an usb keyboard or usb bluetooth dongle with the correct cabling?
It would be great I have Kobo Mini i prepare to change it into linux tablet. How is it with battery life? Is posible sleep kobo as usually? Works suspend as in normal linux PC?
mastnacek is offline   Reply With Quote
Old 09-11-2013, 06:54 AM   #5
embryo
Fanatic
embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.embryo calls his or her ebook reader Vera.
 
embryo's Avatar
 
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
Are these screenshots from an actual Kobo or just concept design?

(Holding my breath...)
embryo is offline   Reply With Quote
Advert
Old 09-11-2013, 07:18 AM   #6
dancol90
Junior Member
dancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with othersdancol90 plays well with others
 
Posts: 9
Karma: 2582
Join Date: Aug 2013
Device: Kobo Mini
Quote:
Originally Posted by embryo View Post
Are these screenshots from an actual Kobo or just concept design?

(Holding my breath...)
It's from the Kobo itself, no concept or mockups! No colors on the eink screen, obviously...
dancol90 is offline   Reply With Quote
Old 09-11-2013, 08:48 AM   #7
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
Quote:
Originally Posted by fsiefken View Post
Hi Marek, do you know if the chipset and usb in this Kobo supports usb host functionality to use an usb keyboard or usb bluetooth dongle with the correct cabling?
Hi fsiefken!

The chipset supports usb host functionality. But I don't know if the power line is connected to the USB port on PCB board.

However you have more options to connect mouse and keyboard:
  • You can install Synergy app on kobo and use mouse and keyboard connected to your PC.
  • You can install xserver on your PC (like Xming for Windows) and export DISPLAY variable on kobo - all apps you start will open their windows on your desktop! I'm using that method to faster configure apps with a mouse than via touch and windows can have any size.
MarekGibek is offline   Reply With Quote
Old 09-11-2013, 08:54 AM   #8
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
Quote:
Originally Posted by mastnacek View Post
It would be great I have Kobo Mini i prepare to change it into linux tablet. How is it with battery life? Is posible sleep kobo as usually? Works suspend as in normal linux PC?
Battery usage is normal, I think. It can run pretty long (measured in days) with wifi off but only a few hours with wifi on (on my 1000 mAh battery).

Suspend is possible. On sample image there is suspend (bash) script. I didn't provide method to call it and I didn't test it deeply - you can add it to the menu for example (editing awesome.lua config file).
MarekGibek is offline   Reply With Quote
Old 09-11-2013, 08:59 AM   #9
doctorow
Guru
doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.doctorow ought to be getting tired of karma fortunes by now.
 
doctorow's Avatar
 
Posts: 914
Karma: 3410461
Join Date: May 2004
Device: Kindle Touch
Hmmm, this looks quite interesting!

How difficult would it be to build our own firmware image from the sources?
doctorow is offline   Reply With Quote
Old 09-12-2013, 04:45 AM   #10
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Quote:
Originally Posted by MarekGibek View Post
Battery usage is normal, I think. It can run pretty long (measured in days) with wifi off but only a few hours with wifi on (on my 1000 mAh battery).

Suspend is possible. On sample image there is suspend (bash) script. I didn't provide method to call it and I didn't test it deeply - you can add it to the menu for example (editing awesome.lua config file).
Thanks for reply. I have another questions about sd card life. Do you limit swap or write acces into card? Forexample firefox make a lot of files while you browse web.
mastnacek is offline   Reply With Quote
Old 09-18-2013, 05:23 AM   #11
DixieMcCoy
Junior Member
DixieMcCoy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2013
Device: none
Thumbs up Photographs, video?

Hello, I was wondering if you could provide photographs and perhaps video of the functionality you have so far with the kernel and its modules with the Kobo Mini / any other models you have this working on.

I'm a software guy who is in the process of migrating 100% to Linux. I could really use a machine with e-ink display with USB keyboard and battery installed into an old Thinkpad 240 chassis. Problem is, I'm not sure if Kobo Mini is the right e-ink reader to use for this purpose (Kindle might be of better size for using gnu screen and switching between ttys, but I'm not sure if linux for kindle has x support)

So if you wouldn't mind could you take pictures and maybe even make a little video and post it on youtube?


I would greatly appreciate it! Thanks in advance for the awesome work and hopefully I can join on in the action.
DixieMcCoy is offline   Reply With Quote
Old 09-19-2013, 12:16 PM   #12
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: 911
Karma: 149881
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Quote:
Originally Posted by MarekGibek View Post
Now I'm back with the necessary kernel changes needed to install Debian on your Kobos:
https://github.com/marek-g/kobo-kernel-2.6.35.3-marek
How much extra configuration is needed to run in on Kobo Aura HD?
Markismus is offline   Reply With Quote
Old 09-20-2013, 04:33 AM   #13
mastnacek
Enthusiast
mastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-booksmastnacek has learned how to read e-books
 
Posts: 35
Karma: 946
Join Date: Mar 2013
Device: Kobo Mini
Can sobebody with working Kobo Mini upload image? Please
mastnacek is offline   Reply With Quote
Old 09-20-2013, 04:46 PM   #14
freekobo
Addict
freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.
 
freekobo's Avatar
 
Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
You know what would be really cool?
Something like this for our Kobos

http://www.youtube.com/watch?v=mXiiaprv3do
http://www.youtube.com/watch?v=J_AcgYhoivA
http://www.youtube.com/watch?v=k7ydDBxnL8w
http://www.youtube.com/watch?v=XQJGfU8fEUg
http://www.youtube.com/watch?v=lgb6sVT6OYY

too bad we don't have android

Last edited by freekobo; 09-20-2013 at 04:54 PM.
freekobo is offline   Reply With Quote
Old 09-22-2013, 04:17 PM   #15
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 Markismus View Post
How much extra configuration is needed to run in on Kobo Aura HD?
You could probably follow the method in this post for the Aura HD.

Quote:
Originally Posted by freekobo View Post
I've seen those videos before, and I kind of like the idea of running emulators on an e-ink display. If you set up a debian chroot on your Kobo, such as this thread details, you can install a gameboy emulator with "apt-get install gnuboy-x". Of course, without a keyboard there's no way to control it. I wrote some proof-of-concept software some time ago to detect touch input and simulate keyboard presses for the gnuboy gameboy emulator, but it would need more polishing before it would be useful.
KevinShort is offline   Reply With Quote
Reply

Tags
eink autoupdate, kobo, linux, source code, x11


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo as a Linux tablet - sample image MarekGibek Kobo Developer's Corner 114 06-11-2021 11:13 PM
Debian chroot for Kobo ah- Kobo Developer's Corner 17 04-29-2018 06:41 PM
Installing a "normal" Debian ARMEL Linux on the Kindle choff Kindle Developer's Corner 18 09-09-2014 03:42 AM
Install in Bubba server (Debian Linux bubba 2.6.32.6) cc_humbry Calibre 5 07-24-2010 12:22 PM
Poll Says a Low-Priced Tablet Will Turn the Masses on to E-Reading Jaime_Astorga News 22 05-18-2010 10:00 AM


All times are GMT -4. The time now is 01:44 AM.


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