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 01-14-2013, 10:58 AM   #1
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
Low-level access to Kobo eink panel

I've started hacking on the screen level on the Kobo platform.
It seems all the code we need to drive the panel is in the kernel source, under linux-2.6.35.3/drivers/video/mxc; in particular the relevant files are attached to this post.
"epdfb_dc.c" is already compilable as a stand-alone program, provided you add a "main" function to it.
I'm trying to do something useful with those functions but I haven't figured out yet how to use them. I'm sharing the info in case someone else wants to work on this.
Attached Files
File Type: zip epdfb_dc.zip (44.9 KB, 446 views)
giorgio130 is offline   Reply With Quote
Old 01-14-2013, 07:51 PM   #2
iToast
Junior Member
iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!iToast , Klaatu Barada Niktu!
 
Posts: 9
Karma: 5410
Join Date: Dec 2012
Device: Kobo Mini
_fb_gray_8to4 seems to convert a 8 bit buffer data object into a 4 bit one for older 4 bit kobos.

_fb_Gray4toRGB565 seems to convert it to RGB (why?)

_fb_Gray8toRGB565 as well but for a 8 bit FB

_fb_RGB565toGray4 as well but for a 4 bit FB

_fb_gray_4to8 Convert a gray 4 bit buffer to a 8 bit one for a kobo with a 8 bit FB

epdfbdc_create_ex2 seems to create a FB from a data stream?

epdfbdc_create_ex Does the above?

epdfbdc_create Does the above?

epdfbdc_delete destroys frame buffer

epdfbdc_fbimg_normallize normalizes a FB

_pixel_value_convert converts a pixel value (used for converting FB?)

_epdfbdc_get_dcimg_ptr ??? May convert image to FB?

_epdfbdc_get_img_pixelvalue_from_ptr get pixel data from pointer

_epdfbdc_set_dcpixel_at_ptr Change pixel data with pointer

_epdfbdc_get_img_pixelvalue Gets pixel values of whole image and returns them for use to print to screen?

_epdfbdc_set_pixel sets pixel in provided FB?

epdfbdc_put_fbimg push's image to frame buffer

epdfbdc_get_rotate_active checks if rotating FB

epdfbdc_set_pixel set pixel in FB

epdfbdc_dcbuf_to_RGB565 ???

epdfbdc_get_dirty_region used for dirty region update method

epdfbdc_rotate rotates FB?

epdfbdc_set_host_dataswap Creates swap for FB?

epdfbdc_set_drive_dataswap repeated?

epdfbdc_set_skip_pixel sets pixel to skip?



All of them also seem to put a debug out possibly on the internal serial connector. Probably for debug during development
iToast is offline   Reply With Quote
Advert
Old 01-15-2013, 10:56 PM   #3
auspex
Groupie
auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.
 
auspex's Avatar
 
Posts: 199
Karma: 1071756
Join Date: Sep 2012
Location: Nova Scotia
Device: Kobo Aura, Nexus 5x
Quote:
Originally Posted by iToast View Post
_fb_Gray4toRGB565 seems to convert it to RGB (why?)
Is the question why you need to convert from Gray-scale, or why to RGB? As I understand it, images are actually in RGB.
auspex is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can eink readers access shared Windows files? fsvum Which one should I buy? 9 11-09-2011 04:15 PM
Replace Kindle 3 eInk panel firmware from Nook? khmann Kindle Developer's Corner 2 08-09-2011 06:32 AM
Buy 6" eink panel, any model sck Flea Market 2 06-14-2011 06:19 AM
PRS-300 Contrast level comparing to Kobo hahahut Sony Reader 3 08-15-2010 08:39 AM
Kobo Firmware Access and Early Access Program PeterT Kobo Reader 115 08-09-2010 08:06 PM


All times are GMT -4. The time now is 10:38 PM.


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